Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_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.WaterIF97OnePhase_ph,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_WaterIF97OnePhase_ph",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph,fileNamePrefix="ModelicaTest_3_2_3_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 3.2.3+maint.om/package.mo): time 0.001635/0.001635, allocations: 183.5 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.854/1.854, allocations: 205.2 MB / 218.9 MB, free: 9.207 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.0009465/0.0009481, allocations: 97.11 kB / 267.1 MB, free: 9.266 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.428/0.428, allocations: 43.47 MB / 358.6 MB, free: 51.54 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.6e-05/3.602e-05, allocations: 7.984 kB / 425.4 MB, free: 8.078 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1535/0.1536, allocations: 58.83 MB / 484.3 MB, free: 13.14 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.53/7.684, allocations: 2.796 GB / 3.268 GB, free: 103.2 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002627/7.684, allocations: 100 kB / 3.269 GB, free: 103.1 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.8/9.484, allocations: 0.4934 GB / 3.762 GB, free: 13.48 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.984e-06/9.484, allocations: 0 / 3.762 GB, free: 13.48 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001172/9.484, allocations: 16 kB / 3.762 GB, free: 13.46 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.008768/9.493, allocations: 1.719 MB / 3.764 GB, free: 11.73 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.965e-05/9.493, allocations: 11.97 kB / 3.764 GB, free: 11.71 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003824/9.493, allocations: 106.5 kB / 3.764 GB, free: 11.6 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002761/9.496, allocations: 331 kB / 3.764 GB, free: 11.28 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001669/9.498, allocations: 0.5988 MB / 3.765 GB, free: 10.65 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001437/9.498, allocations: 117.9 kB / 3.765 GB, free: 10.53 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001944/9.498, allocations: 58.66 kB / 3.765 GB, free: 10.47 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002662/9.501, allocations: 1.199 MB / 3.766 GB, free: 9.176 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.782e-05/9.501, allocations: 7.891 kB / 3.766 GB, free: 9.168 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000151/9.501, allocations: 30.58 kB / 3.766 GB, free: 9.141 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001039/9.501, allocations: 41.3 kB / 3.766 GB, free: 9.102 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001754/9.503, allocations: 0.8481 MB / 3.767 GB, free: 8.254 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.006711/9.51, allocations: 5.506 MB / 3.772 GB, free: 2.418 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001179/9.511, allocations: 0.6024 MB / 3.773 GB, free: 1.797 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000305/9.511, allocations: 217.7 kB / 3.773 GB, free: 1.578 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.6014/10.11, allocations: 46.07 MB / 3.818 GB, free: 37.71 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001084/10.11, allocations: 49.78 kB / 3.818 GB, free: 37.67 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=42): time 6.803e-06/10.11, allocations: 0 / 3.818 GB, free: 37.67 MB / 0.5261 GB Notification: Performance of matching and sorting (n=46): time 0.007116/10.12, allocations: 1.836 MB / 3.82 GB, free: 37.26 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001505/10.12, allocations: 157.8 kB / 3.82 GB, free: 37.07 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001415/10.12, allocations: 0.5389 MB / 3.821 GB, free: 36.94 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0001164/10.12, allocations: 39.52 kB / 3.821 GB, free: 36.91 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004955/10.12, allocations: 397.3 kB / 3.821 GB, free: 36.73 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002449/10.12, allocations: 166 kB / 3.821 GB, free: 36.65 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.23e-05/10.12, allocations: 14.31 kB / 3.821 GB, free: 36.65 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0002747/10.12, allocations: 373.1 kB / 3.822 GB, free: 36.34 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004532/10.12, allocations: 221.6 kB / 3.822 GB, free: 36.34 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000684/10.12, allocations: 0.5521 MB / 3.822 GB, free: 35.91 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006329/10.12, allocations: 329.1 kB / 3.823 GB, free: 35.91 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.147e-05/10.12, allocations: 3.094 kB / 3.823 GB, free: 35.91 MB / 0.5261 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.00179/10.13, allocations: 0.848 MB / 3.823 GB, free: 35.83 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 4.654e-05/10.13, allocations: 9.938 kB / 3.823 GB, free: 35.83 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.607e-05/10.13, allocations: 11.34 kB / 3.823 GB, free: 35.83 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004078/10.13, allocations: 69.03 kB / 3.824 GB, free: 35.82 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001341/10.13, allocations: 281.9 kB / 3.824 GB, free: 35.82 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002376/10.13, allocations: 1.969 MB / 3.826 GB, free: 33.99 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001117/10.13, allocations: 68.39 kB / 3.826 GB, free: 33.98 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001214/10.13, allocations: 46.53 kB / 3.826 GB, free: 33.98 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.000396/10.13, allocations: 163.5 kB / 3.826 GB, free: 33.88 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003291/10.13, allocations: 68.59 kB / 3.826 GB, free: 33.84 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003446/10.14, allocations: 2.217 MB / 3.828 GB, free: 33.59 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.556e-05/10.14, allocations: 30.05 kB / 3.828 GB, free: 33.59 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/10.14, allocations: 1.5 kB / 3.828 GB, free: 33.59 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.232e-05/10.14, allocations: 8.125 kB / 3.828 GB, free: 33.59 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00621/10.14, allocations: 3.275 MB / 3.831 GB, free: 33.14 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.114e-05/10.14, allocations: 3.938 kB / 3.831 GB, free: 33.14 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009568/10.14, allocations: 193 kB / 3.832 GB, free: 33.14 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004087/10.14, allocations: 87.72 kB / 3.832 GB, free: 33.13 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.983e-05/10.14, allocations: 15.19 kB / 3.832 GB, free: 33.13 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001966/10.15, allocations: 1.996 MB / 3.834 GB, free: 31.29 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.118e-06/10.15, allocations: 0.6094 kB / 3.834 GB, free: 31.29 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002981/10.15, allocations: 1.976 MB / 3.836 GB, free: 30.93 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008528/10.15, allocations: 286.3 kB / 3.836 GB, free: 30.78 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002621/10.15, allocations: 11.59 kB / 3.836 GB, free: 30.78 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008801/10.15, allocations: 64.39 kB / 3.836 GB, free: 30.78 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001225/10.15, allocations: 32.8 kB / 3.836 GB, free: 30.78 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.232e-05/10.15, allocations: 21.95 kB / 3.836 GB, free: 30.78 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001165/10.15, allocations: 0.498 MB / 3.837 GB, free: 30.68 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3.91e-07/10.15, allocations: 0 / 3.837 GB, free: 30.68 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.008575/10.16, allocations: 1.126 MB / 3.838 GB, free: 30.68 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: 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.0183/10.18, allocations: 4.036 MB / 3.842 GB, free: 29.72 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.003435/10.18, allocations: 0.9178 MB / 3.842 GB, free: 29.7 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.268e-05/10.18, allocations: 2.984 kB / 3.842 GB, free: 29.7 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001574/10.18, allocations: 0.6636 MB / 3.843 GB, free: 29.7 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002593/10.19, allocations: 369.7 kB / 3.843 GB, free: 29.69 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01005/10.2, allocations: 2.262 MB / 3.846 GB, free: 29.22 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001485/10.2, allocations: 1.138 MB / 3.847 GB, free: 28.5 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001614/10.2, allocations: 446.8 kB / 3.847 GB, free: 28.48 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006477/10.2, allocations: 404.9 kB / 3.848 GB, free: 28.47 MB / 0.5261 GB Notification: Performance of SimCode: time 1.072e-06/10.2, allocations: 0 / 3.848 GB, free: 28.47 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1151/10.32, allocations: 53.66 MB / 3.9 GB, free: 25.44 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002675/10.32, allocations: 246.4 kB / 3.9 GB, free: 25.11 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.855/14.17, allocations: 0 / 3.9 GB, free: 25.11 MB / 0.5261 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_WaterIF97OnePhase_ph_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_WaterIF97OnePhase_ph.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph_res.mat does not exist to compare? outputFormat=mat