Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.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) 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(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Water_WaterIF97OnePhase_ph",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_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.001257/0.001257, allocations: 180.9 kB / 17.01 MB, free: 5.125 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.545/1.545, allocations: 205.4 MB / 223.1 MB, free: 9.121 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.0008515/0.0008514, allocations: 92.86 kB / 271.5 MB, free: 8.367 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002699/0.0002699, allocations: 8 kB / 328.4 MB, free: 15.43 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2656/0.2659, allocations: 47.57 MB / 375.9 MB, free: 45.64 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.96/6.226, allocations: 2.742 GB / 3.109 GB, free: 130.2 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002894/6.227, allocations: 98.94 kB / 3.109 GB, free: 130.2 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.307/7.533, allocations: 428.3 MB / 3.527 GB, free: 47.34 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.744e-06/7.534, allocations: 0 / 3.527 GB, free: 47.34 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.566e-05/7.534, allocations: 3.844 kB / 3.527 GB, free: 47.34 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.004174/7.538, allocations: 1.245 MB / 3.528 GB, free: 46.56 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.214e-05/7.538, allocations: 14.94 kB / 3.528 GB, free: 46.56 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001454/7.538, allocations: 68.5 kB / 3.528 GB, free: 46.5 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001331/7.539, allocations: 163.3 kB / 3.529 GB, free: 46.47 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004472/7.54, allocations: 313.9 kB / 3.529 GB, free: 46.21 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.287e-05/7.54, allocations: 23.66 kB / 3.529 GB, free: 46.2 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.404e-05/7.54, allocations: 28.75 kB / 3.529 GB, free: 46.19 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001131/7.541, allocations: 0.5189 MB / 3.53 GB, free: 45.95 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.974e-05/7.541, allocations: 6.844 kB / 3.53 GB, free: 45.94 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.808e-05/7.541, allocations: 15.88 kB / 3.53 GB, free: 45.93 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.927e-06/7.541, allocations: 11.41 kB / 3.53 GB, free: 45.93 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005763/7.542, allocations: 324.6 kB / 3.53 GB, free: 45.84 MB / 426.7 MB 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.002466/7.544, allocations: 2.565 MB / 3.532 GB, free: 43.48 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004984/7.545, allocations: 273.3 kB / 3.533 GB, free: 43.27 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05055/7.595, allocations: 30.75 MB / 3.563 GB, free: 9.621 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.29e-05/7.595, allocations: 42.5 kB / 3.563 GB, free: 9.57 MB / 426.7 MB Notification: Performance of pre-optimization done (n=27): time 2.235e-06/7.595, allocations: 0 / 3.563 GB, free: 9.57 MB / 426.7 MB Notification: Performance of matching and sorting (n=31): time 0.003496/7.599, allocations: 1.223 MB / 3.564 GB, free: 8.27 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.378e-05/7.599, allocations: 55.41 kB / 3.564 GB, free: 8.203 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002624/7.599, allocations: 237.6 kB / 3.564 GB, free: 7.965 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.28e-05/7.599, allocations: 33.7 kB / 3.564 GB, free: 7.926 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.423e-05/7.599, allocations: 188.1 kB / 3.564 GB, free: 7.738 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.298e-05/7.599, allocations: 111.2 kB / 3.564 GB, free: 7.633 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.498e-05/7.599, allocations: 11.94 kB / 3.564 GB, free: 7.621 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.713e-05/7.599, allocations: 334.8 kB / 3.565 GB, free: 7.285 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001391/7.6, allocations: 100.8 kB / 3.565 GB, free: 7.184 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001794/7.6, allocations: 202.9 kB / 3.565 GB, free: 6.934 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002093/7.6, allocations: 131.9 kB / 3.565 GB, free: 6.805 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/7.6, allocations: 4 kB / 3.565 GB, free: 6.801 MB / 426.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.000653/7.601, allocations: 419.7 kB / 3.566 GB, free: 6.379 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.978e-05/7.601, allocations: 8.094 kB / 3.566 GB, free: 6.371 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.797e-06/7.601, allocations: 4 kB / 3.566 GB, free: 6.367 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002626/7.601, allocations: 61.69 kB / 3.566 GB, free: 6.301 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003383/7.601, allocations: 91.83 kB / 3.566 GB, free: 6.211 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001194/7.603, allocations: 2.434 MB / 3.568 GB, free: 3.598 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003109/7.603, allocations: 35.83 kB / 3.568 GB, free: 3.562 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.709e-05/7.603, allocations: 15.94 kB / 3.568 GB, free: 3.547 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 3 (ambient.medium.phase,fixedMassFlowRate.medium.phase,volume.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 42 * 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: 2 * 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: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002069/7.603, allocations: 161.9 kB / 3.568 GB, free: 3.379 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.638e-05/7.603, allocations: 27.72 kB / 3.568 GB, free: 3.352 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009026/7.604, allocations: 0.8745 MB / 3.569 GB, free: 2.465 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.266e-05/7.604, allocations: 15.94 kB / 3.569 GB, free: 2.449 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.845e-06/7.604, allocations: 4 kB / 3.569 GB, free: 2.445 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007908/7.605, allocations: 1.038 MB / 3.57 GB, free: 1.32 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001945/7.607, allocations: 1.493 MB / 3.572 GB, free: 15.77 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.408e-06/7.607, allocations: 0 / 3.572 GB, free: 15.77 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002407/7.607, allocations: 59.86 kB / 3.572 GB, free: 15.71 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003704/7.608, allocations: 72.8 kB / 3.572 GB, free: 15.63 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.992e-05/7.608, allocations: 4 kB / 3.572 GB, free: 15.63 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004808/7.608, allocations: 0.5991 MB / 3.572 GB, free: 15 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.809e-06/7.608, allocations: 3.984 kB / 3.572 GB, free: 15 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001242/7.609, allocations: 0.816 MB / 3.573 GB, free: 14.16 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002256/7.61, allocations: 132.5 kB / 3.573 GB, free: 14.02 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.116e-05/7.61, allocations: 8.156 kB / 3.573 GB, free: 14.01 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004198/7.61, allocations: 47.89 kB / 3.573 GB, free: 13.96 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.267e-05/7.61, allocations: 15.92 kB / 3.573 GB, free: 13.95 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.314e-05/7.61, allocations: 15.98 kB / 3.573 GB, free: 13.93 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0003071/7.611, allocations: 239 kB / 3.574 GB, free: 13.7 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.5e-07/7.611, allocations: 3.938 kB / 3.574 GB, free: 13.69 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.005135/7.616, allocations: 0.886 MB / 3.575 GB, free: 12.8 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (volume.medium.p,volume.medium.h) * Number of discrete variables: 4 ($cse2.phase,$cse2.region,$cse3.phase,$cse3.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 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.009778/7.625, allocations: 2.589 MB / 3.577 GB, free: 10.35 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001051/7.627, allocations: 480.6 kB / 3.578 GB, free: 9.871 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/7.627, allocations: 0 / 3.578 GB, free: 9.871 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003916/7.627, allocations: 252.3 kB / 3.578 GB, free: 9.625 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001003/7.628, allocations: 183.8 kB / 3.578 GB, free: 9.457 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00721/7.635, allocations: 5.034 MB / 3.583 GB, free: 4.309 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004614/7.636, allocations: 0.825 MB / 3.584 GB, free: 3.453 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0004648/7.636, allocations: 188.5 kB / 3.584 GB, free: 3.277 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002067/7.636, allocations: 147.4 kB / 3.584 GB, free: 3.133 MB / 442.7 MB Notification: Performance of SimCode: time 1.002e-06/7.636, allocations: 0 / 3.584 GB, free: 3.133 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3042/7.941, allocations: 35.31 MB / 3.618 GB, free: 68.99 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001617/7.941, allocations: 234.9 kB / 3.619 GB, free: 68.75 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.007/10.95, allocations: 1.281 kB / 3.619 GB, free: 68.75 MB / 442.7 MB (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Water_WaterIF97OnePhase_ph_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Water_WaterIF97OnePhase_ph.fmu > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph_res.mat does not exist to compare? outputFormat=mat