Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.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) 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(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Media_Examples_Tests_MediaTestModels_LinearFluid_LinearColdWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Media_Examples_Tests_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.001575/0.001575, allocations: 188.9 kB / 16.4 MB, free: 5.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.009/2.009, allocations: 205.4 MB / 222.5 MB, free: 13.84 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.001143/0.001143, allocations: 98.84 kB / 270.9 MB, free: 13.38 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000526/0.0005261, allocations: 12 kB / 327.1 MB, free: 15 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09744/0.09801, allocations: 47.59 MB / 374.7 MB, free: 15.34 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater): time 0.01982/0.1179, allocations: 10.61 MB / 385.3 MB, free: 4.688 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00368/0.1216, allocations: 1.423 MB / 386.7 MB, free: 3.262 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003865/0.1221, allocations: 0 / 386.7 MB, free: 3.262 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007512/0.1229, allocations: 139.3 kB / 386.8 MB, free: 3.125 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007911/0.1237, allocations: 211.4 kB / 387 MB, free: 2.918 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001048/0.1247, allocations: 227.5 kB / 387.2 MB, free: 2.695 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001018/0.1258, allocations: 459.1 kB / 387.7 MB, free: 2.246 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002458/0.1261, allocations: 72.67 kB / 387.8 MB, free: 2.172 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001161/0.1272, allocations: 346.9 kB / 388.1 MB, free: 1.832 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004335/0.1277, allocations: 167.3 kB / 388.3 MB, free: 1.668 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 7.657e-05/0.1278, allocations: 16 kB / 388.3 MB, free: 1.652 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001964/0.128, allocations: 20 kB / 388.3 MB, free: 1.633 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001341/0.1281, allocations: 67.78 kB / 388.4 MB, free: 1.566 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001403/0.1283, allocations: 89.58 kB / 388.5 MB, free: 1.473 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005519/0.1289, allocations: 331.4 kB / 388.8 MB, free: 1.148 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.1289, allocations: 0 / 388.8 MB, free: 1.148 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.024e-06/0.1289, allocations: 4 kB / 388.8 MB, free: 1.145 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.463e-06/0.1289, allocations: 0 / 388.8 MB, free: 1.145 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001208/0.1301, allocations: 0.5145 MB / 389.3 MB, free: 0.582 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.291e-05/0.1302, allocations: 20.02 kB / 389.3 MB, free: 0.5625 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001168/0.1303, allocations: 62.48 kB / 389.4 MB, free: 0.4922 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003665/0.1307, allocations: 43.61 kB / 389.4 MB, free: 460 kB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005054/0.1312, allocations: 262.6 kB / 389.7 MB, free: 156 kB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.925e-05/0.1313, allocations: 20.56 kB / 389.7 MB, free: 136 kB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.943e-05/0.1314, allocations: 27.95 kB / 389.7 MB, free: 108 kB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3441/0.4755, allocations: 293.3 kB / 390 MB, free: 22.28 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.505e-05/0.4756, allocations: 3.219 kB / 390 MB, free: 22.28 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.639e-05/0.4757, allocations: 11.22 kB / 390 MB, free: 22.28 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.681e-05/0.4757, allocations: 6.812 kB / 390 MB, free: 22.28 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008299/0.4765, allocations: 197.7 kB / 390.2 MB, free: 22.28 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003385/0.48, allocations: 1.433 MB / 391.7 MB, free: 21.27 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007251/0.4807, allocations: 177.3 kB / 391.8 MB, free: 21.24 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.794e-05/0.4808, allocations: 6.781 kB / 391.8 MB, free: 21.24 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.983e-05/0.4809, allocations: 35.59 kB / 391.9 MB, free: 21.2 MB / 282.7 MB Notification: Performance of pre-optimization done (n=21): time 4.038e-06/0.4809, allocations: 0 / 391.9 MB, free: 21.2 MB / 282.7 MB Notification: Performance of matching and sorting (n=26): time 0.005209/0.4861, allocations: 1.01 MB / 392.9 MB, free: 20.67 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.583e-05/0.4862, allocations: 57.56 kB / 392.9 MB, free: 20.61 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005135/0.4867, allocations: 261.5 kB / 393.2 MB, free: 20.45 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.75e-05/0.4868, allocations: 34.7 kB / 393.2 MB, free: 20.41 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001449/0.487, allocations: 231.9 kB / 393.5 MB, free: 20.2 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001168/0.4871, allocations: 98.48 kB / 393.6 MB, free: 20.13 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.419e-05/0.4871, allocations: 5.344 kB / 393.6 MB, free: 20.12 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.483e-05/0.4872, allocations: 321.7 kB / 393.9 MB, free: 19.81 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000341/0.4876, allocations: 87.03 kB / 394 MB, free: 19.77 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004178/0.488, allocations: 181.3 kB / 394.1 MB, free: 19.62 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004078/0.4885, allocations: 107.4 kB / 394.2 MB, free: 19.58 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.018e-06/0.4885, allocations: 1.375 kB / 394.2 MB, free: 19.58 MB / 282.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.00153/0.49, allocations: 374.9 kB / 394.6 MB, free: 19.4 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.256e-05/0.4901, allocations: 6.156 kB / 394.6 MB, free: 19.4 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.5e-05/0.4901, allocations: 2.938 kB / 394.6 MB, free: 19.4 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005372/0.4907, allocations: 71 kB / 394.7 MB, free: 19.37 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007858/0.4915, allocations: 72.16 kB / 394.8 MB, free: 19.36 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003782/0.4953, allocations: 2.692 MB / 397.4 MB, free: 16.66 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007555/0.4961, allocations: 17.16 kB / 397.5 MB, free: 16.66 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.86e-05/0.4962, allocations: 18.41 kB / 397.5 MB, free: 16.66 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 37 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0003181/0.4965, allocations: 155.1 kB / 397.6 MB, free: 16.51 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001295/0.4967, allocations: 30.02 kB / 397.7 MB, free: 16.5 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001308/0.4968, allocations: 35.84 kB / 397.7 MB, free: 16.47 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.504e-06/0.4968, allocations: 3.031 kB / 397.7 MB, free: 16.47 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.374e-05/0.4969, allocations: 0 / 397.7 MB, free: 16.47 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001252/0.4981, allocations: 0.5668 MB / 398.3 MB, free: 15.95 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002349/0.5005, allocations: 0.7033 MB / 399 MB, free: 15.46 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.424e-06/0.5006, allocations: 0.9688 kB / 399 MB, free: 15.46 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005469/0.5011, allocations: 47.28 kB / 399 MB, free: 15.45 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006637/0.5018, allocations: 59.09 kB / 399.1 MB, free: 15.43 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.672e-05/0.5019, allocations: 7.562 kB / 399.1 MB, free: 15.43 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002084/0.504, allocations: 1.398 MB / 400.5 MB, free: 14.06 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.689e-06/0.504, allocations: 3.188 kB / 400.5 MB, free: 14.06 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001717/0.5058, allocations: 481.4 kB / 401 MB, free: 13.75 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001808/0.506, allocations: 96.62 kB / 401 MB, free: 13.65 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.991e-05/0.5061, allocations: 8.203 kB / 401.1 MB, free: 13.64 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005713/0.5067, allocations: 19.03 kB / 401.1 MB, free: 13.63 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001062/0.5068, allocations: 18.48 kB / 401.1 MB, free: 13.63 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.47e-05/0.5069, allocations: 9.438 kB / 401.1 MB, free: 13.63 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003965/0.5073, allocations: 188.8 kB / 401.3 MB, free: 13.52 MB / 282.7 MB Notification: Performance of sort global known variables: time 5.81e-07/0.5073, allocations: 4.062 kB / 401.3 MB, free: 13.51 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001081/0.5084, allocations: 88.38 kB / 401.4 MB, free: 13.5 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 23 * 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: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002081/0.5105, allocations: 1.094 MB / 402.5 MB, free: 12.59 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.00167/0.5122, allocations: 465.2 kB / 402.9 MB, free: 12.28 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 7.014e-06/0.5123, allocations: 0.8125 kB / 402.9 MB, free: 12.28 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008591/0.5132, allocations: 239 kB / 403.2 MB, free: 12.12 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002353/0.5155, allocations: 151.5 kB / 403.3 MB, free: 12.08 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007017/0.5226, allocations: 3.694 MB / 407 MB, free: 9.121 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003868/0.5231, allocations: 0.7767 MB / 407.8 MB, free: 8.414 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003372/0.5234, allocations: 90.23 kB / 407.9 MB, free: 8.355 MB / 282.7 MB Notification: Performance of SimCode: time 1.252e-06/0.5234, allocations: 0 / 407.9 MB, free: 8.355 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.765/3.288, allocations: 7.041 MB / 414.9 MB, free: 5.715 MB / 282.7 MB (rm -f Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Media_Examples_Tests_MediaTestModels_LinearFluid_LinearColdWater_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_cpp_Modelica_Media_Examples_Tests_MediaTestModels_LinearFluid_LinearColdWater.fmu > Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater_res.mat does not exist to compare? outputFormat=mat