Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.00135/0.00135, allocations: 187.9 kB / 8.353 MB, free: 0.707 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.439/1.439, allocations: 194.3 MB / 203.1 MB, free: 9.32 MB / 171.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001745/0.001745, allocations: 111.5 kB / 248.1 MB, free: 6.359 MB / 203.1 MB Notification: Performance of FrontEnd - loaded program: time 1.642e-05/1.653e-05, allocations: 0 / 298.1 MB, free: 8.23 MB / 251.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09134/0.09138, allocations: 44.49 MB / 342.6 MB, free: 11.64 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.588/6.679, allocations: 2.575 GB / 2.91 GB, free: 64.38 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002679/6.679, allocations: 89.28 kB / 2.91 GB, free: 64.34 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.624/8.303, allocations: 425.9 MB / 3.326 GB, free: 38.24 MB / 411.1 MB Notification: Performance of FrontEnd: time 1.583e-06/8.303, allocations: 2.062 kB / 3.326 GB, free: 38.24 MB / 411.1 MB Notification: Performance of Transformations before backend: time 2.077e-05/8.303, allocations: 9.469 kB / 3.326 GB, free: 38.24 MB / 411.1 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.004277/8.307, allocations: 1.206 MB / 3.327 GB, free: 37.66 MB / 411.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.356e-05/8.307, allocations: 10.72 kB / 3.327 GB, free: 37.66 MB / 411.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001363/8.309, allocations: 157.7 kB / 3.327 GB, free: 37.64 MB / 411.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003792/8.309, allocations: 318.4 kB / 3.327 GB, free: 37.44 MB / 411.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.374e-05/8.309, allocations: 11.62 kB / 3.327 GB, free: 37.44 MB / 411.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.885e-05/8.309, allocations: 24.75 kB / 3.327 GB, free: 37.44 MB / 411.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003979/8.309, allocations: 245.5 kB / 3.328 GB, free: 37.44 MB / 411.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005203/8.31, allocations: 361.8 kB / 3.328 GB, free: 37.32 MB / 411.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.824e-05/8.31, allocations: 3.875 kB / 3.328 GB, free: 37.32 MB / 411.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.719e-05/8.31, allocations: 352 / 3.328 GB, free: 37.32 MB / 411.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.407e-05/8.31, allocations: 14.05 kB / 3.328 GB, free: 37.32 MB / 411.1 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.06095/8.371, allocations: 33.19 MB / 3.36 GB, free: 33.41 MB / 427.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000312/8.371, allocations: 196.2 kB / 3.361 GB, free: 33.38 MB / 427.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001508/8.372, allocations: 96.53 kB / 3.361 GB, free: 33.37 MB / 427.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05908/8.431, allocations: 30.87 MB / 3.391 GB, free: 30.32 MB / 443.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.098e-05/8.431, allocations: 37.69 kB / 3.391 GB, free: 30.28 MB / 443.1 MB Notification: Performance of pre-optimization done (n=25): time 2.595e-06/8.431, allocations: 4 kB / 3.391 GB, free: 30.28 MB / 443.1 MB Notification: Performance of matching and sorting (n=29): time 0.002571/8.433, allocations: 0.9116 MB / 3.392 GB, free: 29.96 MB / 443.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.893e-05/8.433, allocations: 61.09 kB / 3.392 GB, free: 29.89 MB / 443.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001954/8.434, allocations: 204.4 kB / 3.392 GB, free: 29.8 MB / 443.1 MB Notification: Performance of collectPreVariables (initialization): time 3.761e-05/8.434, allocations: 28.7 kB / 3.392 GB, free: 29.77 MB / 443.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.974e-05/8.434, allocations: 201.6 kB / 3.392 GB, free: 29.62 MB / 443.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.704e-05/8.434, allocations: 98.78 kB / 3.392 GB, free: 29.55 MB / 443.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.375e-05/8.434, allocations: 3.219 kB / 3.392 GB, free: 29.55 MB / 443.1 MB Notification: Performance of setup shared object (initialization): time 0.0001144/8.434, allocations: 335.9 kB / 3.393 GB, free: 29.24 MB / 443.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001212/8.434, allocations: 84.25 kB / 3.393 GB, free: 29.23 MB / 443.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001549/8.434, allocations: 203.1 kB / 3.393 GB, free: 29.09 MB / 443.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002712/8.434, allocations: 122.4 kB / 3.393 GB, free: 29.09 MB / 443.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.205e-06/8.434, allocations: 0 / 3.393 GB, free: 29.09 MB / 443.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0006758/8.435, allocations: 370 kB / 3.393 GB, free: 29.02 MB / 443.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.707e-05/8.435, allocations: 11.05 kB / 3.393 GB, free: 29.02 MB / 443.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.997e-06/8.435, allocations: 6 kB / 3.393 GB, free: 29.02 MB / 443.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000212/8.435, allocations: 60.59 kB / 3.394 GB, free: 29 MB / 443.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003378/8.436, allocations: 84.09 kB / 3.394 GB, free: 29 MB / 443.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001632/8.437, allocations: 2.373 MB / 3.396 GB, free: 26.7 MB / 443.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000248/8.438, allocations: 26.22 kB / 3.396 GB, free: 26.69 MB / 443.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.717e-05/8.438, allocations: 17.22 kB / 3.396 GB, free: 26.69 MB / 443.1 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.0001262/8.438, allocations: 130.6 kB / 3.396 GB, free: 26.57 MB / 443.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.578e-05/8.438, allocations: 28.59 kB / 3.396 GB, free: 26.56 MB / 443.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008541/8.439, allocations: 0.7493 MB / 3.397 GB, free: 26.45 MB / 443.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.027e-05/8.439, allocations: 5.828 kB / 3.397 GB, free: 26.45 MB / 443.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.305e-06/8.439, allocations: 2.062 kB / 3.397 GB, free: 26.45 MB / 443.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008002/8.44, allocations: 0.9725 MB / 3.398 GB, free: 25.96 MB / 443.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001421/8.441, allocations: 1.326 MB / 3.399 GB, free: 25.57 MB / 443.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.16e-06/8.441, allocations: 6.922 kB / 3.399 GB, free: 25.57 MB / 443.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000196/8.441, allocations: 53.84 kB / 3.399 GB, free: 25.57 MB / 443.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000208/8.441, allocations: 71.44 kB / 3.399 GB, free: 25.55 MB / 443.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.81e-05/8.442, allocations: 3.656 kB / 3.399 GB, free: 25.55 MB / 443.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003562/8.442, allocations: 0.614 MB / 3.4 GB, free: 25.03 MB / 443.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/8.442, allocations: 3.969 kB / 3.4 GB, free: 25.03 MB / 443.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008133/8.443, allocations: 0.8139 MB / 3.401 GB, free: 24.8 MB / 443.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.46e-05/8.443, allocations: 109.8 kB / 3.401 GB, free: 24.69 MB / 443.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.857e-05/8.443, allocations: 0 / 3.401 GB, free: 24.69 MB / 443.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003272/8.443, allocations: 37.56 kB / 3.401 GB, free: 24.68 MB / 443.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.598e-05/8.443, allocations: 22.44 kB / 3.401 GB, free: 24.68 MB / 443.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.976e-05/8.443, allocations: 18.14 kB / 3.401 GB, free: 24.68 MB / 443.1 MB Notification: Performance of sorting global known variables: time 0.00014/8.443, allocations: 156.7 kB / 3.401 GB, free: 24.61 MB / 443.1 MB Notification: Performance of sort global known variables: time 1.61e-07/8.443, allocations: 2.625 kB / 3.401 GB, free: 24.61 MB / 443.1 MB Notification: Performance of remove unused functions: time 0.004059/8.447, allocations: 0.8603 MB / 3.402 GB, free: 24.48 MB / 443.1 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.005706/8.453, allocations: 1.414 MB / 3.403 GB, free: 24.17 MB / 443.1 MB Notification: Performance of simCode: created initialization part: time 0.001007/8.454, allocations: 467 kB / 3.404 GB, free: 24.06 MB / 443.1 MB Notification: Performance of simCode: created event and clocks part: time 4.629e-06/8.454, allocations: 3.562 kB / 3.404 GB, free: 24.06 MB / 443.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003021/8.455, allocations: 228 kB / 3.404 GB, free: 24.05 MB / 443.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008996/8.455, allocations: 144 kB / 3.404 GB, free: 24.04 MB / 443.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001062/8.457, allocations: 0.6749 MB / 3.405 GB, free: 23.77 MB / 443.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003822/8.457, allocations: 0.8159 MB / 3.405 GB, free: 23.07 MB / 443.1 MB Notification: Performance of simCode: alias equations: time 0.0003892/8.457, allocations: 210.2 kB / 3.406 GB, free: 23.07 MB / 443.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.283e-05/8.457, allocations: 30.78 kB / 3.406 GB, free: 23.06 MB / 443.1 MB Notification: Performance of SimCode: time 1.653e-06/8.457, allocations: 0 / 3.406 GB, free: 23.06 MB / 443.1 MB Notification: Performance of Templates: time 0.03179/8.489, allocations: 25.41 MB / 3.43 GB, free: 21.33 MB / 443.1 MB make -j1 -f Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.makefile (rm -f Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe ; mkfifo Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe >> ../files/Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.sim & ./Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe 2>&1)