Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.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.Water.ConstantPropertyLiquidWater,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_ConstantPropertyLiquidWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_ConstantPropertyLiquidWater",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.002295/0.002295, allocations: 181.4 kB / 13.66 MB, free: 1.664 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.21/2.21, allocations: 205.2 MB / 219.4 MB, free: 14.27 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.001167/0.001166, allocations: 90.67 kB / 267.5 MB, free: 14.11 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.2927/0.2927, allocations: 43.49 MB / 359.1 MB, free: 12.25 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.491e-05/3.537e-05, allocations: 0 / 425.4 MB, free: 23.27 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.124/0.124, allocations: 58.85 MB / 484.2 MB, free: 12.37 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.196/1.32, allocations: 352.9 MB / 0.8175 GB, free: 72.5 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003425/1.321, allocations: 93.78 kB / 0.8176 GB, free: 72.45 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.7934/2.114, allocations: 130.8 MB / 0.9454 GB, free: 135.7 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.873e-06/2.114, allocations: 0 / 0.9454 GB, free: 135.7 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 7.269e-05/2.114, allocations: 22.94 kB / 0.9454 GB, free: 135.7 MB / 0.4948 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.002402/2.117, allocations: 0.8824 MB / 0.9463 GB, free: 135.1 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.28e-05/2.117, allocations: 11.62 kB / 0.9463 GB, free: 135.1 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000166/2.117, allocations: 100.9 kB / 0.9464 GB, free: 135 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005334/2.117, allocations: 91.45 kB / 0.9465 GB, free: 135 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001504/2.119, allocations: 0.5364 MB / 0.947 GB, free: 134.6 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001211/2.119, allocations: 109.5 kB / 0.9471 GB, free: 134.6 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000125/2.119, allocations: 50.36 kB / 0.9471 GB, free: 134.5 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001702/2.121, allocations: 0.8139 MB / 0.9479 GB, free: 134.1 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.875e-05/2.121, allocations: 3.625 kB / 0.9479 GB, free: 134.1 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001226/2.121, allocations: 22.34 kB / 0.948 GB, free: 134 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.118e-05/2.121, allocations: 45.11 kB / 0.948 GB, free: 134 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001471/2.123, allocations: 0.6028 MB / 0.9486 GB, free: 133.8 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006202/2.129, allocations: 4.043 MB / 0.9525 GB, free: 130.6 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008698/2.13, allocations: 329.8 kB / 0.9528 GB, free: 130.5 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003799/2.13, allocations: 167.4 kB / 0.953 GB, free: 130.4 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002623/2.133, allocations: 1.748 MB / 0.9547 GB, free: 128.8 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.099e-05/2.133, allocations: 42.12 kB / 0.9548 GB, free: 128.7 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=26): time 3.096e-06/2.133, allocations: 0 / 0.9548 GB, free: 128.7 MB / 0.4948 GB Notification: Performance of matching and sorting (n=37): time 0.005142/2.138, allocations: 1.27 MB / 0.956 GB, free: 128.1 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.891e-05/2.138, allocations: 136.4 kB / 0.9561 GB, free: 127.9 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009586/2.139, allocations: 0.5429 MB / 0.9567 GB, free: 127.7 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 7.576e-05/2.139, allocations: 33.64 kB / 0.9567 GB, free: 127.6 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002649/2.14, allocations: 437.3 kB / 0.9571 GB, free: 127.3 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001189/2.14, allocations: 131.1 kB / 0.9572 GB, free: 127.2 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.584e-05/2.14, allocations: 15.25 kB / 0.9572 GB, free: 127.2 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 8.653e-05/2.14, allocations: 337.8 kB / 0.9576 GB, free: 126.8 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004375/2.14, allocations: 178.4 kB / 0.9577 GB, free: 126.8 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006342/2.141, allocations: 0.5425 MB / 0.9583 GB, free: 126.2 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006608/2.142, allocations: 281.2 kB / 0.9585 GB, free: 126.1 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.016e-05/2.142, allocations: 8.625 kB / 0.9585 GB, free: 126.1 MB / 0.4948 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001888/2.144, allocations: 0.774 MB / 0.9593 GB, free: 125.8 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.624e-05/2.144, allocations: 10.62 kB / 0.9593 GB, free: 125.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.729e-05/2.144, allocations: 10.16 kB / 0.9593 GB, free: 125.8 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005484/2.144, allocations: 103.6 kB / 0.9594 GB, free: 125.8 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00121/2.145, allocations: 180.9 kB / 0.9596 GB, free: 125.8 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006368/2.146, allocations: 0.6719 MB / 0.9602 GB, free: 125.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00103/2.147, allocations: 37.77 kB / 0.9603 GB, free: 125.2 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.294e-05/2.147, allocations: 37.72 kB / 0.9603 GB, free: 125.2 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 54 * 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 (87): * Single equations (assignments): 86 * 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 {1 5} Notification: Performance of prepare postOptimizeDAE: time 0.000218/2.147, allocations: 160.3 kB / 0.9605 GB, free: 125 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001401/2.148, allocations: 70.59 kB / 0.9605 GB, free: 125 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00124/2.149, allocations: 0.4885 MB / 0.961 GB, free: 124.7 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.923e-06/2.149, allocations: 3.844 kB / 0.961 GB, free: 124.7 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.985e-06/2.149, allocations: 7.953 kB / 0.961 GB, free: 124.7 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.994e-06/2.149, allocations: 0 / 0.961 GB, free: 124.7 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002618/2.152, allocations: 1.188 MB / 0.9622 GB, free: 124 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.977e-06/2.152, allocations: 3.969 kB / 0.9622 GB, free: 124 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005657/2.152, allocations: 74.52 kB / 0.9623 GB, free: 124 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002454/2.152, allocations: 40.89 kB / 0.9623 GB, free: 124 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.828e-05/2.152, allocations: 19.17 kB / 0.9623 GB, free: 124 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003563/2.153, allocations: 0.5577 MB / 0.9629 GB, free: 123.4 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.751e-06/2.153, allocations: 7.047 kB / 0.9629 GB, free: 123.4 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001448/2.154, allocations: 0.8499 MB / 0.9637 GB, free: 122.8 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004353/2.155, allocations: 197.4 kB / 0.9639 GB, free: 122.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001608/2.155, allocations: 7.938 kB / 0.9639 GB, free: 122.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007664/2.156, allocations: 39 kB / 0.9639 GB, free: 122.6 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.802e-05/2.156, allocations: 27.2 kB / 0.964 GB, free: 122.6 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.89e-05/2.156, allocations: 27.38 kB / 0.964 GB, free: 122.6 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0008025/2.157, allocations: 441.9 kB / 0.9644 GB, free: 122.4 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5.11e-07/2.157, allocations: 0 / 0.9644 GB, free: 122.4 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001297/2.158, allocations: 220.5 kB / 0.9646 GB, free: 122.3 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 1 (volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 35 * 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 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.002455/2.161, allocations: 2.448 MB / 0.967 GB, free: 120.3 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.002402/2.163, allocations: 484.3 kB / 0.9675 GB, free: 120.1 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.381e-05/2.163, allocations: 0 / 0.9675 GB, free: 120.1 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0008724/2.164, allocations: 178.1 kB / 0.9676 GB, free: 120.1 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003787/2.168, allocations: 306.5 kB / 0.9679 GB, free: 120 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005989/2.174, allocations: 1.13 MB / 0.969 GB, free: 119.4 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00107/2.175, allocations: 0.9429 MB / 0.97 GB, free: 118.6 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008688/2.176, allocations: 240.7 kB / 0.9702 GB, free: 118.5 MB / 0.4948 GB Notification: Performance of SimCode: time 3.006e-06/2.176, allocations: 0 / 0.9702 GB, free: 118.5 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.356/5.532, allocations: 17.09 MB / 0.9869 GB, free: 101.5 MB / 0.4948 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_ConstantPropertyLiquidWater_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_ConstantPropertyLiquidWater.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater_res.mat does not exist to compare? outputFormat=mat