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.002461/0.002461, allocations: 182.8 kB / 13.19 MB, free: 2.129 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.91/1.91, allocations: 205.2 MB / 218.9 MB, free: 9.211 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.001078/0.001078, allocations: 85.02 kB / 267 MB, free: 9.289 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.44/0.44, allocations: 43.46 MB / 358.6 MB, free: 51.58 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.86e-05/2.861e-05, allocations: 0 / 425.4 MB, free: 8.098 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1381/0.1381, allocations: 58.84 MB / 484.3 MB, free: 13.14 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.097/8.235, allocations: 2.796 GB / 3.268 GB, free: 103.2 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000368/8.235, allocations: 90.27 kB / 3.269 GB, free: 103.2 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.742/9.977, allocations: 0.4933 GB / 3.762 GB, free: 18.5 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.834e-06/9.978, allocations: 4 kB / 3.762 GB, free: 18.5 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 5.965e-05/9.978, allocations: 23.83 kB / 3.762 GB, free: 18.48 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.006696/9.984, allocations: 1.751 MB / 3.764 GB, free: 16.7 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.899e-05/9.984, allocations: 8.797 kB / 3.764 GB, free: 16.7 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001556/9.984, allocations: 114.4 kB / 3.764 GB, free: 16.57 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002243/9.987, allocations: 330.6 kB / 3.764 GB, free: 16.25 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001106/9.988, allocations: 0.5976 MB / 3.765 GB, free: 15.62 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001023/9.988, allocations: 120.3 kB / 3.765 GB, free: 15.5 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.008e-05/9.988, allocations: 57.95 kB / 3.765 GB, free: 15.44 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002043/9.99, allocations: 1.205 MB / 3.766 GB, free: 14.14 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.426e-05/9.99, allocations: 7.891 kB / 3.766 GB, free: 14.13 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.417e-05/9.99, allocations: 24 kB / 3.766 GB, free: 14.11 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.733e-05/9.99, allocations: 45.3 kB / 3.766 GB, free: 14.06 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001803/9.992, allocations: 0.9846 MB / 3.767 GB, free: 13.08 MB / 0.5105 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.005306/9.997, allocations: 5.622 MB / 3.772 GB, free: 7.133 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001788/9.999, allocations: 0.7402 MB / 3.773 GB, free: 6.379 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003536/10, allocations: 249.6 kB / 3.773 GB, free: 6.129 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3867/10.39, allocations: 15.76 MB / 3.789 GB, free: 46.12 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.119e-05/10.39, allocations: 46.34 kB / 3.789 GB, free: 46.09 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=45): time 2.655e-06/10.39, allocations: 0 / 3.789 GB, free: 46.09 MB / 0.5105 GB Notification: Performance of matching and sorting (n=49): time 0.005907/10.39, allocations: 2.019 MB / 3.791 GB, free: 45.69 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.918e-05/10.39, allocations: 162 kB / 3.791 GB, free: 45.5 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007182/10.39, allocations: 0.5323 MB / 3.792 GB, free: 45.37 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 5.131e-05/10.39, allocations: 32.45 kB / 3.792 GB, free: 45.34 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002399/10.39, allocations: 388.1 kB / 3.792 GB, free: 45.16 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001377/10.39, allocations: 175.5 kB / 3.792 GB, free: 45.08 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.559e-05/10.39, allocations: 18.91 kB / 3.792 GB, free: 45.08 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001381/10.39, allocations: 377.5 kB / 3.792 GB, free: 44.77 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003284/10.39, allocations: 240 kB / 3.793 GB, free: 44.77 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000578/10.39, allocations: 0.563 MB / 3.793 GB, free: 44.37 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000625/10.4, allocations: 332 kB / 3.794 GB, free: 44.36 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.304e-06/10.4, allocations: 2.781 kB / 3.794 GB, free: 44.36 MB / 0.5105 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001391/10.4, allocations: 0.8806 MB / 3.794 GB, free: 44.27 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.248e-05/10.4, allocations: 6.719 kB / 3.794 GB, free: 44.27 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.655e-05/10.4, allocations: 15.64 kB / 3.794 GB, free: 44.27 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000283/10.4, allocations: 67.22 kB / 3.795 GB, free: 44.27 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001259/10.4, allocations: 305.5 kB / 3.795 GB, free: 44.27 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001305/10.4, allocations: 1.976 MB / 3.797 GB, free: 42.44 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008413/10.4, allocations: 94.19 kB / 3.797 GB, free: 42.43 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.517e-05/10.4, allocations: 39 kB / 3.797 GB, free: 42.43 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 () * 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.0002098/10.4, allocations: 163.1 kB / 3.797 GB, free: 42.32 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001517/10.4, allocations: 71.22 kB / 3.797 GB, free: 42.29 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002849/10.4, allocations: 2.574 MB / 3.8 GB, free: 42.02 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.303e-05/10.4, allocations: 38.05 kB / 3.8 GB, free: 42.02 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.379e-06/10.4, allocations: 3.156 kB / 3.8 GB, free: 42.02 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.048e-05/10.4, allocations: 3.234 kB / 3.8 GB, free: 42.02 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004171/10.41, allocations: 3.756 MB / 3.803 GB, free: 41.55 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.793e-06/10.41, allocations: 0 / 3.803 GB, free: 41.55 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0011/10.41, allocations: 245.5 kB / 3.804 GB, free: 41.55 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000334/10.41, allocations: 87.58 kB / 3.804 GB, free: 41.54 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.657e-05/10.41, allocations: 9.781 kB / 3.804 GB, free: 41.54 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001189/10.41, allocations: 2.003 MB / 3.806 GB, free: 39.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/10.41, allocations: 0 / 3.806 GB, free: 39.7 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002412/10.41, allocations: 2.235 MB / 3.808 GB, free: 39.34 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004939/10.41, allocations: 334.6 kB / 3.808 GB, free: 39.17 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.425e-05/10.41, allocations: 10.03 kB / 3.808 GB, free: 39.17 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005689/10.41, allocations: 65.97 kB / 3.808 GB, free: 39.17 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001222/10.41, allocations: 51.38 kB / 3.808 GB, free: 39.17 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.957e-05/10.41, allocations: 20.55 kB / 3.808 GB, free: 39.17 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0009063/10.42, allocations: 0.5457 MB / 3.809 GB, free: 39.07 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.5e-07/10.42, allocations: 0 / 3.809 GB, free: 39.07 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.005739/10.42, allocations: 1.136 MB / 3.81 GB, free: 39.07 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 () * 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.01091/10.43, allocations: 4.304 MB / 3.814 GB, free: 38.08 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.00222/10.43, allocations: 1.018 MB / 3.815 GB, free: 38.06 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 6.111e-06/10.43, allocations: 3.969 kB / 3.815 GB, free: 38.06 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001199/10.44, allocations: 0.7603 MB / 3.816 GB, free: 38.05 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002071/10.44, allocations: 376.1 kB / 3.816 GB, free: 38.05 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007239/10.45, allocations: 2.458 MB / 3.819 GB, free: 37.57 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006253/10.45, allocations: 1.192 MB / 3.82 GB, free: 36.86 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0009584/10.45, allocations: 433.9 kB / 3.82 GB, free: 36.85 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004825/10.45, allocations: 445.2 kB / 3.821 GB, free: 36.84 MB / 0.5105 GB Notification: Performance of SimCode: time 1.283e-06/10.45, allocations: 0 / 3.821 GB, free: 36.84 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1156/10.56, allocations: 55.43 MB / 3.875 GB, free: 35 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002114/10.56, allocations: 237.4 kB / 3.875 GB, free: 34.68 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.796/14.36, allocations: 0 / 3.875 GB, free: 34.68 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