Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.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.2.1_Modelica.Media.Examples.WaterIF97") translateModel(Modelica.Media.Examples.WaterIF97,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.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.001109/0.001109, allocations: 92 kB / 15.06 MB, free: 1.098 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.001401/0.001401, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.393/1.393, allocations: 205.4 MB / 222.1 MB, free: 5.625 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.0004721/0.0004722, allocations: 14.66 kB / 278.9 MB, free: 12.84 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2142/0.2147, allocations: 47.58 MB / 326.5 MB, free: 1.379 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.WaterIF97): time 0.01403/0.2288, allocations: 11.96 MB / 338.4 MB, free: 7.512 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.01188/0.2407, allocations: 10.72 MB / 349.1 MB, free: 12.77 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001539/0.2409, allocations: 4 kB / 349.1 MB, free: 12.77 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002961/0.2412, allocations: 55.67 kB / 349.2 MB, free: 12.71 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002794/0.2415, allocations: 83.48 kB / 349.3 MB, free: 12.63 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01074/0.2523, allocations: 3.854 MB / 353.1 MB, free: 8.762 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003388/0.2526, allocations: 246.8 kB / 353.4 MB, free: 8.52 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.248e-05/0.2527, allocations: 9.453 kB / 353.4 MB, free: 8.508 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003806/0.2531, allocations: 171.2 kB / 353.5 MB, free: 8.34 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001146/0.2532, allocations: 79.69 kB / 353.6 MB, free: 8.262 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.753e-05/0.2532, allocations: 4 kB / 353.6 MB, free: 8.258 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01162/0.2648, allocations: 6.645 MB / 360.3 MB, free: 1.605 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 7.932e-05/0.2649, allocations: 23.91 kB / 360.3 MB, free: 1.582 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 7.362e-05/0.265, allocations: 57.58 kB / 360.4 MB, free: 1.52 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00466/0.2697, allocations: 2.565 MB / 362.9 MB, free: 14.95 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.698e-06/0.2697, allocations: 0 / 362.9 MB, free: 14.95 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.2697, allocations: 0 / 362.9 MB, free: 14.95 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.118e-06/0.2697, allocations: 4 kB / 362.9 MB, free: 14.95 MB / 302.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.004339/0.2741, allocations: 1.108 MB / 364 MB, free: 13.79 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.375e-05/0.2741, allocations: 12.03 kB / 364 MB, free: 13.78 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004469/0.2746, allocations: 59.72 kB / 364.1 MB, free: 13.72 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002318/0.2748, allocations: 226.8 kB / 364.3 MB, free: 13.46 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.47e-05/0.2749, allocations: 8.281 kB / 364.3 MB, free: 13.45 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.283e-05/0.2749, allocations: 20 kB / 364.3 MB, free: 13.43 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001166/0.2761, allocations: 386.5 kB / 364.7 MB, free: 13.02 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.484e-05/0.2761, allocations: 0 / 364.7 MB, free: 13.02 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.61e-05/0.2762, allocations: 8 kB / 364.7 MB, free: 13.02 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.304e-06/0.2762, allocations: 4 kB / 364.7 MB, free: 13.01 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001277/0.2774, allocations: 376.2 kB / 365.1 MB, free: 12.64 MB / 302.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.001383/0.2788, allocations: 1.184 MB / 366.3 MB, free: 11.36 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008082/0.2797, allocations: 292.3 kB / 366.6 MB, free: 11.05 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00027/0.2799, allocations: 114.9 kB / 366.7 MB, free: 10.93 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.08497/0.3649, allocations: 47.88 MB / 414.6 MB, free: 5.43 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.524e-05/0.365, allocations: 46.69 kB / 414.6 MB, free: 5.375 MB / 350.1 MB Notification: Performance of pre-optimization done (n=23): time 2.134e-06/0.365, allocations: 0 / 414.6 MB, free: 5.375 MB / 350.1 MB Notification: Performance of matching and sorting (n=33): time 0.006392/0.3714, allocations: 1.612 MB / 416.2 MB, free: 3.707 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.181e-05/0.3715, allocations: 110.8 kB / 416.3 MB, free: 3.574 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001115/0.3716, allocations: 125.7 kB / 416.5 MB, free: 3.441 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.987e-05/0.3717, allocations: 33.7 kB / 416.5 MB, free: 3.402 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.918e-05/0.3717, allocations: 104.5 kB / 416.6 MB, free: 3.297 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.635e-05/0.3718, allocations: 118.3 kB / 416.7 MB, free: 3.18 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.221e-05/0.3719, allocations: 8 kB / 416.7 MB, free: 3.172 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001116/0.372, allocations: 330.8 kB / 417 MB, free: 2.84 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003484/0.3723, allocations: 131.7 kB / 417.2 MB, free: 2.711 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003784/0.3727, allocations: 214.4 kB / 417.4 MB, free: 2.477 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003651/0.3731, allocations: 151.9 kB / 417.5 MB, free: 2.328 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.3731, allocations: 0 / 417.5 MB, free: 2.328 MB / 350.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0009706/0.3741, allocations: 433.9 kB / 417.9 MB, free: 1.895 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.7e-05/0.3741, allocations: 12.22 kB / 418 MB, free: 1.883 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.3741, allocations: 0 / 418 MB, free: 1.883 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002235/0.3744, allocations: 36.83 kB / 418 MB, free: 1.844 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004322/0.3748, allocations: 91.88 kB / 418.1 MB, free: 1.754 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000367/0.3752, allocations: 0.5485 MB / 418.6 MB, free: 1.18 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002628/0.3755, allocations: 23.97 kB / 418.7 MB, free: 1.156 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.987e-05/0.3755, allocations: 19.95 kB / 418.7 MB, free: 1.137 MB / 350.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 (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 prepare postOptimizeDAE: time 0.000136/0.3756, allocations: 141.6 kB / 418.8 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.389e-05/0.3757, allocations: 23.91 kB / 418.8 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002039/0.3778, allocations: 1.462 MB / 420.3 MB, free: 15.49 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.423e-05/0.3778, allocations: 23.97 kB / 420.3 MB, free: 15.47 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.3778, allocations: 0 / 420.3 MB, free: 15.47 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.225e-06/0.3778, allocations: 3.984 kB / 420.3 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002695/0.3805, allocations: 1.994 MB / 422.3 MB, free: 13.39 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.714e-06/0.3806, allocations: 4 kB / 422.3 MB, free: 13.39 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004158/0.381, allocations: 87.98 kB / 422.4 MB, free: 13.3 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003326/0.3813, allocations: 68.8 kB / 422.5 MB, free: 13.23 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.348e-05/0.3814, allocations: 15.98 kB / 422.5 MB, free: 13.22 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003346/0.3817, allocations: 0.5875 MB / 423.1 MB, free: 12.61 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/0.3817, allocations: 3.938 kB / 423.1 MB, free: 12.6 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002047/0.3838, allocations: 1.697 MB / 424.8 MB, free: 10.88 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.482e-05/0.3839, allocations: 132.3 kB / 424.9 MB, free: 10.73 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.687e-05/0.3839, allocations: 12 kB / 424.9 MB, free: 10.71 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003387/0.3843, allocations: 28.02 kB / 424.9 MB, free: 10.69 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.847e-05/0.3844, allocations: 39.84 kB / 425 MB, free: 10.65 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.28e-05/0.3844, allocations: 15.98 kB / 425 MB, free: 10.63 MB / 366.1 MB Notification: Performance of sorting global known variables: time 5.311e-05/0.3845, allocations: 87.28 kB / 425.1 MB, free: 10.55 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3845, allocations: 0 / 425.1 MB, free: 10.55 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.002761/0.3872, allocations: 0.9527 MB / 426 MB, free: 9.594 MB / 366.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 (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.004483/0.3917, allocations: 1.143 MB / 427.2 MB, free: 8.441 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001325/0.3931, allocations: 0.6052 MB / 427.8 MB, free: 7.836 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/0.3931, allocations: 0 / 427.8 MB, free: 7.836 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008621/0.394, allocations: 0.5129 MB / 428.3 MB, free: 7.32 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007735/0.3948, allocations: 75.88 kB / 428.4 MB, free: 7.246 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002479/0.3972, allocations: 1.569 MB / 429.9 MB, free: 5.633 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004276/0.3977, allocations: 0.8181 MB / 430.8 MB, free: 4.793 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0004991/0.3982, allocations: 141.7 kB / 430.9 MB, free: 4.652 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001421/0.3984, allocations: 35.42 kB / 430.9 MB, free: 4.617 MB / 366.1 MB Notification: Performance of SimCode: time 1.012e-06/0.3984, allocations: 0 / 430.9 MB, free: 4.617 MB / 366.1 MB Notification: Performance of Templates: time 0.1968/0.5951, allocations: 36.29 MB / 467.2 MB, free: 110.8 MB / 382.1 MB make -j1 -f Modelica_3.2.1_Modelica.Media.Examples.WaterIF97.makefile (rm -f Modelica_3.2.1_Modelica.Media.Examples.WaterIF97.pipe ; mkfifo Modelica_3.2.1_Modelica.Media.Examples.WaterIF97.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Media.Examples.WaterIF97.pipe >> ../files/Modelica_3.2.1_Modelica.Media.Examples.WaterIF97.sim & ./Modelica_3.2.1_Modelica.Media.Examples.WaterIF97 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Media.Examples.WaterIF97.pipe 2>&1)