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.001019/0.001019, allocations: 100 kB / 15.05 MB, free: 1.105 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.0009396/0.0009396, allocations: 177.3 kB / 15.95 MB, free: 216 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.439/1.439, allocations: 205.4 MB / 222.1 MB, free: 5.66 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.0004826/0.0004827, allocations: 12 kB / 278.9 MB, free: 12.85 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.209/0.2095, allocations: 47.58 MB / 326.4 MB, free: 1.406 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.WaterIF97): time 0.01277/0.2223, allocations: 11.08 MB / 337.5 MB, free: 8.418 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.01088/0.2332, allocations: 9.818 MB / 347.3 MB, free: 14.57 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001464/0.2334, allocations: 4 kB / 347.3 MB, free: 14.57 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003342/0.2337, allocations: 63.66 kB / 347.4 MB, free: 14.51 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002441/0.234, allocations: 83.81 kB / 347.5 MB, free: 14.43 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01083/0.2448, allocations: 3.907 MB / 351.4 MB, free: 10.51 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002895/0.2451, allocations: 159.6 kB / 351.5 MB, free: 10.36 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.261e-05/0.2452, allocations: 13.45 kB / 351.6 MB, free: 10.34 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000451/0.2456, allocations: 199.3 kB / 351.7 MB, free: 10.14 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001122/0.2458, allocations: 59.77 kB / 351.8 MB, free: 10.09 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.628e-05/0.2458, allocations: 11.98 kB / 351.8 MB, free: 10.07 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01181/0.2576, allocations: 6.805 MB / 358.6 MB, free: 3.262 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 8.487e-05/0.2577, allocations: 23.91 kB / 358.6 MB, free: 3.238 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 8.071e-05/0.2578, allocations: 57.64 kB / 358.7 MB, free: 3.176 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00445/0.2623, allocations: 2.565 MB / 361.3 MB, free: 0.6055 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.2623, allocations: 0 / 361.3 MB, free: 0.6055 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.2623, allocations: 0 / 361.3 MB, free: 0.6055 MB / 286.1 MB Notification: Performance of Transformations before backend: time 9.899e-06/0.2623, allocations: 0 / 361.3 MB, free: 0.6055 MB / 286.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.0043/0.2666, allocations: 1.111 MB / 362.4 MB, free: 15.45 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.401e-05/0.2667, allocations: 8.031 kB / 362.4 MB, free: 15.44 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004615/0.2671, allocations: 59.72 kB / 362.4 MB, free: 15.38 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002338/0.2674, allocations: 218.8 kB / 362.7 MB, free: 15.12 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.587e-05/0.2674, allocations: 8.281 kB / 362.7 MB, free: 15.12 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.499e-05/0.2675, allocations: 23.94 kB / 362.7 MB, free: 15.09 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001198/0.2687, allocations: 386.5 kB / 363.1 MB, free: 14.69 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.319e-05/0.2687, allocations: 0 / 363.1 MB, free: 14.69 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.599e-05/0.2688, allocations: 12 kB / 363.1 MB, free: 14.68 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.003e-06/0.2688, allocations: 4 kB / 363.1 MB, free: 14.67 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001366/0.2701, allocations: 376.2 kB / 363.5 MB, free: 14.3 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.001266/0.2714, allocations: 1.18 MB / 364.6 MB, free: 13.02 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008035/0.2722, allocations: 292.3 kB / 364.9 MB, free: 12.71 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.09345/0.3657, allocations: 47.87 MB / 412.8 MB, free: 7.219 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.093e-05/0.3658, allocations: 38.75 kB / 412.8 MB, free: 7.172 MB / 350.1 MB Notification: Performance of pre-optimization done (n=23): time 2.144e-06/0.3658, allocations: 0 / 412.8 MB, free: 7.172 MB / 350.1 MB Notification: Performance of matching and sorting (n=33): time 0.006435/0.3722, allocations: 1.627 MB / 414.5 MB, free: 5.488 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.039e-05/0.3723, allocations: 114.8 kB / 414.6 MB, free: 5.352 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.1e-05/0.3724, allocations: 113.8 kB / 414.7 MB, free: 5.23 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.296e-05/0.3724, allocations: 37.7 kB / 414.7 MB, free: 5.188 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.008e-05/0.3725, allocations: 100.5 kB / 414.8 MB, free: 5.086 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.003e-05/0.3726, allocations: 122.3 kB / 414.9 MB, free: 4.965 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.124e-05/0.3726, allocations: 8 kB / 414.9 MB, free: 4.957 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001092/0.3728, allocations: 322.8 kB / 415.3 MB, free: 4.633 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003665/0.3731, allocations: 143.7 kB / 415.4 MB, free: 4.492 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003968/0.3735, allocations: 206.5 kB / 415.6 MB, free: 4.266 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003903/0.3739, allocations: 155.8 kB / 415.8 MB, free: 4.113 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.3739, allocations: 4 kB / 415.8 MB, free: 4.109 MB / 350.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001054/0.375, allocations: 429.9 kB / 416.2 MB, free: 3.68 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.875e-05/0.375, allocations: 4 kB / 416.2 MB, free: 3.676 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/0.375, allocations: 12.16 kB / 416.2 MB, free: 3.664 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000237/0.3753, allocations: 36.83 kB / 416.2 MB, free: 3.625 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004513/0.3758, allocations: 87.88 kB / 416.3 MB, free: 3.539 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003868/0.3762, allocations: 0.5563 MB / 416.9 MB, free: 2.957 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002851/0.3764, allocations: 19.98 kB / 416.9 MB, free: 2.938 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.725e-05/0.3765, allocations: 19.98 kB / 416.9 MB, free: 2.918 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.0001659/0.3767, allocations: 137.7 kB / 417 MB, free: 2.773 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.003e-05/0.3768, allocations: 15.81 kB / 417.1 MB, free: 2.758 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00208/0.3788, allocations: 1.462 MB / 418.5 MB, free: 1.285 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.256e-05/0.3789, allocations: 27.95 kB / 418.5 MB, free: 1.258 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.3789, allocations: 0 / 418.5 MB, free: 1.258 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.3789, allocations: 0 / 418.5 MB, free: 1.258 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002815/0.3817, allocations: 1.979 MB / 420.5 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.524e-06/0.3817, allocations: 3.953 kB / 420.5 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004356/0.3822, allocations: 92.36 kB / 420.6 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003381/0.3825, allocations: 76.72 kB / 420.7 MB, free: 15.03 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.515e-05/0.3826, allocations: 23.98 kB / 420.7 MB, free: 15.01 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003411/0.3829, allocations: 0.5835 MB / 421.3 MB, free: 14.4 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.506e-06/0.3829, allocations: 7.969 kB / 421.3 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002152/0.3851, allocations: 1.769 MB / 423.1 MB, free: 12.55 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.382e-05/0.3852, allocations: 136.3 kB / 423.2 MB, free: 12.4 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.329e-05/0.3852, allocations: 12 kB / 423.2 MB, free: 12.39 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003569/0.3856, allocations: 19.98 kB / 423.2 MB, free: 12.37 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.1e-05/0.3857, allocations: 39.84 kB / 423.3 MB, free: 12.33 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.163e-05/0.3857, allocations: 19.98 kB / 423.3 MB, free: 12.31 MB / 366.1 MB Notification: Performance of sorting global known variables: time 5.101e-05/0.3858, allocations: 91.27 kB / 423.4 MB, free: 12.22 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.3858, allocations: 0 / 423.4 MB, free: 12.22 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.002573/0.3884, allocations: 0.9566 MB / 424.3 MB, free: 11.27 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.003699/0.3921, allocations: 1.129 MB / 425.5 MB, free: 10.13 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001248/0.3933, allocations: 0.601 MB / 426.1 MB, free: 9.527 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.417e-06/0.3934, allocations: 0 / 426.1 MB, free: 9.527 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007658/0.3941, allocations: 0.517 MB / 426.6 MB, free: 9.008 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005895/0.3947, allocations: 71.86 kB / 426.7 MB, free: 8.938 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002303/0.3971, allocations: 1.557 MB / 428.2 MB, free: 7.336 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003419/0.3974, allocations: 0.8217 MB / 429 MB, free: 6.492 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003733/0.3978, allocations: 141.7 kB / 429.2 MB, free: 6.352 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001189/0.3979, allocations: 35.42 kB / 429.2 MB, free: 6.316 MB / 366.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3979, allocations: 0 / 429.2 MB, free: 6.316 MB / 366.1 MB Notification: Performance of Templates: time 0.2034/0.6013, allocations: 36.29 MB / 465.5 MB, free: 111.9 MB / 382.1 MB make -j1 -f Modelica_3.1_Modelica.Media.Examples.WaterIF97.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: