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.001101/0.001101, allocations: 179.1 kB / 8.697 MB, free: 388 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.674/1.674, allocations: 205.3 MB / 214.4 MB, free: 1.668 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009283/0.0009282, allocations: 94.69 kB / 262.5 MB, free: 1.602 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.811e-05/1.813e-05, allocations: 4 kB / 315.6 MB, free: 22.6 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1148/0.1149, allocations: 47.59 MB / 363.2 MB, free: 6.949 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.001/6.116, allocations: 2.741 GB / 3.096 GB, free: 111.5 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003152/6.116, allocations: 96.06 kB / 3.096 GB, free: 111.5 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.53/7.646, allocations: 423.1 MB / 3.509 GB, free: 27.24 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.365e-06/7.646, allocations: 0 / 3.509 GB, free: 27.24 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.875e-05/7.646, allocations: 12 kB / 3.509 GB, free: 27.23 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.006352/7.652, allocations: 1.21 MB / 3.51 GB, free: 26.01 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.384e-05/7.652, allocations: 12.03 kB / 3.51 GB, free: 26 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001527/7.654, allocations: 160.1 kB / 3.511 GB, free: 25.85 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004908/7.654, allocations: 332.7 kB / 3.511 GB, free: 25.49 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.122e-05/7.654, allocations: 8 kB / 3.511 GB, free: 25.48 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.903e-05/7.655, allocations: 20 kB / 3.511 GB, free: 25.46 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004042/7.655, allocations: 254.6 kB / 3.511 GB, free: 25.21 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005272/7.655, allocations: 355.6 kB / 3.512 GB, free: 24.83 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.815e-05/7.656, allocations: 0 / 3.512 GB, free: 24.83 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.88e-05/7.656, allocations: 4 kB / 3.512 GB, free: 24.83 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.039e-05/7.656, allocations: 8 kB / 3.512 GB, free: 24.82 MB / 426.7 MB 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.06511/7.721, allocations: 33.2 MB / 3.544 GB, free: 3.988 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004537/7.721, allocations: 194.8 kB / 3.544 GB, free: 3.789 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001825/7.721, allocations: 100.8 kB / 3.544 GB, free: 3.688 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.4262/8.148, allocations: 30.86 MB / 3.574 GB, free: 50.25 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.287e-05/8.148, allocations: 35.41 kB / 3.574 GB, free: 50.21 MB / 442.7 MB Notification: Performance of pre-optimization done (n=25): time 2.936e-06/8.148, allocations: 0 / 3.574 GB, free: 50.21 MB / 442.7 MB Notification: Performance of matching and sorting (n=29): time 0.00317/8.151, allocations: 0.9185 MB / 3.575 GB, free: 49.91 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.64e-05/8.151, allocations: 55.38 kB / 3.575 GB, free: 49.85 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002861/8.151, allocations: 209.8 kB / 3.576 GB, free: 49.75 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 5.473e-05/8.151, allocations: 25.7 kB / 3.576 GB, free: 49.72 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001335/8.151, allocations: 196.8 kB / 3.576 GB, free: 49.6 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000104/8.152, allocations: 101.7 kB / 3.576 GB, free: 49.55 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.678e-05/8.152, allocations: 3.812 kB / 3.576 GB, free: 49.55 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001213/8.152, allocations: 334.4 kB / 3.576 GB, free: 49.23 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001575/8.152, allocations: 83.38 kB / 3.576 GB, free: 49.23 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002213/8.152, allocations: 204.2 kB / 3.576 GB, free: 49.09 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003253/8.152, allocations: 118.1 kB / 3.577 GB, free: 49.09 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.594e-06/8.152, allocations: 4.656 kB / 3.577 GB, free: 49.09 MB / 442.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0008106/8.153, allocations: 376.2 kB / 3.577 GB, free: 49.03 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.501e-05/8.153, allocations: 7.219 kB / 3.577 GB, free: 49.03 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.174e-05/8.153, allocations: 3.219 kB / 3.577 GB, free: 49.03 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002341/8.154, allocations: 58.39 kB / 3.577 GB, free: 49.01 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000354/8.154, allocations: 87.12 kB / 3.577 GB, free: 49.01 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001269/8.155, allocations: 2.382 MB / 3.579 GB, free: 46.72 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003149/8.156, allocations: 24.66 kB / 3.579 GB, free: 46.72 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.285e-05/8.156, allocations: 17.84 kB / 3.579 GB, free: 46.72 MB / 442.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 () * 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.000132/8.156, allocations: 120 kB / 3.58 GB, free: 46.61 MB / 442.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000528/8.156, allocations: 273 kB / 3.58 GB, free: 46.54 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.139e-05/8.156, allocations: 28.77 kB / 3.58 GB, free: 46.53 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009283/8.157, allocations: 0.7503 MB / 3.581 GB, free: 46.43 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.178e-05/8.157, allocations: 11.03 kB / 3.581 GB, free: 46.43 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/8.157, allocations: 3.75 kB / 3.581 GB, free: 46.43 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007341/8.158, allocations: 0.9779 MB / 3.582 GB, free: 45.94 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001525/8.16, allocations: 1.306 MB / 3.583 GB, free: 45.57 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.3e-06/8.16, allocations: 0 / 3.583 GB, free: 45.57 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002119/8.16, allocations: 58.64 kB / 3.583 GB, free: 45.57 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002035/8.16, allocations: 70.19 kB / 3.583 GB, free: 45.56 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.437e-05/8.16, allocations: 3.844 kB / 3.583 GB, free: 45.56 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003049/8.16, allocations: 0.6237 MB / 3.584 GB, free: 45.04 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/8.16, allocations: 0 / 3.584 GB, free: 45.04 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008555/8.161, allocations: 0.8174 MB / 3.584 GB, free: 44.8 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001101/8.161, allocations: 105.2 kB / 3.584 GB, free: 44.69 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.562e-05/8.161, allocations: 7.359 kB / 3.584 GB, free: 44.69 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003615/8.162, allocations: 36.91 kB / 3.584 GB, free: 44.68 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.178e-05/8.162, allocations: 22.06 kB / 3.585 GB, free: 44.68 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.872e-05/8.162, allocations: 21.41 kB / 3.585 GB, free: 44.68 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0001628/8.162, allocations: 151 kB / 3.585 GB, free: 44.61 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.21e-07/8.162, allocations: 0 / 3.585 GB, free: 44.61 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.004952/8.167, allocations: 0.8578 MB / 3.586 GB, free: 44.61 MB / 442.7 MB 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: 4 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 27 * 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.009573/8.177, allocations: 2.786 MB / 3.588 GB, free: 43.71 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001075/8.178, allocations: 459.8 kB / 3.589 GB, free: 43.61 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/8.178, allocations: 0 / 3.589 GB, free: 43.61 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003753/8.178, allocations: 237.7 kB / 3.589 GB, free: 43.6 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009398/8.179, allocations: 145.5 kB / 3.589 GB, free: 43.6 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004545/8.184, allocations: 1.04 MB / 3.59 GB, free: 43.38 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003758/8.184, allocations: 0.8143 MB / 3.591 GB, free: 42.68 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0005218/8.185, allocations: 213.8 kB / 3.591 GB, free: 42.67 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000201/8.185, allocations: 128.5 kB / 3.591 GB, free: 42.66 MB / 442.7 MB Notification: Performance of SimCode: time 1.052e-06/8.185, allocations: 0 / 3.591 GB, free: 42.66 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09331/8.278, allocations: 29.84 MB / 3.62 GB, free: 41.05 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001837/8.278, allocations: 166.4 kB / 3.62 GB, free: 40.86 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.001/11.28, allocations: 3.906 kB / 3.62 GB, free: 40.86 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