Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_WaterIF97_ph",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph,fileNamePrefix="ModelicaTest_4_0_0_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 4.0.0+maint.om/package.mo): time 0.002133/0.002133, allocations: 181 kB / 17.06 MB, free: 5.098 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.489/1.489, allocations: 223.2 MB / 241 MB, free: 11.9 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000846/0.0008461, allocations: 97.34 kB / 292.1 MB, free: 10.92 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3896/0.3896, allocations: 44.21 MB / 387.5 MB, free: 38.77 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003934/0.0003939, allocations: 11.98 kB / 460 MB, free: 1.422 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3977/0.3981, allocations: 61.89 MB / 0.5096 GB, free: 37.93 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.838/7.236, allocations: 2.801 GB / 3.31 GB, free: 117.5 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002844/7.237, allocations: 99.56 kB / 3.31 GB, free: 117.5 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.739/8.976, allocations: 0.4994 GB / 3.81 GB, free: 52.2 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.884e-06/8.976, allocations: 3.688 kB / 3.81 GB, free: 52.2 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 8.923e-05/8.976, allocations: 23.19 kB / 3.81 GB, free: 52.2 MB / 0.5261 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.007827/8.984, allocations: 1.839 MB / 3.812 GB, free: 51.23 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.613e-05/8.984, allocations: 11.12 kB / 3.812 GB, free: 51.23 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004404/8.984, allocations: 109.9 kB / 3.812 GB, free: 51.15 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002661/8.987, allocations: 323.5 kB / 3.812 GB, free: 51.09 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001633/8.989, allocations: 0.6043 MB / 3.813 GB, free: 50.7 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001681/8.989, allocations: 116.2 kB / 3.813 GB, free: 50.61 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001963/8.989, allocations: 57.77 kB / 3.813 GB, free: 50.59 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002842/8.992, allocations: 1.22 MB / 3.814 GB, free: 50.01 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.364e-05/8.992, allocations: 3.875 kB / 3.814 GB, free: 50.01 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001159/8.992, allocations: 27.28 kB / 3.814 GB, free: 49.99 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.982e-05/8.992, allocations: 45.47 kB / 3.814 GB, free: 49.98 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002476/8.995, allocations: 1.049 MB / 3.815 GB, free: 49.69 MB / 0.5261 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.00614/9.001, allocations: 5.616 MB / 3.821 GB, free: 45.24 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002174/9.003, allocations: 0.801 MB / 3.821 GB, free: 44.99 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02899/9.032, allocations: 15.72 MB / 3.837 GB, free: 35.13 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.513e-05/9.032, allocations: 38.22 kB / 3.837 GB, free: 35.09 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=45): time 3.727e-06/9.032, allocations: 0 / 3.837 GB, free: 35.09 MB / 0.5261 GB Notification: Performance of matching and sorting (n=49): time 0.007292/9.039, allocations: 2.364 MB / 3.839 GB, free: 34.09 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.362e-05/9.039, allocations: 165.1 kB / 3.839 GB, free: 33.89 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000762/9.04, allocations: 0.5348 MB / 3.84 GB, free: 33.64 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 6.416e-05/9.04, allocations: 37.48 kB / 3.84 GB, free: 33.61 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002161/9.041, allocations: 383.8 kB / 3.84 GB, free: 33.3 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001406/9.041, allocations: 178.8 kB / 3.84 GB, free: 33.17 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.744e-05/9.041, allocations: 15.56 kB / 3.84 GB, free: 33.16 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001161/9.041, allocations: 381.2 kB / 3.841 GB, free: 32.81 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005778/9.041, allocations: 289.6 kB / 3.841 GB, free: 32.72 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006836/9.042, allocations: 0.6172 MB / 3.842 GB, free: 32.19 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006994/9.043, allocations: 377.9 kB / 3.842 GB, free: 32.04 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.252e-06/9.043, allocations: 3.125 kB / 3.842 GB, free: 32.04 MB / 0.5261 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001681/9.045, allocations: 0.9819 MB / 3.843 GB, free: 31.64 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.287e-05/9.045, allocations: 9.406 kB / 3.843 GB, free: 31.64 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.571e-05/9.045, allocations: 11.72 kB / 3.843 GB, free: 31.64 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002858/9.045, allocations: 69.83 kB / 3.843 GB, free: 31.62 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001236/9.046, allocations: 303 kB / 3.843 GB, free: 31.6 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001157/9.047, allocations: 1.994 MB / 3.845 GB, free: 29.65 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008142/9.048, allocations: 82.95 kB / 3.845 GB, free: 29.62 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.819e-05/9.048, allocations: 48.94 kB / 3.845 GB, free: 29.61 MB / 0.5261 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.0004533/9.049, allocations: 274.1 kB / 3.846 GB, free: 29.41 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002083/9.049, allocations: 73.81 kB / 3.846 GB, free: 29.38 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003136/9.052, allocations: 2.603 MB / 3.848 GB, free: 28.17 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.689e-05/9.052, allocations: 37.66 kB / 3.848 GB, free: 28.16 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/9.052, allocations: 0 / 3.848 GB, free: 28.16 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.206e-06/9.052, allocations: 3.844 kB / 3.848 GB, free: 28.16 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004236/9.056, allocations: 3.792 MB / 3.852 GB, free: 25.24 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.424e-06/9.056, allocations: 4 kB / 3.852 GB, free: 25.23 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001062/9.057, allocations: 239.5 kB / 3.852 GB, free: 25.05 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003836/9.058, allocations: 92.97 kB / 3.852 GB, free: 24.98 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.552e-05/9.058, allocations: 15 kB / 3.852 GB, free: 24.97 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001082/9.059, allocations: 2.002 MB / 3.854 GB, free: 22.87 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/9.059, allocations: 4.094 kB / 3.854 GB, free: 22.86 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002526/9.062, allocations: 2.381 MB / 3.857 GB, free: 20.67 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005158/9.062, allocations: 327.6 kB / 3.857 GB, free: 20.37 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001541/9.062, allocations: 12 kB / 3.857 GB, free: 20.36 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006556/9.063, allocations: 65.69 kB / 3.857 GB, free: 20.31 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001079/9.063, allocations: 57.36 kB / 3.857 GB, free: 20.27 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.589e-05/9.063, allocations: 23.52 kB / 3.857 GB, free: 20.25 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0006699/9.064, allocations: 0.5568 MB / 3.858 GB, free: 19.78 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.3e-07/9.064, allocations: 0 / 3.858 GB, free: 19.78 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.005309/9.069, allocations: 1.136 MB / 3.859 GB, free: 18.67 MB / 0.5261 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.01246/9.082, allocations: 4.453 MB / 3.863 GB, free: 14.77 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.002749/9.084, allocations: 1.097 MB / 3.864 GB, free: 13.8 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 9.147e-06/9.084, allocations: 0 / 3.864 GB, free: 13.8 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001475/9.086, allocations: 0.8159 MB / 3.865 GB, free: 13.07 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002084/9.088, allocations: 378.9 kB / 3.865 GB, free: 12.8 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01538/9.103, allocations: 13.35 MB / 3.878 GB, free: 15.89 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001141/9.105, allocations: 1.185 MB / 3.879 GB, free: 14.86 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.001168/9.106, allocations: 436.2 kB / 3.88 GB, free: 14.59 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006093/9.106, allocations: 448.5 kB / 3.88 GB, free: 14.19 MB / 0.5417 GB Notification: Performance of SimCode: time 1.804e-06/9.106, allocations: 0 / 3.88 GB, free: 14.19 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.37/9.476, allocations: 52.84 MB / 3.932 GB, free: 61.34 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001936/9.477, allocations: 277.7 kB / 3.932 GB, free: 60.98 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.956/13.43, allocations: 0 / 3.932 GB, free: 60.98 MB / 0.5417 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_WaterIF97_ph_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_WaterIF97_ph.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph_res.mat does not exist to compare? outputFormat=mat