Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_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.WaterIF97OnePhase_ph,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_WaterIF97OnePhase_ph",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_WaterIF97OnePhase_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.00142/0.00142, allocations: 180.5 kB / 14.15 MB, free: 1.176 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.558/1.558, allocations: 221.3 MB / 236 MB, free: 2.961 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008881/0.0008882, allocations: 95.66 kB / 287 MB, free: 244 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2157/0.2157, allocations: 44.16 MB / 382 MB, free: 14.67 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.702e-05/3.707e-05, allocations: 4.219 kB / 451.9 MB, free: 9.328 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1504/0.1505, allocations: 61.91 MB / 0.5018 GB, free: 11.36 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.498/7.649, allocations: 2.801 GB / 3.302 GB, free: 70.02 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003156/7.649, allocations: 91.19 kB / 3.302 GB, free: 69.97 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.603/10.25, allocations: 0.4982 GB / 3.801 GB, free: 57.4 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.414e-06/10.25, allocations: 1.312 kB / 3.801 GB, free: 57.4 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0001406/10.25, allocations: 20.94 kB / 3.801 GB, free: 57.4 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.008656/10.26, allocations: 1.719 MB / 3.802 GB, free: 56.77 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 6.377e-05/10.26, allocations: 12.94 kB / 3.802 GB, free: 56.76 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003736/10.26, allocations: 111.8 kB / 3.802 GB, free: 56.72 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002906/10.26, allocations: 324.9 kB / 3.803 GB, free: 56.68 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001807/10.27, allocations: 0.602 MB / 3.803 GB, free: 56.45 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000164/10.27, allocations: 109.3 kB / 3.803 GB, free: 56.38 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002115/10.27, allocations: 62.67 kB / 3.803 GB, free: 56.38 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002891/10.27, allocations: 1.198 MB / 3.805 GB, free: 56.08 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.025e-05/10.27, allocations: 8.875 kB / 3.805 GB, free: 56.08 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.886e-05/10.27, allocations: 30.69 kB / 3.805 GB, free: 56.08 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.289e-05/10.27, allocations: 49.03 kB / 3.805 GB, free: 56.08 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001801/10.27, allocations: 0.8457 MB / 3.806 GB, free: 56.07 MB / 0.5261 GB Warning: The model contains alias variables with conflicting start and/or 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.006431/10.28, allocations: 5.502 MB / 3.811 GB, free: 52.37 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001287/10.28, allocations: 0.6064 MB / 3.812 GB, free: 52.32 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000346/10.28, allocations: 214 kB / 3.812 GB, free: 52.3 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08981/10.37, allocations: 46.09 MB / 3.857 GB, free: 25.14 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.087e-05/10.37, allocations: 40.77 kB / 3.857 GB, free: 25.1 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=42): time 3.898e-06/10.37, allocations: 6.625 kB / 3.857 GB, free: 25.09 MB / 0.5261 GB Notification: Performance of matching and sorting (n=46): time 0.00602/10.38, allocations: 1.838 MB / 3.859 GB, free: 24.6 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.901e-05/10.38, allocations: 162.9 kB / 3.859 GB, free: 24.41 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009475/10.38, allocations: 0.5431 MB / 3.859 GB, free: 24.27 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 9.575e-05/10.38, allocations: 36.17 kB / 3.859 GB, free: 24.23 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.000293/10.38, allocations: 389.3 kB / 3.86 GB, free: 24.03 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001796/10.38, allocations: 167.9 kB / 3.86 GB, free: 23.93 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.016e-05/10.38, allocations: 18.75 kB / 3.86 GB, free: 23.93 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001394/10.38, allocations: 376.1 kB / 3.86 GB, free: 23.61 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003877/10.38, allocations: 218.4 kB / 3.86 GB, free: 23.61 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005548/10.38, allocations: 0.5618 MB / 3.861 GB, free: 23.17 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004998/10.38, allocations: 319.4 kB / 3.861 GB, free: 23.15 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.736e-05/10.38, allocations: 8.312 kB / 3.861 GB, free: 23.15 MB / 0.5261 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001467/10.38, allocations: 0.8557 MB / 3.862 GB, free: 23.05 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 3.173e-05/10.38, allocations: 11.47 kB / 3.862 GB, free: 23.05 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.201e-05/10.38, allocations: 11.69 kB / 3.862 GB, free: 23.05 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000287/10.38, allocations: 64.83 kB / 3.862 GB, free: 23.05 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001187/10.38, allocations: 279.6 kB / 3.862 GB, free: 23.05 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001308/10.38, allocations: 1.976 MB / 3.864 GB, free: 21.21 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008073/10.38, allocations: 62.64 kB / 3.864 GB, free: 21.2 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.451e-05/10.38, allocations: 39.19 kB / 3.864 GB, free: 21.2 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * Number of states: 0 () * Number of discrete variables: 10 (ambient.medium.phase,fixedMassFlowRate.medium.phase,volume.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 () * 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.0002267/10.38, allocations: 167.5 kB / 3.865 GB, free: 21.08 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001907/10.39, allocations: 67.12 kB / 3.865 GB, free: 21.05 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002589/10.39, allocations: 2.216 MB / 3.867 GB, free: 20.75 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.834e-05/10.39, allocations: 29.81 kB / 3.867 GB, free: 20.75 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.918e-06/10.39, allocations: 0 / 3.867 GB, free: 20.75 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.825e-06/10.39, allocations: 2.766 kB / 3.867 GB, free: 20.75 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005168/10.39, allocations: 3.279 MB / 3.87 GB, free: 36.28 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.492e-06/10.39, allocations: 0 / 3.87 GB, free: 36.28 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009148/10.39, allocations: 191.5 kB / 3.87 GB, free: 36.28 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003824/10.39, allocations: 87.72 kB / 3.87 GB, free: 36.26 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.483e-05/10.39, allocations: 19.72 kB / 3.87 GB, free: 36.26 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00173/10.4, allocations: 1.995 MB / 3.872 GB, free: 34.42 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/10.4, allocations: 0 / 3.872 GB, free: 34.42 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002472/10.4, allocations: 1.974 MB / 3.874 GB, free: 34.06 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007237/10.4, allocations: 289.9 kB / 3.875 GB, free: 33.88 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002491/10.4, allocations: 9.812 kB / 3.875 GB, free: 33.88 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008478/10.4, allocations: 63.41 kB / 3.875 GB, free: 33.88 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001092/10.4, allocations: 32.44 kB / 3.875 GB, free: 33.88 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.899e-05/10.4, allocations: 26.64 kB / 3.875 GB, free: 33.88 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0009738/10.4, allocations: 0.4966 MB / 3.875 GB, free: 33.78 MB / 0.5417 GB Notification: Performance of sort global known variables: time 7.82e-07/10.4, allocations: 4 kB / 3.875 GB, free: 33.77 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.006733/10.41, allocations: 1.126 MB / 3.876 GB, free: 33.63 MB / 0.5417 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: 16 ($cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (53): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * 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.01224/10.42, allocations: 4.048 MB / 3.88 GB, free: 32.44 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.00223/10.42, allocations: 0.9251 MB / 3.881 GB, free: 32.41 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 7.194e-06/10.42, allocations: 2.297 kB / 3.881 GB, free: 32.41 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.001268/10.42, allocations: 0.6579 MB / 3.882 GB, free: 32.41 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002323/10.43, allocations: 360 kB / 3.882 GB, free: 32.39 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007833/10.43, allocations: 2.262 MB / 3.884 GB, free: 31.76 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000816/10.44, allocations: 1.139 MB / 3.885 GB, free: 31.05 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.001168/10.44, allocations: 446.2 kB / 3.886 GB, free: 31.02 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005192/10.44, allocations: 395.7 kB / 3.886 GB, free: 31.02 MB / 0.5417 GB Notification: Performance of SimCode: time 1.723e-06/10.44, allocations: 0 / 3.886 GB, free: 31.02 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1047/10.54, allocations: 53.67 MB / 3.939 GB, free: 28.3 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002522/10.54, allocations: 259.8 kB / 3.939 GB, free: 27.96 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.74/14.28, allocations: 0 / 3.939 GB, free: 27.96 MB / 0.5417 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_WaterIF97OnePhase_ph_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_WaterIF97OnePhase_ph.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph_res.mat does not exist to compare? outputFormat=mat