Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_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.WaterIF97_ph,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001121/0.001121, allocations: 188.5 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.404/1.404, 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.001672/0.001672, allocations: 118.3 kB / 248.1 MB, free: 6.355 MB / 203.1 MB Notification: Performance of FrontEnd - loaded program: time 2.272e-05/2.266e-05, allocations: 4 kB / 298.1 MB, free: 8.223 MB / 251.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09386/0.0939, allocations: 44.5 MB / 342.6 MB, free: 11.62 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.345/6.439, allocations: 2.575 GB / 2.91 GB, free: 98.86 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003252/6.439, allocations: 87.64 kB / 2.91 GB, free: 98.86 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.367/7.806, allocations: 425.8 MB / 3.326 GB, free: 22.95 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.713e-06/7.806, allocations: 0 / 3.326 GB, free: 22.95 MB / 395.1 MB Notification: Performance of Transformations before backend: time 2.068e-05/7.806, allocations: 4 kB / 3.326 GB, free: 22.95 MB / 395.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.004198/7.81, allocations: 1.259 MB / 3.327 GB, free: 21.69 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.642e-05/7.81, allocations: 8.031 kB / 3.327 GB, free: 21.68 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001438/7.812, allocations: 154 kB / 3.327 GB, free: 21.54 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003913/7.812, allocations: 319.2 kB / 3.327 GB, free: 21.19 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.123e-05/7.812, allocations: 17.42 kB / 3.327 GB, free: 21.17 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.359e-05/7.812, allocations: 16 kB / 3.327 GB, free: 21.16 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004202/7.813, allocations: 310 kB / 3.328 GB, free: 20.86 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004498/7.813, allocations: 363.7 kB / 3.328 GB, free: 20.46 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.675e-05/7.813, allocations: 7.266 kB / 3.328 GB, free: 20.46 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.497e-05/7.813, allocations: 4 kB / 3.328 GB, free: 20.46 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.805e-06/7.813, allocations: 8 kB / 3.328 GB, free: 20.45 MB / 395.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.002325/7.816, allocations: 2.548 MB / 3.331 GB, free: 17.7 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003707/7.816, allocations: 246.1 kB / 3.331 GB, free: 17.46 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001435/7.816, allocations: 116.8 kB / 3.331 GB, free: 17.34 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006298/7.817, allocations: 0.551 MB / 3.331 GB, free: 16.7 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.916e-05/7.817, allocations: 46.66 kB / 3.331 GB, free: 16.65 MB / 395.1 MB Notification: Performance of pre-optimization done (n=29): time 1.573e-06/7.817, allocations: 0 / 3.331 GB, free: 16.65 MB / 395.1 MB Notification: Performance of matching and sorting (n=33): time 0.002451/7.819, allocations: 0.9919 MB / 3.332 GB, free: 15.61 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.05e-05/7.819, allocations: 58.81 kB / 3.333 GB, free: 15.55 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001641/7.819, allocations: 190 kB / 3.333 GB, free: 15.36 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 2.639e-05/7.819, allocations: 29.7 kB / 3.333 GB, free: 15.32 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.752e-05/7.82, allocations: 184.3 kB / 3.333 GB, free: 15.14 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.039e-05/7.82, allocations: 114.3 kB / 3.333 GB, free: 15.02 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.654e-05/7.82, allocations: 0 / 3.333 GB, free: 15.02 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 5.744e-05/7.82, allocations: 338.8 kB / 3.333 GB, free: 14.68 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001361/7.82, allocations: 99.94 kB / 3.333 GB, free: 14.59 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001699/7.82, allocations: 190 kB / 3.334 GB, free: 14.37 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002887/7.82, allocations: 123.4 kB / 3.334 GB, free: 14.25 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/7.82, allocations: 3.938 kB / 3.334 GB, free: 14.25 MB / 395.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007187/7.821, allocations: 390.9 kB / 3.334 GB, free: 13.85 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.75e-05/7.821, allocations: 8 kB / 3.334 GB, free: 13.84 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.264e-06/7.821, allocations: 0 / 3.334 GB, free: 13.84 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002573/7.821, allocations: 86.47 kB / 3.334 GB, free: 13.75 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003222/7.822, allocations: 95.55 kB / 3.334 GB, free: 13.66 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001081/7.823, allocations: 2.339 MB / 3.337 GB, free: 11.16 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004341/7.823, allocations: 50.48 kB / 3.337 GB, free: 11.12 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.238e-05/7.823, allocations: 23.98 kB / 3.337 GB, free: 11.09 MB / 395.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 3 (volume.medium.phase,fixedMassFlowRate.medium.phase,ambient.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 1,1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 9.875e-05/7.823, allocations: 127.8 kB / 3.337 GB, free: 10.96 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.242e-05/7.823, allocations: 23.72 kB / 3.337 GB, free: 10.94 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001086/7.825, allocations: 1.111 MB / 3.338 GB, free: 9.816 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.349e-05/7.825, allocations: 19.97 kB / 3.338 GB, free: 9.797 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.084e-06/7.825, allocations: 0 / 3.338 GB, free: 9.797 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008419/7.825, allocations: 1.244 MB / 3.339 GB, free: 8.461 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001571/7.827, allocations: 1.777 MB / 3.341 GB, free: 6.633 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/7.827, allocations: 0 / 3.341 GB, free: 6.633 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003346/7.827, allocations: 87.88 kB / 3.341 GB, free: 6.547 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002081/7.828, allocations: 64.61 kB / 3.341 GB, free: 6.484 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.516e-05/7.828, allocations: 4 kB / 3.341 GB, free: 6.48 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002746/7.828, allocations: 0.6185 MB / 3.342 GB, free: 5.836 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/7.828, allocations: 4.031 kB / 3.342 GB, free: 5.832 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009335/7.829, allocations: 1.008 MB / 3.343 GB, free: 4.805 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001079/7.829, allocations: 148.2 kB / 3.343 GB, free: 4.645 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.976e-05/7.829, allocations: 7.953 kB / 3.343 GB, free: 4.637 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003133/7.829, allocations: 39.62 kB / 3.343 GB, free: 4.602 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.242e-05/7.829, allocations: 31.95 kB / 3.343 GB, free: 4.57 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.36e-05/7.829, allocations: 15.98 kB / 3.343 GB, free: 4.555 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.0001601/7.83, allocations: 206 kB / 3.343 GB, free: 4.352 MB / 395.1 MB Notification: Performance of sort global known variables: time 1.5e-07/7.83, allocations: 0 / 3.343 GB, free: 4.352 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.004419/7.834, allocations: 0.8703 MB / 3.344 GB, free: 3.48 MB / 395.1 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: 8 ($cse2.phase,$cse2.region,$cse3.region3boundary,$cse4.region3boundary,$cse5.phase,$cse5.region,volume.medium.phase,fixedMassFlowRate.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.00704/7.841, allocations: 1.39 MB / 3.345 GB, free: 2.277 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.001031/7.842, allocations: 0.5335 MB / 3.346 GB, free: 1.738 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 7.214e-06/7.842, allocations: 4 kB / 3.346 GB, free: 1.734 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004129/7.843, allocations: 312.7 kB / 3.346 GB, free: 1.43 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001001/7.844, allocations: 153.7 kB / 3.346 GB, free: 1.293 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001398/7.845, allocations: 0.8187 MB / 3.347 GB, free: 0.5234 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003506/7.845, allocations: 0.8625 MB / 3.348 GB, free: 15.64 MB / 411.1 MB Notification: Performance of simCode: alias equations: time 0.0004157/7.846, allocations: 164.7 kB / 3.348 GB, free: 15.49 MB / 411.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.726e-05/7.846, allocations: 27.44 kB / 3.348 GB, free: 15.46 MB / 411.1 MB Notification: Performance of SimCode: time 5.21e-07/7.846, allocations: 3.938 kB / 3.348 GB, free: 15.46 MB / 411.1 MB Notification: Performance of Templates: time 0.256/8.102, allocations: 26.05 MB / 3.373 GB, free: 55.61 MB / 411.1 MB make -j1 -f Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.makefile (rm -f Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.pipe ; mkfifo Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.pipe >> ../files/Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.sim & ./Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.pipe 2>&1)