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.003136/0.003135, allocations: 187.2 kB / 16.41 MB, free: 5.723 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.054/2.054, allocations: 205.4 MB / 222.5 MB, free: 9.117 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.001193/0.001193, allocations: 85.81 kB / 270.9 MB, free: 8.379 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.5347/0.5347, allocations: 43.55 MB / 362.7 MB, free: 52.09 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004904/0.0004904, allocations: 16 kB / 431.5 MB, free: 6.059 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1338/0.1343, allocations: 58.83 MB / 490.3 MB, free: 11.14 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.256/1.39, allocations: 353 MB / 0.8235 GB, free: 19.7 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003412/1.39, allocations: 98.45 kB / 0.8236 GB, free: 19.65 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.784/2.175, allocations: 131.3 MB / 0.9519 GB, free: 106.6 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.943e-06/2.175, allocations: 0 / 0.9519 GB, free: 106.6 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 7.38e-05/2.175, allocations: 24 kB / 0.9519 GB, free: 106.6 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.003107/2.178, allocations: 0.9733 MB / 0.9528 GB, free: 105.6 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.852e-05/2.178, allocations: 8.031 kB / 0.9528 GB, free: 105.5 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000382/2.178, allocations: 102.4 kB / 0.9529 GB, free: 105.4 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00053/2.179, allocations: 94.48 kB / 0.953 GB, free: 105.3 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001583/2.18, allocations: 0.5322 MB / 0.9536 GB, free: 104.8 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001295/2.181, allocations: 104.3 kB / 0.9537 GB, free: 104.7 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001401/2.181, allocations: 48 kB / 0.9537 GB, free: 104.6 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001908/2.183, allocations: 0.8239 MB / 0.9545 GB, free: 103.7 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.595e-05/2.183, allocations: 4 kB / 0.9545 GB, free: 103.7 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001128/2.183, allocations: 24 kB / 0.9545 GB, free: 103.7 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.846e-05/2.183, allocations: 46 kB / 0.9546 GB, free: 103.7 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001621/2.185, allocations: 0.6204 MB / 0.9552 GB, free: 103 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006444/2.191, allocations: 4.035 MB / 0.9591 GB, free: 98.79 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009142/2.192, allocations: 354.5 kB / 0.9595 GB, free: 98.44 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002716/2.195, allocations: 1.705 MB / 0.9611 GB, free: 96.5 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.003e-05/2.195, allocations: 38.56 kB / 0.9612 GB, free: 96.45 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=26): time 4.249e-06/2.195, allocations: 4 kB / 0.9612 GB, free: 96.45 MB / 0.4948 GB Notification: Performance of matching and sorting (n=37): time 0.005794/2.201, allocations: 1.369 MB / 0.9625 GB, free: 95.03 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.075e-05/2.201, allocations: 136.5 kB / 0.9626 GB, free: 94.86 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001008/2.202, allocations: 0.5539 MB / 0.9632 GB, free: 94.3 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001136/2.202, allocations: 29.7 kB / 0.9632 GB, free: 94.27 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002688/2.202, allocations: 428.7 kB / 0.9636 GB, free: 93.85 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001258/2.202, allocations: 134.1 kB / 0.9637 GB, free: 93.72 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.47e-05/2.202, allocations: 16 kB / 0.9638 GB, free: 93.7 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 9.134e-05/2.203, allocations: 346.8 kB / 0.9641 GB, free: 93.36 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004927/2.203, allocations: 185.8 kB / 0.9643 GB, free: 93.17 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006307/2.204, allocations: 0.5364 MB / 0.9648 GB, free: 92.46 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006591/2.204, allocations: 297.1 kB / 0.9651 GB, free: 92.18 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.747e-06/2.204, allocations: 4 kB / 0.9651 GB, free: 92.17 MB / 0.4948 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002062/2.206, allocations: 0.788 MB / 0.9658 GB, free: 91.38 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.957e-05/2.207, allocations: 12 kB / 0.9659 GB, free: 91.36 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.828e-05/2.207, allocations: 12 kB / 0.9659 GB, free: 91.35 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006011/2.207, allocations: 96.73 kB / 0.966 GB, free: 91.25 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001227/2.208, allocations: 179.7 kB / 0.9661 GB, free: 91.08 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007582/2.209, allocations: 0.6693 MB / 0.9668 GB, free: 90.38 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001096/2.21, allocations: 47.88 kB / 0.9668 GB, free: 90.34 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.323e-05/2.21, allocations: 40.06 kB / 0.9669 GB, free: 90.3 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 () * Number of clocked 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.0005476/2.211, allocations: 253.5 kB / 0.9671 GB, free: 90.04 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001749/2.211, allocations: 79.22 kB / 0.9672 GB, free: 89.96 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001342/2.213, allocations: 499.2 kB / 0.9677 GB, free: 89.45 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.235e-06/2.213, allocations: 4 kB / 0.9677 GB, free: 89.45 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.655e-06/2.213, allocations: 4 kB / 0.9677 GB, free: 89.45 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.729e-06/2.213, allocations: 3.953 kB / 0.9677 GB, free: 89.44 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002914/2.216, allocations: 1.203 MB / 0.9688 GB, free: 88.15 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.446e-06/2.216, allocations: 4 kB / 0.9688 GB, free: 88.14 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005544/2.216, allocations: 71.91 kB / 0.9689 GB, free: 88.07 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002622/2.216, allocations: 36.83 kB / 0.969 GB, free: 88.04 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.07e-05/2.216, allocations: 16 kB / 0.969 GB, free: 88.02 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003748/2.217, allocations: 0.5606 MB / 0.9695 GB, free: 87.43 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.611e-06/2.217, allocations: 7.984 kB / 0.9695 GB, free: 87.43 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001579/2.218, allocations: 0.8557 MB / 0.9704 GB, free: 86.44 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004641/2.219, allocations: 192.1 kB / 0.9705 GB, free: 86.23 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000162/2.219, allocations: 11.98 kB / 0.9706 GB, free: 86.22 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007469/2.22, allocations: 27.98 kB / 0.9706 GB, free: 86.19 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.598e-05/2.22, allocations: 39.92 kB / 0.9706 GB, free: 86.15 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.821e-05/2.22, allocations: 23.98 kB / 0.9706 GB, free: 86.13 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0007959/2.221, allocations: 447 kB / 0.9711 GB, free: 85.7 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4.11e-07/2.221, allocations: 0 / 0.9711 GB, free: 85.7 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001426/2.222, allocations: 219.9 kB / 0.9713 GB, free: 85.48 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 () * Number of clocked 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.002618/2.225, allocations: 2.436 MB / 0.9737 GB, free: 82.96 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.001607/2.227, allocations: 0.5013 MB / 0.9741 GB, free: 82.46 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 8.756e-06/2.227, allocations: 4 kB / 0.9741 GB, free: 82.45 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0005253/2.227, allocations: 165.3 kB / 0.9743 GB, free: 82.29 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002651/2.23, allocations: 308.1 kB / 0.9746 GB, free: 82 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01081/2.241, allocations: 12.14 MB / 0.9865 GB, free: 69.52 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005035/2.241, allocations: 0.9415 MB / 0.9874 GB, free: 68.55 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004942/2.242, allocations: 243.3 kB / 0.9876 GB, free: 68.31 MB / 0.4948 GB Notification: Performance of SimCode: time 1.192e-06/2.242, allocations: 0 / 0.9876 GB, free: 68.31 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.158/5.4, allocations: 17.2 MB / 1.004 GB, free: 51.14 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