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.001827/0.001827, allocations: 182.8 kB / 15.76 MB, free: 6.367 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.942/1.942, allocations: 205.4 MB / 221.9 MB, free: 13.84 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.001364/0.001364, allocations: 90.86 kB / 270.2 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2215/0.2215, allocations: 43.56 MB / 362.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003665/0.0003665, allocations: 8 kB / 431.5 MB, free: 19.5 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1349/0.1353, allocations: 58.86 MB / 490.4 MB, free: 8.566 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.372/6.507, allocations: 2.796 GB / 3.275 GB, free: 111.7 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002557/6.507, allocations: 98.11 kB / 3.275 GB, free: 111.7 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.638/8.146, allocations: 0.4947 GB / 3.769 GB, free: 16.44 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.623e-06/8.146, allocations: 0 / 3.769 GB, free: 16.44 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 5.66e-05/8.146, allocations: 18.11 kB / 3.769 GB, free: 16.43 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.007414/8.153, allocations: 1.799 MB / 3.771 GB, free: 14.62 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.351e-05/8.153, allocations: 8.031 kB / 3.771 GB, free: 14.61 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002299/8.154, allocations: 114.5 kB / 3.771 GB, free: 14.49 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002339/8.156, allocations: 325.8 kB / 3.772 GB, free: 14.17 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001293/8.157, allocations: 0.5985 MB / 3.772 GB, free: 13.55 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001104/8.157, allocations: 112.6 kB / 3.772 GB, free: 13.43 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.737e-05/8.157, allocations: 56 kB / 3.772 GB, free: 13.37 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002106/8.16, allocations: 1.162 MB / 3.773 GB, free: 12.11 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.42e-05/8.16, allocations: 7.938 kB / 3.773 GB, free: 12.1 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.83e-05/8.16, allocations: 35.98 kB / 3.773 GB, free: 12.07 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.434e-05/8.16, allocations: 41.3 kB / 3.773 GB, free: 12.03 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001437/8.161, allocations: 0.8284 MB / 3.774 GB, free: 11.2 MB / 0.5105 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.005716/8.167, allocations: 5.508 MB / 3.78 GB, free: 5.359 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001121/8.168, allocations: 0.5772 MB / 3.78 GB, free: 4.762 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.4039/8.572, allocations: 45.9 MB / 3.825 GB, free: 28.93 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.868e-05/8.572, allocations: 41.53 kB / 3.825 GB, free: 28.89 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=42): time 2.535e-06/8.572, allocations: 0 / 3.825 GB, free: 28.89 MB / 0.5105 GB Notification: Performance of matching and sorting (n=46): time 0.005146/8.577, allocations: 1.941 MB / 3.827 GB, free: 28.48 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.741e-05/8.577, allocations: 161.9 kB / 3.827 GB, free: 28.29 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006606/8.578, allocations: 0.5447 MB / 3.828 GB, free: 28.16 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 5.008e-05/8.578, allocations: 35.83 kB / 3.828 GB, free: 28.13 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002061/8.578, allocations: 393.5 kB / 3.828 GB, free: 27.95 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001133/8.578, allocations: 163.6 kB / 3.828 GB, free: 27.88 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.174e-05/8.578, allocations: 17.59 kB / 3.828 GB, free: 27.88 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 9.91e-05/8.579, allocations: 384.1 kB / 3.829 GB, free: 27.56 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003228/8.579, allocations: 222.2 kB / 3.829 GB, free: 27.56 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005005/8.579, allocations: 0.5655 MB / 3.829 GB, free: 27.13 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004734/8.58, allocations: 328.3 kB / 3.83 GB, free: 27.13 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.891e-06/8.58, allocations: 3.031 kB / 3.83 GB, free: 27.13 MB / 0.5105 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001306/8.581, allocations: 0.8617 MB / 3.831 GB, free: 27.05 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 3.348e-05/8.581, allocations: 18.03 kB / 3.831 GB, free: 27.05 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.706e-05/8.581, allocations: 9.359 kB / 3.831 GB, free: 27.05 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003389/8.582, allocations: 67.56 kB / 3.831 GB, free: 27.04 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001178/8.583, allocations: 285.9 kB / 3.831 GB, free: 27.04 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001205/8.584, allocations: 1.982 MB / 3.833 GB, free: 25.21 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006521/8.585, allocations: 68.5 kB / 3.833 GB, free: 25.2 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.821e-05/8.585, allocations: 38.62 kB / 3.833 GB, free: 25.2 MB / 0.5105 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 () * 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.0004099/8.585, allocations: 275.2 kB / 3.833 GB, free: 25.09 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001267/8.585, allocations: 71.11 kB / 3.833 GB, free: 25.05 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00218/8.587, allocations: 2.235 MB / 3.835 GB, free: 24.8 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.758e-05/8.588, allocations: 29.05 kB / 3.836 GB, free: 24.8 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/8.588, allocations: 3.469 kB / 3.836 GB, free: 24.8 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.456e-06/8.588, allocations: 3.953 kB / 3.836 GB, free: 24.8 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003494/8.591, allocations: 3.28 MB / 3.839 GB, free: 24.35 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.21e-06/8.591, allocations: 3.344 kB / 3.839 GB, free: 24.35 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009025/8.592, allocations: 190.9 kB / 3.839 GB, free: 24.35 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000377/8.592, allocations: 92.66 kB / 3.839 GB, free: 24.34 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.726e-05/8.592, allocations: 16.67 kB / 3.839 GB, free: 24.34 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001131/8.594, allocations: 2.003 MB / 3.841 GB, free: 22.5 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/8.594, allocations: 3.969 kB / 3.841 GB, free: 22.5 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002204/8.596, allocations: 1.988 MB / 3.843 GB, free: 22.14 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000599/8.596, allocations: 284.2 kB / 3.843 GB, free: 21.99 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001068/8.597, allocations: 10.22 kB / 3.843 GB, free: 21.99 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006525/8.597, allocations: 59.39 kB / 3.843 GB, free: 21.99 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.392e-05/8.597, allocations: 37.81 kB / 3.843 GB, free: 21.99 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.988e-05/8.597, allocations: 21.98 kB / 3.843 GB, free: 21.99 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0007433/8.598, allocations: 0.5073 MB / 3.844 GB, free: 21.89 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.5e-07/8.598, allocations: 0 / 3.844 GB, free: 21.89 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.005851/8.604, allocations: 1.128 MB / 3.845 GB, free: 21.89 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: 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 () * Number of clocked 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.01093/8.615, allocations: 4.059 MB / 3.849 GB, free: 20.93 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.002075/8.617, allocations: 0.9229 MB / 3.85 GB, free: 20.9 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 6.502e-06/8.617, allocations: 0 / 3.85 GB, free: 20.9 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001077/8.618, allocations: 0.6668 MB / 3.85 GB, free: 20.9 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001841/8.62, allocations: 363.1 kB / 3.851 GB, free: 20.89 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01675/8.637, allocations: 13.22 MB / 3.864 GB, free: 27.47 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007962/8.638, allocations: 1.137 MB / 3.865 GB, free: 26.77 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001106/8.639, allocations: 458.6 kB / 3.865 GB, free: 26.75 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004067/8.639, allocations: 398.5 kB / 3.866 GB, free: 26.75 MB / 0.5261 GB Notification: Performance of SimCode: time 9.72e-07/8.639, allocations: 2.75 kB / 3.866 GB, free: 26.75 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08655/8.726, allocations: 51.12 MB / 3.916 GB, free: 23.91 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002548/8.726, allocations: 284.9 kB / 3.916 GB, free: 23.54 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.955/12.68, allocations: 3.938 kB / 3.916 GB, free: 23.54 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