Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.1_Modelica.Media.Examples.WaterIF97.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.WaterIF97,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Media.Examples.WaterIF97") translateModel(Modelica.Media.Examples.WaterIF97,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Media.Examples.WaterIF97") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01057/0.01057, allocations: 103 kB / 15.73 MB, free: 6.492 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002363/0.002363, allocations: 198.4 kB / 16.68 MB, free: 6.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.562/1.562, allocations: 205.1 MB / 222.6 MB, free: 4.52 MB / 174.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001355/0.001355, allocations: 54.95 kB / 326.5 MB, free: 14.41 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0875/0.08887, allocations: 46.62 MB / 373.2 MB, free: 1.328 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.WaterIF97): time 0.01645/0.1053, allocations: 12.91 MB / 386.1 MB, free: 4.359 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01363/0.119, allocations: 11.53 MB / 397.6 MB, free: 8.785 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001588/0.1192, allocations: 4 kB / 397.6 MB, free: 8.781 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003835/0.1196, allocations: 71.55 kB / 397.7 MB, free: 8.711 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003669/0.12, allocations: 83.38 kB / 397.8 MB, free: 8.629 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01361/0.1336, allocations: 5.073 MB / 402.8 MB, free: 3.539 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003659/0.134, allocations: 234.9 kB / 403.1 MB, free: 3.309 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.506e-05/0.1341, allocations: 17.38 kB / 403.1 MB, free: 3.289 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000434/0.1345, allocations: 195.3 kB / 403.3 MB, free: 3.098 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001114/0.1347, allocations: 71.75 kB / 403.3 MB, free: 3.027 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.049e-05/0.1347, allocations: 8 kB / 403.3 MB, free: 3.02 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01216/0.1469, allocations: 6.993 MB / 410.3 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.932e-05/0.147, allocations: 27.91 kB / 410.4 MB, free: 11.99 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001132/0.1471, allocations: 67.67 kB / 410.4 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00815/0.1552, allocations: 3.868 MB / 414.3 MB, free: 8.051 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.68e-06/0.1553, allocations: 0 / 414.3 MB, free: 8.051 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.1553, allocations: 4 kB / 414.3 MB, free: 8.047 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.345e-06/0.1553, allocations: 0 / 414.3 MB, free: 8.047 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.004318/0.1596, allocations: 1.142 MB / 415.4 MB, free: 6.855 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.752e-05/0.1597, allocations: 8.031 kB / 415.4 MB, free: 6.848 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004932/0.1602, allocations: 60.7 kB / 415.5 MB, free: 6.789 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003798/0.1606, allocations: 216.2 kB / 415.7 MB, free: 6.539 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.162e-05/0.1606, allocations: 8.375 kB / 415.7 MB, free: 6.531 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.179e-05/0.1607, allocations: 16.38 kB / 415.7 MB, free: 6.516 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001223/0.1619, allocations: 380 kB / 416.1 MB, free: 6.113 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.614e-05/0.1619, allocations: 0 / 416.1 MB, free: 6.113 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.536e-05/0.162, allocations: 12 kB / 416.1 MB, free: 6.102 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.296e-06/0.162, allocations: 4 kB / 416.1 MB, free: 6.098 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001356/0.1634, allocations: 355.5 kB / 416.5 MB, free: 5.75 MB / 350.1 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.001409/0.1648, allocations: 1.184 MB / 417.7 MB, free: 4.465 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000783/0.1656, allocations: 283.7 kB / 417.9 MB, free: 4.16 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002665/0.1658, allocations: 114.9 kB / 418 MB, free: 4.039 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2903/0.4562, allocations: 47.63 MB / 465.7 MB, free: 64.92 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.033e-05/0.4563, allocations: 40.28 kB / 465.7 MB, free: 64.88 MB / 382.1 MB Notification: Performance of pre-optimization done (n=23): time 2.274e-06/0.4563, allocations: 0 / 465.7 MB, free: 64.88 MB / 382.1 MB Notification: Performance of matching and sorting (n=33): time 0.006545/0.4628, allocations: 1.575 MB / 467.3 MB, free: 64.3 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.341e-05/0.4629, allocations: 106.7 kB / 467.4 MB, free: 64.17 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.179e-05/0.463, allocations: 125.8 kB / 467.5 MB, free: 64.06 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.472e-05/0.463, allocations: 30.61 kB / 467.6 MB, free: 64.03 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.456e-05/0.4631, allocations: 102.3 kB / 467.7 MB, free: 63.94 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.629e-05/0.4631, allocations: 120.7 kB / 467.8 MB, free: 63.86 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000107/0.4633, allocations: 64.06 kB / 467.8 MB, free: 63.83 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.962e-05/0.4633, allocations: 335.7 kB / 468.2 MB, free: 63.51 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003534/0.4637, allocations: 137.5 kB / 468.3 MB, free: 63.49 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004044/0.4641, allocations: 203.3 kB / 468.5 MB, free: 63.39 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007528/0.4649, allocations: 351.9 kB / 468.8 MB, free: 63.21 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.4649, allocations: 1.125 kB / 468.8 MB, free: 63.21 MB / 382.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0009885/0.4659, allocations: 423 kB / 469.3 MB, free: 62.99 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.838e-05/0.4659, allocations: 8.656 kB / 469.3 MB, free: 62.99 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.728e-06/0.4659, allocations: 8.859 kB / 469.3 MB, free: 62.98 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002533/0.4662, allocations: 33.73 kB / 469.3 MB, free: 62.96 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004553/0.4666, allocations: 89.31 kB / 469.4 MB, free: 62.94 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002714/0.4669, allocations: 0.5465 MB / 469.9 MB, free: 62.4 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002727/0.4672, allocations: 29.64 kB / 470 MB, free: 62.38 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.928e-05/0.4673, allocations: 11 kB / 470 MB, free: 62.38 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 3 (medium.phase,state.phase,state2.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001553/0.4674, allocations: 143.3 kB / 470.1 MB, free: 62.24 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001075/0.4675, allocations: 16.06 kB / 470.1 MB, free: 62.23 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001939/0.4695, allocations: 1.435 MB / 471.6 MB, free: 61.4 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.942e-05/0.4695, allocations: 22.72 kB / 471.6 MB, free: 61.39 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.802e-06/0.4695, allocations: 5.125 kB / 471.6 MB, free: 61.39 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.744e-06/0.4695, allocations: 5.266 kB / 471.6 MB, free: 61.38 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002331/0.4719, allocations: 1.98 MB / 473.6 MB, free: 60.1 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.701e-06/0.4719, allocations: 0 / 473.6 MB, free: 60.1 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004173/0.4723, allocations: 90.14 kB / 473.7 MB, free: 60.07 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002825/0.4726, allocations: 64.17 kB / 473.7 MB, free: 60.04 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.21e-05/0.4727, allocations: 19.77 kB / 473.7 MB, free: 60.02 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002172/0.4729, allocations: 0.5821 MB / 474.3 MB, free: 59.46 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.4729, allocations: 7.906 kB / 474.3 MB, free: 59.45 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001684/0.4746, allocations: 1.696 MB / 476 MB, free: 58.37 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.979e-05/0.4747, allocations: 132.1 kB / 476.2 MB, free: 58.24 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.008e-05/0.4747, allocations: 7.969 kB / 476.2 MB, free: 58.23 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003485/0.4751, allocations: 18.38 kB / 476.2 MB, free: 58.23 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.824e-05/0.4751, allocations: 43.14 kB / 476.2 MB, free: 58.2 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.135e-05/0.4752, allocations: 19.83 kB / 476.3 MB, free: 58.19 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.82e-05/0.4752, allocations: 93.39 kB / 476.3 MB, free: 58.11 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.4752, allocations: 0 / 476.3 MB, free: 58.11 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00249/0.4777, allocations: 0.9533 MB / 477.3 MB, free: 58.02 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (medium.p,medium.h,V) * Number of discrete variables: 11 ($cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.region3boundary,$cse6.region3boundary,medium.phase,$cse1.phase,$cse1.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003261/0.481, allocations: 1.13 MB / 478.4 MB, free: 57.39 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00126/0.4823, allocations: 0.6125 MB / 479 MB, free: 56.78 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.908e-06/0.4823, allocations: 0 / 479 MB, free: 56.78 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006552/0.4829, allocations: 0.5093 MB / 479.5 MB, free: 56.27 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007427/0.4837, allocations: 85.2 kB / 479.6 MB, free: 56.2 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001978/0.4857, allocations: 1.312 MB / 480.9 MB, free: 54.87 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001979/0.4859, allocations: 0.8139 MB / 481.8 MB, free: 54.02 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002935/0.4862, allocations: 133.8 kB / 481.9 MB, free: 53.89 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001141/0.4863, allocations: 35.42 kB / 481.9 MB, free: 53.86 MB / 382.1 MB Notification: Performance of SimCode: time 4.2e-07/0.4863, allocations: 0 / 481.9 MB, free: 53.86 MB / 382.1 MB Notification: Performance of Templates: time 0.03778/0.5241, allocations: 36.26 MB / 0.506 GB, free: 17.56 MB / 382.1 MB make -j1 -f Modelica_3.1_Modelica.Media.Examples.WaterIF97.makefile (rm -f Modelica_3.1_Modelica.Media.Examples.WaterIF97.pipe ; mkfifo Modelica_3.1_Modelica.Media.Examples.WaterIF97.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Media.Examples.WaterIF97.pipe >> ../files/Modelica_3.1_Modelica.Media.Examples.WaterIF97.sim & ./Modelica_3.1_Modelica.Media.Examples.WaterIF97 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Media.Examples.WaterIF97.pipe 2>&1)