Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.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.Incompressible.Essotherm650,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Incompressible_Essotherm650",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Incompressible_Essotherm650",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.00121/0.001211, allocations: 172.8 kB / 16.72 MB, free: 5.082 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.427/1.427, allocations: 205.4 MB / 222.9 MB, free: 9.035 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.000828/0.0008281, allocations: 89.02 kB / 271.2 MB, free: 8.25 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.3557/0.3557, allocations: 43.57 MB / 363.1 MB, free: 51.96 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004041/0.0004043, allocations: 12 kB / 432.1 MB, free: 5.488 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1039/0.1043, allocations: 58.86 MB / 490.9 MB, free: 10.54 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650): time 0.2109/0.3152, allocations: 28.17 MB / 0.5069 GB, free: 30.71 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0051/0.3204, allocations: 4.422 MB / 0.5113 GB, free: 27.6 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000778/0.3212, allocations: 22.5 kB / 0.5113 GB, free: 27.59 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007252/0.3219, allocations: 237.6 kB / 0.5115 GB, free: 27.46 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:788:36-789:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:786:36-787:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:734:36-735:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:732:36-733:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.003681/0.3256, allocations: 1.654 MB / 0.5131 GB, free: 26.74 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002847/0.3285, allocations: 1.273 MB / 0.5144 GB, free: 26.23 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.002159/0.3306, allocations: 2.25 MB / 0.5166 GB, free: 25.39 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005586/0.3312, allocations: 412.4 kB / 0.517 GB, free: 25.27 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005172/0.3364, allocations: 3.565 MB / 0.5204 GB, free: 24.64 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001896/0.3383, allocations: 1.437 MB / 0.5218 GB, free: 24.34 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001586/0.3385, allocations: 33.41 kB / 0.5219 GB, free: 24.34 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002623/0.3411, allocations: 1.432 MB / 0.5233 GB, free: 24.06 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003198/0.3414, allocations: 241.3 kB / 0.5235 GB, free: 23.98 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004945/0.3419, allocations: 377.2 kB / 0.5239 GB, free: 23.77 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001332/0.3433, allocations: 1.087 MB / 0.5249 GB, free: 23.52 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.3433, allocations: 0 / 0.5249 GB, free: 23.52 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.943e-06/0.3433, allocations: 0 / 0.5249 GB, free: 23.52 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.014e-05/0.3433, allocations: 0 / 0.5249 GB, free: 23.52 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 133 * Number of variables: 133 Notification: Performance of Generate backend data structure: time 0.00181/0.3451, allocations: 0.9956 MB / 0.5259 GB, free: 22.82 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.791e-05/0.3452, allocations: 13.62 kB / 0.5259 GB, free: 22.81 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001139/0.3453, allocations: 98.12 kB / 0.526 GB, free: 22.74 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008669/0.3462, allocations: 150.2 kB / 0.5261 GB, free: 22.69 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006113/0.3468, allocations: 0.5124 MB / 0.5266 GB, free: 22.33 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.687e-05/0.3469, allocations: 101.2 kB / 0.5267 GB, free: 22.25 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.003e-05/0.347, allocations: 54.08 kB / 0.5268 GB, free: 22.23 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001111/0.3481, allocations: 0.83 MB / 0.5276 GB, free: 21.76 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.85e-05/0.3481, allocations: 10.92 kB / 0.5276 GB, free: 21.75 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.446e-05/0.3482, allocations: 25.64 kB / 0.5276 GB, free: 21.73 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.58e-05/0.3483, allocations: 37.52 kB / 0.5277 GB, free: 21.73 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000956/0.3492, allocations: 0.6024 MB / 0.5283 GB, free: 21.52 MB / 378.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.003892/0.3531, allocations: 4.907 MB / 0.5331 GB, free: 17.32 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005365/0.3537, allocations: 323.5 kB / 0.5334 GB, free: 17.19 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001872/0.3539, allocations: 140.5 kB / 0.5335 GB, free: 17.14 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003302/0.3542, allocations: 0.6072 MB / 0.5341 GB, free: 16.47 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.413e-05/0.3543, allocations: 37.72 kB / 0.5341 GB, free: 16.43 MB / 378.7 MB Notification: Performance of pre-optimization done (n=30): time 1.914e-06/0.3543, allocations: 0 / 0.5341 GB, free: 16.43 MB / 378.7 MB Notification: Performance of matching and sorting (n=36): time 0.003496/0.3578, allocations: 1.531 MB / 0.5356 GB, free: 15.59 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.55e-05/0.3578, allocations: 135.4 kB / 0.5358 GB, free: 15.43 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007527/0.3586, allocations: 0.6532 MB / 0.5364 GB, free: 15.14 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.952e-05/0.3586, allocations: 36.42 kB / 0.5364 GB, free: 15.1 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002135/0.3588, allocations: 390.1 kB / 0.5368 GB, free: 14.78 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.034e-05/0.3589, allocations: 133.5 kB / 0.5369 GB, free: 14.68 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.154e-05/0.359, allocations: 14.09 kB / 0.5369 GB, free: 14.67 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001145/0.3591, allocations: 377.1 kB / 0.5373 GB, free: 14.33 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003524/0.3595, allocations: 209.5 kB / 0.5375 GB, free: 14.25 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004372/0.3599, allocations: 0.4971 MB / 0.538 GB, free: 13.8 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000771/0.3607, allocations: 0.708 MB / 0.5387 GB, free: 13.23 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.3e-06/0.3607, allocations: 3.219 kB / 0.5387 GB, free: 13.23 MB / 378.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.00126/0.362, allocations: 0.8612 MB / 0.5395 GB, free: 12.86 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.051e-05/0.362, allocations: 9.016 kB / 0.5395 GB, free: 12.86 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.505e-05/0.362, allocations: 15.25 kB / 0.5395 GB, free: 12.86 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001225/0.3632, allocations: 286.5 kB / 0.5398 GB, free: 12.79 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003428/0.3636, allocations: 126.5 kB / 0.5399 GB, free: 12.78 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009629/0.3646, allocations: 1.404 MB / 0.5413 GB, free: 11.58 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000461/0.365, allocations: 33.7 kB / 0.5413 GB, free: 11.57 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.256e-05/0.3651, allocations: 45.31 kB / 0.5414 GB, free: 11.56 MB / 378.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 (70): * Single equations (assignments): 68 * 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: 0 * Non-linear torn systems: 2 {1 4,1 14} Notification: Performance of prepare postOptimizeDAE: time 0.0002798/0.3654, allocations: 249.7 kB / 0.5416 GB, free: 11.38 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.389e-05/0.3655, allocations: 68.34 kB / 0.5417 GB, free: 11.34 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001417/0.3669, allocations: 0.6515 MB / 0.5423 GB, free: 11.05 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.913e-06/0.3669, allocations: 7.688 kB / 0.5423 GB, free: 11.05 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.367, allocations: 1.703 kB / 0.5423 GB, free: 11.05 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.344e-06/0.367, allocations: 1.781 kB / 0.5423 GB, free: 11.05 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001998/0.369, allocations: 1.223 MB / 0.5435 GB, free: 10.38 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.369e-06/0.369, allocations: 1.25 kB / 0.5435 GB, free: 10.38 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001699/0.3692, allocations: 41.55 kB / 0.5436 GB, free: 10.37 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008347/0.37, allocations: 209.3 kB / 0.5438 GB, free: 10.31 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.359e-05/0.37, allocations: 15 kB / 0.5438 GB, free: 10.3 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008081/0.3709, allocations: 1.301 MB / 0.5451 GB, free: 9.148 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.3709, allocations: 4.125 kB / 0.5451 GB, free: 9.145 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001247/0.3721, allocations: 0.8108 MB / 0.5458 GB, free: 8.715 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002773/0.3724, allocations: 200.1 kB / 0.546 GB, free: 8.555 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001074/0.3725, allocations: 19.44 kB / 0.5461 GB, free: 8.539 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000396/0.3729, allocations: 20.86 kB / 0.5461 GB, free: 8.535 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.238e-05/0.373, allocations: 32.39 kB / 0.5461 GB, free: 8.523 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.076e-05/0.3731, allocations: 26.5 kB / 0.5461 GB, free: 8.52 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005479/0.3736, allocations: 443.7 kB / 0.5466 GB, free: 8.328 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.21e-07/0.3736, allocations: 0 / 0.5466 GB, free: 8.328 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0009157/0.3746, allocations: 297.9 kB / 0.5468 GB, free: 8.277 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (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 (25): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 4,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.002139/0.3767, allocations: 1.602 MB / 0.5484 GB, free: 7.242 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0009881/0.3777, allocations: 0.5105 MB / 0.5489 GB, free: 7.074 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.868e-06/0.3777, allocations: 1.344 kB / 0.5489 GB, free: 7.074 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004886/0.3782, allocations: 214.3 kB / 0.5491 GB, free: 7.02 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001529/0.3798, allocations: 307.6 kB / 0.5494 GB, free: 6.938 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006223/0.386, allocations: 4.201 MB / 0.5535 GB, free: 4.621 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003677/0.3864, allocations: 0.9297 MB / 0.5544 GB, free: 3.895 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003312/0.3867, allocations: 242.6 kB / 0.5546 GB, free: 3.73 MB / 378.7 MB Notification: Performance of SimCode: time 5.21e-07/0.3867, allocations: 4 kB / 0.5546 GB, free: 3.727 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.709/5.096, allocations: 18.75 MB / 0.573 GB, free: 4.977 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Incompressible_Essotherm650_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Incompressible_Essotherm650.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650_res.mat does not exist to compare? outputFormat=mat