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.001419/0.001419, allocations: 174.9 kB / 8.742 MB, free: 344 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.555/1.555, allocations: 221.5 MB / 230.7 MB, free: 7.523 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.0009242/0.0009244, allocations: 96.58 kB / 281.6 MB, free: 5.258 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.2264/0.2264, allocations: 44.15 MB / 376.5 MB, free: 3.039 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.933e-05/1.935e-05, allocations: 4 kB / 444.7 MB, free: 15.11 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1447/0.1447, allocations: 61.92 MB / 0.4948 GB, free: 1.133 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.621/7.766, allocations: 2.8 GB / 3.295 GB, free: 141.1 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002421/7.766, allocations: 93.55 kB / 3.295 GB, free: 141.1 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.741/9.508, allocations: 0.4932 GB / 3.788 GB, free: 56.98 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.653e-06/9.508, allocations: 0 / 3.788 GB, free: 56.98 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.147e-05/9.508, allocations: 19.44 kB / 3.788 GB, free: 56.96 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.007441/9.515, allocations: 1.76 MB / 3.79 GB, free: 55.2 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.113e-05/9.515, allocations: 11.98 kB / 3.79 GB, free: 55.18 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002386/9.518, allocations: 330.5 kB / 3.79 GB, free: 54.86 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001167/9.519, allocations: 0.6045 MB / 3.791 GB, free: 54.23 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001031/9.519, allocations: 96.7 kB / 3.791 GB, free: 54.12 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.528e-05/9.519, allocations: 35.22 kB / 3.791 GB, free: 54.09 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001089/9.52, allocations: 0.6976 MB / 3.791 GB, free: 53.39 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001107/9.521, allocations: 0.8973 MB / 3.792 GB, free: 52.4 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.38e-05/9.521, allocations: 3.938 kB / 3.792 GB, free: 52.39 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.168e-05/9.521, allocations: 4 kB / 3.792 GB, free: 52.39 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.084e-05/9.522, allocations: 41.3 kB / 3.792 GB, free: 52.35 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.08518/9.607, allocations: 52.89 MB / 3.844 GB, free: 9.668 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007832/9.608, allocations: 390.8 kB / 3.844 GB, free: 9.281 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002698/9.608, allocations: 181.4 kB / 3.844 GB, free: 9.102 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3784/9.986, allocations: 8.17 MB / 3.852 GB, free: 85.21 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.533e-05/9.986, allocations: 36.91 kB / 3.852 GB, free: 85.17 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=37): time 4.949e-06/9.986, allocations: 0 / 3.852 GB, free: 85.17 MB / 0.5417 GB Notification: Performance of matching and sorting (n=41): time 0.005436/9.992, allocations: 1.451 MB / 3.854 GB, free: 84.85 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.974e-05/9.992, allocations: 136.1 kB / 3.854 GB, free: 84.69 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007858/9.993, allocations: 478.8 kB / 3.854 GB, free: 84.57 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 4.153e-05/9.993, allocations: 25.7 kB / 3.854 GB, free: 84.54 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002786/9.993, allocations: 426.5 kB / 3.855 GB, free: 84.34 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001291/9.993, allocations: 144.4 kB / 3.855 GB, free: 84.27 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.217e-05/9.993, allocations: 0 / 3.855 GB, free: 84.27 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.000137/9.993, allocations: 370.5 kB / 3.855 GB, free: 83.96 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003911/9.994, allocations: 213.3 kB / 3.856 GB, free: 83.96 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007152/9.995, allocations: 0.5376 MB / 3.856 GB, free: 83.56 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007656/9.995, allocations: 314.9 kB / 3.856 GB, free: 83.56 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.256e-06/9.995, allocations: 2.938 kB / 3.856 GB, free: 83.56 MB / 0.5417 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001812/9.997, allocations: 0.7919 MB / 3.857 GB, free: 83.48 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 3.753e-05/9.997, allocations: 9.469 kB / 3.857 GB, free: 83.48 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.967e-05/9.997, allocations: 12.78 kB / 3.857 GB, free: 83.48 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002913/9.998, allocations: 62.61 kB / 3.857 GB, free: 83.46 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001507/9.999, allocations: 312.3 kB / 3.858 GB, free: 83.46 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00156/10, allocations: 1.939 MB / 3.859 GB, free: 81.69 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009225/10, allocations: 84.75 kB / 3.86 GB, free: 81.69 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.135e-05/10, allocations: 43.44 kB / 3.86 GB, free: 81.69 MB / 0.5417 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.regularFlow[1],volume.regularFlow[2],volume.heatTransfer.states[1].phase,fixedMassFlowRate.medium.phase,ambient.medium.phase,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.0001994/10, allocations: 142.3 kB / 3.86 GB, free: 81.58 MB / 0.5417 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001044/10, allocations: 478.1 kB / 3.86 GB, free: 81.5 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001298/10, allocations: 62.34 kB / 3.86 GB, free: 81.46 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002352/10.01, allocations: 1.861 MB / 3.862 GB, free: 81.27 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.053e-05/10.01, allocations: 27.34 kB / 3.862 GB, free: 81.27 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.886e-06/10.01, allocations: 0 / 3.862 GB, free: 81.27 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.566e-06/10.01, allocations: 6.516 kB / 3.862 GB, free: 81.27 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003228/10.01, allocations: 2.862 MB / 3.865 GB, free: 80.84 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.569e-06/10.01, allocations: 0 / 3.865 GB, free: 80.84 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009552/10.01, allocations: 210.6 kB / 3.865 GB, free: 80.84 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002387/10.01, allocations: 89.27 kB / 3.865 GB, free: 80.83 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.977e-05/10.01, allocations: 4.656 kB / 3.865 GB, free: 80.83 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001057/10.01, allocations: 1.974 MB / 3.867 GB, free: 79.05 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-06/10.01, allocations: 3.906 kB / 3.867 GB, free: 79.05 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002106/10.01, allocations: 1.793 MB / 3.869 GB, free: 78.77 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000369/10.01, allocations: 229.3 kB / 3.869 GB, free: 78.62 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.456e-05/10.01, allocations: 4.094 kB / 3.869 GB, free: 78.62 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005012/10.01, allocations: 52.39 kB / 3.869 GB, free: 78.62 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001298/10.01, allocations: 40.09 kB / 3.869 GB, free: 78.61 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.875e-05/10.01, allocations: 20.67 kB / 3.869 GB, free: 78.61 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.000503/10.01, allocations: 343.1 kB / 3.87 GB, free: 78.52 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.3e-07/10.01, allocations: 0.7188 kB / 3.87 GB, free: 78.52 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.005836/10.02, allocations: 1.087 MB / 3.871 GB, free: 78.52 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (volume.medium.p,volume.medium.h) * Number of discrete variables: 16 ($cse1.region3boundary,$cse2.region3boundary,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,volume.heatTransfer.states[1].phase,fixedMassFlowRate.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 38 * 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.01163/10.03, allocations: 4.021 MB / 3.875 GB, free: 77.55 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.002462/10.03, allocations: 0.8608 MB / 3.875 GB, free: 77.54 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 6.602e-06/10.03, allocations: 0 / 3.875 GB, free: 77.54 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.001416/10.04, allocations: 0.641 MB / 3.876 GB, free: 77.54 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001941/10.04, allocations: 293.3 kB / 3.876 GB, free: 77.54 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006988/10.05, allocations: 2.078 MB / 3.878 GB, free: 77.11 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006969/10.05, allocations: 1.1 MB / 3.879 GB, free: 76.41 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.001307/10.05, allocations: 0.5164 MB / 3.88 GB, free: 76.41 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004227/10.05, allocations: 356 kB / 3.88 GB, free: 76.4 MB / 0.5417 GB Notification: Performance of SimCode: time 9.92e-07/10.05, allocations: 0 / 3.88 GB, free: 76.4 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08144/10.13, allocations: 43.28 MB / 3.922 GB, free: 75.34 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001619/10.13, allocations: 198.5 kB / 3.923 GB, free: 75.08 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.251/13.38, allocations: 0 / 3.923 GB, free: 75.08 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