Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.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.WaterIF97_ph,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_WaterIF97_ph",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_WaterIF97_ph",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.002057/0.002057, allocations: 185.2 kB / 15.76 MB, free: 6.367 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.722/1.722, allocations: 205.4 MB / 221.9 MB, free: 13.83 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.00092/0.0009199, allocations: 98.86 kB / 270.2 MB, free: 13.36 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.2267/0.2267, allocations: 43.56 MB / 362.1 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003505/0.0003507, allocations: 11.98 kB / 431.5 MB, free: 19.5 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1476/0.148, allocations: 58.86 MB / 490.4 MB, free: 8.582 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.466/6.614, allocations: 2.796 GB / 3.275 GB, free: 46.39 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000326/6.615, allocations: 106.2 kB / 3.275 GB, free: 46.32 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.012/8.626, allocations: 0.4946 GB / 3.769 GB, free: 54.93 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.274e-06/8.626, allocations: 0 / 3.769 GB, free: 54.93 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 9.569e-05/8.627, allocations: 21.94 kB / 3.769 GB, free: 54.93 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 160 * Number of variables: 160 Notification: Performance of Generate backend data structure: time 0.009213/8.636, allocations: 1.838 MB / 3.771 GB, free: 54.22 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.13e-05/8.636, allocations: 6.531 kB / 3.771 GB, free: 54.22 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004396/8.636, allocations: 112.7 kB / 3.771 GB, free: 54.18 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002972/8.639, allocations: 324.2 kB / 3.771 GB, free: 54.14 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002123/8.641, allocations: 0.6048 MB / 3.772 GB, free: 53.9 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002188/8.642, allocations: 110.1 kB / 3.772 GB, free: 53.84 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002668/8.642, allocations: 64.94 kB / 3.772 GB, free: 53.84 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003144/8.645, allocations: 1.207 MB / 3.773 GB, free: 53.54 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.729e-05/8.645, allocations: 7.688 kB / 3.773 GB, free: 53.54 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001023/8.645, allocations: 34.98 kB / 3.773 GB, free: 53.54 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.539e-05/8.645, allocations: 44.84 kB / 3.773 GB, free: 53.54 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002356/8.648, allocations: 1.043 MB / 3.775 GB, free: 53.53 MB / 0.5105 GB 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.006242/8.654, allocations: 5.629 MB / 3.78 GB, free: 49.81 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002149/8.656, allocations: 0.7848 MB / 3.781 GB, free: 49.77 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02941/8.686, allocations: 15.73 MB / 3.796 GB, free: 40.27 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.415e-05/8.686, allocations: 47.86 kB / 3.796 GB, free: 40.23 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=45): time 2.144e-06/8.686, allocations: 2.156 kB / 3.796 GB, free: 40.23 MB / 0.5105 GB Notification: Performance of matching and sorting (n=49): time 0.007327/8.693, allocations: 2.36 MB / 3.798 GB, free: 39.75 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.823e-05/8.693, allocations: 163.2 kB / 3.799 GB, free: 39.56 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000796/8.694, allocations: 0.5369 MB / 3.799 GB, free: 39.43 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 6.885e-05/8.694, allocations: 36.86 kB / 3.799 GB, free: 39.39 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002385/8.694, allocations: 387.9 kB / 3.8 GB, free: 39.19 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001424/8.694, allocations: 174.4 kB / 3.8 GB, free: 39.08 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.819e-05/8.694, allocations: 14.97 kB / 3.8 GB, free: 39.08 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001231/8.695, allocations: 377.8 kB / 3.8 GB, free: 38.77 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006315/8.695, allocations: 290 kB / 3.8 GB, free: 38.77 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008056/8.696, allocations: 0.6182 MB / 3.801 GB, free: 38.36 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007415/8.697, allocations: 381.7 kB / 3.801 GB, free: 38.36 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.465e-05/8.697, allocations: 3.531 kB / 3.801 GB, free: 38.36 MB / 0.5105 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.002036/8.699, allocations: 0.9752 MB / 3.802 GB, free: 38.27 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.938e-05/8.699, allocations: 7.688 kB / 3.802 GB, free: 38.27 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.151e-05/8.699, allocations: 14.91 kB / 3.802 GB, free: 38.27 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004053/8.699, allocations: 72.25 kB / 3.802 GB, free: 38.26 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00128/8.701, allocations: 311.8 kB / 3.803 GB, free: 38.26 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001286/8.702, allocations: 1.976 MB / 3.805 GB, free: 36.43 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009403/8.703, allocations: 86.52 kB / 3.805 GB, free: 36.42 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.183e-05/8.703, allocations: 44.23 kB / 3.805 GB, free: 36.42 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * Number of states: 0 () * Number of discrete variables: 10 (volume.heatTransfer.states[1].phase,fixedMassFlowRate.medium.phase,ambient.medium.phase,volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1],shortPipe.flowModel.states[2].phase,shortPipe.flowModel.states[1].phase,ambient.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (95): * Single equations (assignments): 93 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0005101/8.704, allocations: 270.2 kB / 3.805 GB, free: 36.3 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001967/8.704, allocations: 75.84 kB / 3.805 GB, free: 36.26 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003081/8.707, allocations: 2.604 MB / 3.808 GB, free: 35.95 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.691e-05/8.707, allocations: 38.53 kB / 3.808 GB, free: 35.95 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/8.707, allocations: 10 kB / 3.808 GB, free: 35.95 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.575e-06/8.707, allocations: 3.891 kB / 3.808 GB, free: 35.95 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004677/8.712, allocations: 3.795 MB / 3.811 GB, free: 35.45 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.772e-06/8.712, allocations: 3.938 kB / 3.811 GB, free: 35.45 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001121/8.713, allocations: 242.7 kB / 3.812 GB, free: 35.45 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004367/8.713, allocations: 90.59 kB / 3.812 GB, free: 35.44 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.255e-05/8.713, allocations: 9.125 kB / 3.812 GB, free: 35.44 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001218/8.714, allocations: 2.006 MB / 3.814 GB, free: 33.6 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/8.715, allocations: 3.656 kB / 3.814 GB, free: 33.6 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003188/8.718, allocations: 2.378 MB / 3.816 GB, free: 33.24 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007317/8.718, allocations: 329 kB / 3.816 GB, free: 33.05 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002481/8.719, allocations: 14.84 kB / 3.816 GB, free: 33.04 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008871/8.72, allocations: 69.53 kB / 3.816 GB, free: 33.04 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001331/8.72, allocations: 45.17 kB / 3.816 GB, free: 33.04 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.9e-05/8.72, allocations: 27 kB / 3.816 GB, free: 33.04 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0008507/8.721, allocations: 0.5508 MB / 3.817 GB, free: 32.95 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.91e-07/8.721, allocations: 0 / 3.817 GB, free: 32.95 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.006258/8.727, allocations: 1.134 MB / 3.818 GB, free: 32.8 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,volume.medium.h) * Number of discrete variables: 21 ($cse2.region3boundary,$cse3.region3boundary,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse11.phase,$cse11.region,$cse13.phase,$cse13.region,$cse14.phase,$cse14.region,volume.heatTransfer.states[1].phase,fixedMassFlowRate.medium.phase,ambient.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (58): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * 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: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.01183/8.739, allocations: 4.454 MB / 3.822 GB, free: 31.66 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.002547/8.741, allocations: 1.103 MB / 3.824 GB, free: 31.64 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 6.062e-06/8.741, allocations: 3.406 kB / 3.824 GB, free: 31.64 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001409/8.743, allocations: 0.8083 MB / 3.824 GB, free: 31.64 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002097/8.745, allocations: 373.3 kB / 3.825 GB, free: 31.62 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01557/8.761, allocations: 13.36 MB / 3.838 GB, free: 22.41 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008561/8.761, allocations: 1.186 MB / 3.839 GB, free: 21.71 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.001222/8.763, allocations: 441.1 kB / 3.839 GB, free: 21.7 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006029/8.763, allocations: 439 kB / 3.84 GB, free: 21.69 MB / 0.5105 GB Notification: Performance of SimCode: time 8.32e-07/8.763, allocations: 0 / 3.84 GB, free: 21.69 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08507/8.848, allocations: 52.81 MB / 3.891 GB, free: 18.83 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001632/8.849, allocations: 279.4 kB / 3.892 GB, free: 18.47 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.86/12.71, allocations: 0 / 3.892 GB, free: 18.47 MB / 0.5105 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_WaterIF97_ph_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_WaterIF97_ph.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph_res.mat does not exist to compare? outputFormat=mat