Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearColdWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearColdWater",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001115/0.001115, allocations: 183.6 kB / 13.19 MB, free: 2.129 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.745/1.745, allocations: 205.2 MB / 218.9 MB, free: 9.207 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008499/0.0008499, allocations: 95.81 kB / 267.1 MB, free: 9.273 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4659/0.4659, allocations: 43.47 MB / 358.6 MB, free: 51.61 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.264e-05/3.267e-05, allocations: 0 / 425.4 MB, free: 8.105 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.153/0.153, allocations: 58.84 MB / 484.3 MB, free: 13.16 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.264/1.417, allocations: 420.3 MB / 0.8834 GB, free: 6.688 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004482/1.418, allocations: 95.39 kB / 0.8835 GB, free: 6.637 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.6209/2.039, allocations: 119.3 MB / 1 GB, free: 110 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.964e-06/2.039, allocations: 0 / 1 GB, free: 110 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 5.48e-05/2.039, allocations: 23.91 kB / 1 GB, free: 110 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.002018/2.041, allocations: 0.9779 MB / 1.001 GB, free: 109 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.134e-05/2.041, allocations: 11.97 kB / 1.001 GB, free: 109 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001116/2.041, allocations: 94.73 kB / 1.001 GB, free: 108.9 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003081/2.042, allocations: 91.05 kB / 1.001 GB, free: 108.8 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009241/2.043, allocations: 0.5397 MB / 1.002 GB, free: 108.2 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.397e-05/2.043, allocations: 100.3 kB / 1.002 GB, free: 108.1 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.392e-05/2.043, allocations: 55.91 kB / 1.002 GB, free: 108.1 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001043/2.044, allocations: 0.8049 MB / 1.003 GB, free: 107.2 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.832e-05/2.044, allocations: 3.938 kB / 1.003 GB, free: 107.2 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.359e-05/2.044, allocations: 27.91 kB / 1.003 GB, free: 107.2 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.254e-05/2.044, allocations: 36.98 kB / 1.003 GB, free: 107.1 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008161/2.045, allocations: 0.6245 MB / 1.003 GB, free: 106.5 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003654/2.048, allocations: 3.93 MB / 1.007 GB, free: 102.4 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007289/2.049, allocations: 401 kB / 1.008 GB, free: 102 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002515/2.049, allocations: 197.5 kB / 1.008 GB, free: 101.8 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004219/2.05, allocations: 0.499 MB / 1.008 GB, free: 101.2 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.842e-05/2.05, allocations: 42.88 kB / 1.008 GB, free: 101.1 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=40): time 4.288e-06/2.05, allocations: 0 / 1.008 GB, free: 101.1 MB / 0.5105 GB Notification: Performance of matching and sorting (n=45): time 0.002634/2.053, allocations: 1.329 MB / 1.01 GB, free: 99.75 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.25e-05/2.053, allocations: 136.5 kB / 1.01 GB, free: 99.59 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005143/2.053, allocations: 0.4891 MB / 1.01 GB, free: 99.09 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.931e-05/2.053, allocations: 37.7 kB / 1.01 GB, free: 99.05 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001647/2.053, allocations: 350.9 kB / 1.011 GB, free: 98.7 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 9.244e-05/2.053, allocations: 173.6 kB / 1.011 GB, free: 98.53 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.908e-05/2.053, allocations: 12 kB / 1.011 GB, free: 98.52 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001003/2.054, allocations: 378.7 kB / 1.011 GB, free: 98.14 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002782/2.054, allocations: 209.5 kB / 1.011 GB, free: 97.94 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004148/2.054, allocations: 0.5024 MB / 1.012 GB, free: 97.3 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003764/2.055, allocations: 309.4 kB / 1.012 GB, free: 97 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/2.055, allocations: 4 kB / 1.012 GB, free: 96.99 MB / 0.5105 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001364/2.056, allocations: 0.9058 MB / 1.013 GB, free: 96.07 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.047e-05/2.056, allocations: 11.94 kB / 1.013 GB, free: 96.06 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.201e-05/2.056, allocations: 8 kB / 1.013 GB, free: 96.05 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009762/2.057, allocations: 261.4 kB / 1.013 GB, free: 95.8 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003891/2.058, allocations: 139.7 kB / 1.013 GB, free: 95.66 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008497/2.058, allocations: 0.8473 MB / 1.014 GB, free: 94.79 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006404/2.059, allocations: 51.94 kB / 1.014 GB, free: 94.74 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.273e-05/2.059, allocations: 36 kB / 1.014 GB, free: 94.7 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 14} Notification: Performance of prepare postOptimizeDAE: time 0.0001906/2.059, allocations: 156.7 kB / 1.014 GB, free: 94.54 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.812e-05/2.059, allocations: 63.25 kB / 1.014 GB, free: 94.48 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001406/2.061, allocations: 0.692 MB / 1.015 GB, free: 93.77 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.191e-05/2.061, allocations: 4 kB / 1.015 GB, free: 93.77 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.064e-05/2.061, allocations: 3.953 kB / 1.015 GB, free: 93.77 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.708e-06/2.061, allocations: 11.92 kB / 1.015 GB, free: 93.75 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002053/2.063, allocations: 1.363 MB / 1.016 GB, free: 92.32 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.424e-06/2.063, allocations: 4.219 kB / 1.016 GB, free: 92.32 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008915/2.064, allocations: 195.7 kB / 1.017 GB, free: 92.12 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002379/2.064, allocations: 60.69 kB / 1.017 GB, free: 92.06 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.534e-05/2.064, allocations: 12 kB / 1.017 GB, free: 92.05 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001733/2.066, allocations: 2.778 MB / 1.019 GB, free: 89 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.35e-06/2.066, allocations: 11.92 kB / 1.019 GB, free: 88.99 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001372/2.067, allocations: 1.046 MB / 1.02 GB, free: 87.86 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000313/2.068, allocations: 200.2 kB / 1.021 GB, free: 87.64 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.813e-05/2.068, allocations: 11.98 kB / 1.021 GB, free: 87.63 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004142/2.068, allocations: 32.05 kB / 1.021 GB, free: 87.6 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.916e-05/2.068, allocations: 31.95 kB / 1.021 GB, free: 87.57 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.377e-05/2.068, allocations: 19.98 kB / 1.021 GB, free: 87.55 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0005094/2.069, allocations: 389.5 kB / 1.021 GB, free: 87.18 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.665e-06/2.069, allocations: 4 kB / 1.021 GB, free: 87.17 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001091/2.07, allocations: 227.9 kB / 1.021 GB, free: 86.95 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (47): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002162/2.072, allocations: 2.229 MB / 1.024 GB, free: 84.66 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.00111/2.073, allocations: 0.5891 MB / 1.024 GB, free: 84.07 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.988e-06/2.073, allocations: 0 / 1.024 GB, free: 84.07 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0009821/2.074, allocations: 458.3 kB / 1.025 GB, free: 83.61 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001569/2.076, allocations: 314.9 kB / 1.025 GB, free: 83.31 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00238/2.078, allocations: 1.185 MB / 1.026 GB, free: 82.07 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003734/2.079, allocations: 0.9505 MB / 1.027 GB, free: 81.09 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0006991/2.079, allocations: 205.7 kB / 1.027 GB, free: 80.88 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002914/2.08, allocations: 235.3 kB / 1.027 GB, free: 80.65 MB / 0.5105 GB Notification: Performance of SimCode: time 1.553e-06/2.08, allocations: 0 / 1.027 GB, free: 80.65 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03775/2.117, allocations: 20.28 MB / 1.047 GB, free: 60.41 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001803/2.118, allocations: 254.8 kB / 1.047 GB, free: 60.07 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.801/4.919, allocations: 0 / 1.047 GB, free: 60.07 MB / 0.5105 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearColdWater_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearColdWater.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater_res.mat does not exist to compare? outputFormat=mat