Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_cpp_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_cpp_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.001646/0.001651, allocations: 187 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.089/2.089, allocations: 205.4 MB / 222.5 MB, free: 13.85 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.001124/0.001124, allocations: 102.8 kB / 270.9 MB, free: 13.38 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2867/0.2867, allocations: 43.56 MB / 362.7 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004895/0.0004897, allocations: 12 kB / 431.5 MB, free: 20.16 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1203/0.1208, allocations: 58.86 MB / 490.3 MB, free: 9.211 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater): time 0.02352/0.1444, allocations: 14.22 MB / 0.4927 GB, free: 10.94 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.01044/0.1549, allocations: 4.087 MB / 0.4967 GB, free: 6.848 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009887/0.156, allocations: 23.81 kB / 0.4967 GB, free: 6.824 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001311/0.1573, allocations: 262.7 kB / 0.497 GB, free: 6.566 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003062/0.1604, allocations: 0.7009 MB / 0.4977 GB, free: 5.863 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003229/0.1636, allocations: 0.6899 MB / 0.4983 GB, free: 5.172 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.002439/0.1661, allocations: 1.024 MB / 0.4993 GB, free: 4.145 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008722/0.167, allocations: 373.6 kB / 0.4997 GB, free: 3.773 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001864/0.1689, allocations: 0.6347 MB / 0.5003 GB, free: 3.137 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009613/0.1699, allocations: 430.5 kB / 0.5007 GB, free: 2.715 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001386/0.17, allocations: 32 kB / 0.5008 GB, free: 2.684 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001062/0.1711, allocations: 235.8 kB / 0.501 GB, free: 2.453 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003533/0.1715, allocations: 215.4 kB / 0.5012 GB, free: 2.242 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002753/0.1718, allocations: 161.4 kB / 0.5013 GB, free: 2.078 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001474/0.1732, allocations: 0.7598 MB / 0.5021 GB, free: 1.316 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.905e-06/0.1733, allocations: 0 / 0.5021 GB, free: 1.316 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.984e-06/0.1733, allocations: 0 / 0.5021 GB, free: 1.316 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.307e-05/0.1733, allocations: 0 / 0.5021 GB, free: 1.316 MB / 346.7 MB 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.002944/0.1763, allocations: 0.9231 MB / 0.503 GB, free: 352 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.716e-05/0.1763, allocations: 12.03 kB / 0.503 GB, free: 340 kB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002088/0.1765, allocations: 98.45 kB / 0.5031 GB, free: 232 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004615/0.177, allocations: 91.08 kB / 0.5032 GB, free: 140 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001253/0.1783, allocations: 496.6 kB / 0.5037 GB, free: 15.61 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000145/0.1784, allocations: 100.4 kB / 0.5038 GB, free: 15.5 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001383/0.1786, allocations: 55.92 kB / 0.5038 GB, free: 15.45 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002038/0.1806, allocations: 0.8182 MB / 0.5046 GB, free: 14.55 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.906e-05/0.1807, allocations: 0 / 0.5046 GB, free: 14.55 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001093/0.1808, allocations: 20 kB / 0.5046 GB, free: 14.54 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001019/0.1809, allocations: 40.92 kB / 0.5047 GB, free: 14.49 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001904/0.1828, allocations: 0.6439 MB / 0.5053 GB, free: 13.85 MB / 362.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007975/0.1908, allocations: 4.252 MB / 0.5094 GB, free: 9.305 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001466/0.1923, allocations: 415.9 kB / 0.5098 GB, free: 8.891 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000671/0.193, allocations: 0.5029 MB / 0.5103 GB, free: 8.277 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.5e-05/0.1931, allocations: 38.89 kB / 0.5104 GB, free: 8.23 MB / 362.7 MB Notification: Performance of pre-optimization done (n=40): time 3.006e-06/0.1931, allocations: 0 / 0.5104 GB, free: 8.23 MB / 362.7 MB Notification: Performance of matching and sorting (n=45): time 0.005408/0.1985, allocations: 1.519 MB / 0.5119 GB, free: 6.66 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.631e-05/0.1987, allocations: 144.5 kB / 0.512 GB, free: 6.488 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00107/0.1998, allocations: 0.5653 MB / 0.5125 GB, free: 5.914 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 7.835e-05/0.1999, allocations: 33.7 kB / 0.5126 GB, free: 5.875 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003405/0.2002, allocations: 389.5 kB / 0.5129 GB, free: 5.492 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002065/0.2004, allocations: 165.7 kB / 0.5131 GB, free: 5.328 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.851e-05/0.2005, allocations: 16 kB / 0.5131 GB, free: 5.312 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001674/0.2007, allocations: 338.8 kB / 0.5134 GB, free: 4.973 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007043/0.2014, allocations: 217.9 kB / 0.5136 GB, free: 4.762 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009588/0.2024, allocations: 0.5162 MB / 0.5142 GB, free: 4.109 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008715/0.2033, allocations: 312.6 kB / 0.5145 GB, free: 3.805 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.596e-06/0.2033, allocations: 4 kB / 0.5145 GB, free: 3.801 MB / 362.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.003295/0.2066, allocations: 0.9299 MB / 0.5154 GB, free: 2.859 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.688e-05/0.2067, allocations: 12 kB / 0.5154 GB, free: 2.848 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.869e-05/0.2067, allocations: 8 kB / 0.5154 GB, free: 2.84 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00191/0.2086, allocations: 268.6 kB / 0.5156 GB, free: 2.578 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008756/0.2095, allocations: 127.8 kB / 0.5158 GB, free: 2.453 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001599/0.2111, allocations: 0.8671 MB / 0.5166 GB, free: 1.562 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009437/0.2121, allocations: 44.05 kB / 0.5166 GB, free: 1.52 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001025/0.2122, allocations: 43.88 kB / 0.5167 GB, free: 1.477 MB / 362.7 MB 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 () * Number of clocked 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.0005339/0.2128, allocations: 245.1 kB / 0.5169 GB, free: 1.23 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001618/0.2129, allocations: 67.25 kB / 0.517 GB, free: 1.164 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002326/0.2153, allocations: 0.7131 MB / 0.5177 GB, free: 452 kB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.059e-05/0.2153, allocations: 11.95 kB / 0.5177 GB, free: 440 kB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.498e-06/0.2154, allocations: 0 / 0.5177 GB, free: 440 kB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.05e-05/0.2154, allocations: 7.922 kB / 0.5177 GB, free: 432 kB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3133/0.5287, allocations: 1.417 MB / 0.5191 GB, free: 45.42 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.064e-05/0.5288, allocations: 2.562 kB / 0.5191 GB, free: 45.42 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001982/0.5308, allocations: 187.8 kB / 0.5193 GB, free: 45.42 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005528/0.5314, allocations: 63.19 kB / 0.5193 GB, free: 45.41 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001091/0.5315, allocations: 17.52 kB / 0.5193 GB, free: 45.41 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003152/0.5347, allocations: 2.805 MB / 0.5221 GB, free: 42.85 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/0.5347, allocations: 1.156 kB / 0.5221 GB, free: 42.85 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002701/0.5374, allocations: 1.073 MB / 0.5231 GB, free: 42.41 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005446/0.538, allocations: 209 kB / 0.5233 GB, free: 42.29 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001528/0.5382, allocations: 12.34 kB / 0.5233 GB, free: 42.28 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007302/0.5389, allocations: 26.89 kB / 0.5234 GB, free: 42.27 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001738/0.5391, allocations: 42.5 kB / 0.5234 GB, free: 42.26 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.505e-05/0.5392, allocations: 21.11 kB / 0.5234 GB, free: 42.26 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0007752/0.54, allocations: 391.3 kB / 0.5238 GB, free: 42.08 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.5e-07/0.54, allocations: 1.344 kB / 0.5238 GB, free: 42.08 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001379/0.5414, allocations: 206.6 kB / 0.524 GB, free: 42.06 MB / 362.7 MB 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 () * Number of clocked 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.003561/0.545, allocations: 2.22 MB / 0.5262 GB, free: 40.42 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002079/0.5471, allocations: 0.6015 MB / 0.5268 GB, free: 40.21 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 8.065e-06/0.5472, allocations: 1.156 kB / 0.5268 GB, free: 40.21 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002117/0.5493, allocations: 473.8 kB / 0.5272 GB, free: 40 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002899/0.5523, allocations: 319.7 kB / 0.5275 GB, free: 39.94 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01291/0.5652, allocations: 10.54 MB / 0.5378 GB, free: 31.38 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006654/0.5659, allocations: 0.9471 MB / 0.5387 GB, free: 30.64 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006262/0.5666, allocations: 240.1 kB / 0.539 GB, free: 30.48 MB / 362.7 MB Notification: Performance of SimCode: time 1.042e-06/0.5666, allocations: 0 / 0.539 GB, free: 30.48 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.277/3.844, allocations: 17.91 MB / 0.5565 GB, free: 19.7 MB / 362.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearColdWater_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearColdWater.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater_res.mat does not exist to compare? outputFormat=mat