Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_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.2_Modelica.Media.Examples.WaterIF97") translateModel(Modelica.Media.Examples.WaterIF97,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_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.001178/0.001178, allocations: 110.9 kB / 16.62 MB, free: 6.812 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.001144/0.001144, allocations: 190 kB / 17.55 MB, free: 5.934 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.396/1.396, allocations: 205.1 MB / 223.4 MB, free: 12.44 MB / 190.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.001129/0.001129, allocations: 47.92 kB / 279.5 MB, free: 3.496 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09893/0.1001, allocations: 46.63 MB / 326.1 MB, free: 4.809 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.WaterIF97): time 0.01528/0.1154, allocations: 13.04 MB / 339.2 MB, free: 7.707 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01221/0.1276, allocations: 11.6 MB / 350.8 MB, free: 12.07 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001084/0.1278, allocations: 4 kB / 350.8 MB, free: 12.06 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003406/0.1282, allocations: 63.67 kB / 350.8 MB, free: 12 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000293/0.1285, allocations: 87.48 kB / 350.9 MB, free: 11.91 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01244/0.1409, allocations: 4.445 MB / 355.4 MB, free: 7.457 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004024/0.1414, allocations: 223 kB / 355.6 MB, free: 7.238 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.606e-05/0.1414, allocations: 9.453 kB / 355.6 MB, free: 7.23 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004352/0.1419, allocations: 195.4 kB / 355.8 MB, free: 7.039 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001101/0.142, allocations: 75.69 kB / 355.9 MB, free: 6.965 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.973e-05/0.142, allocations: 8 kB / 355.9 MB, free: 6.957 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01179/0.1538, allocations: 6.88 MB / 362.7 MB, free: 72 kB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001066/0.154, allocations: 27.91 kB / 362.8 MB, free: 44 kB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001519/0.1541, allocations: 75.7 kB / 362.8 MB, free: 15.96 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009545/0.1637, allocations: 3.891 MB / 366.7 MB, free: 12.07 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.744e-06/0.1637, allocations: 0 / 366.7 MB, free: 12.07 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.1638, allocations: 0 / 366.7 MB, free: 12.07 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.726e-06/0.1638, allocations: 0 / 366.7 MB, free: 12.07 MB / 318.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.004851/0.1686, allocations: 1.146 MB / 367.9 MB, free: 10.88 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.62e-05/0.1687, allocations: 12.03 kB / 367.9 MB, free: 10.86 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004753/0.1692, allocations: 44.8 kB / 367.9 MB, free: 10.82 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002493/0.1694, allocations: 224 kB / 368.2 MB, free: 10.56 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.114e-05/0.1695, allocations: 20.38 kB / 368.2 MB, free: 10.54 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.624e-05/0.1695, allocations: 16.38 kB / 368.2 MB, free: 10.53 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001261/0.1708, allocations: 384 kB / 368.6 MB, free: 10.12 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.667e-05/0.1708, allocations: 4 kB / 368.6 MB, free: 10.12 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.909e-05/0.1709, allocations: 4 kB / 368.6 MB, free: 10.11 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.573e-06/0.1709, allocations: 7.938 kB / 368.6 MB, free: 10.11 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001359/0.1722, allocations: 355.5 kB / 368.9 MB, free: 9.758 MB / 318.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.001506/0.1738, allocations: 1.184 MB / 370.1 MB, free: 8.473 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008419/0.1746, allocations: 283.7 kB / 370.4 MB, free: 8.168 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002913/0.1749, allocations: 114.9 kB / 370.5 MB, free: 8.047 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2269/0.4018, allocations: 47.45 MB / 417.9 MB, free: 20.56 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.919e-05/0.4019, allocations: 42.53 kB / 418 MB, free: 20.52 MB / 318.1 MB Notification: Performance of pre-optimization done (n=23): time 2.174e-06/0.4019, allocations: 0 / 418 MB, free: 20.52 MB / 318.1 MB Notification: Performance of matching and sorting (n=33): time 0.006158/0.408, allocations: 1.579 MB / 419.6 MB, free: 18.94 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.559e-05/0.4081, allocations: 106.8 kB / 419.7 MB, free: 18.81 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.124e-05/0.4082, allocations: 121 kB / 419.8 MB, free: 18.69 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.78e-05/0.4082, allocations: 33.7 kB / 419.8 MB, free: 18.65 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.677e-05/0.4083, allocations: 103.5 kB / 419.9 MB, free: 18.54 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.386e-05/0.4083, allocations: 119.5 kB / 420 MB, free: 18.44 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.663e-05/0.4084, allocations: 73.25 kB / 420.1 MB, free: 18.36 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.122e-05/0.4085, allocations: 335.9 kB / 420.4 MB, free: 18.03 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003243/0.4088, allocations: 131.7 kB / 420.6 MB, free: 17.9 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003402/0.4091, allocations: 206.4 kB / 420.8 MB, free: 17.68 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006781/0.4098, allocations: 344.3 kB / 421.1 MB, free: 17.32 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.4098, allocations: 0 / 421.1 MB, free: 17.32 MB / 318.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0009016/0.4108, allocations: 422 kB / 421.5 MB, free: 16.89 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.539e-05/0.4108, allocations: 4 kB / 421.5 MB, free: 16.89 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.143e-06/0.4108, allocations: 7.984 kB / 421.5 MB, free: 16.88 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000212/0.411, allocations: 36.84 kB / 421.6 MB, free: 16.84 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004287/0.4115, allocations: 91.81 kB / 421.7 MB, free: 16.75 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000226/0.4117, allocations: 0.5486 MB / 422.2 MB, free: 16.18 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002735/0.412, allocations: 19.98 kB / 422.2 MB, free: 16.16 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.274e-05/0.412, allocations: 19.98 kB / 422.2 MB, free: 16.14 MB / 318.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.000104/0.4121, allocations: 139.1 kB / 422.4 MB, free: 16 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.211e-05/0.4122, allocations: 19.75 kB / 422.4 MB, free: 15.98 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001666/0.4139, allocations: 1.456 MB / 423.9 MB, free: 14.52 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.558e-05/0.4139, allocations: 23.91 kB / 423.9 MB, free: 14.5 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.4139, allocations: 0 / 423.9 MB, free: 14.5 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.023e-06/0.4139, allocations: 7.984 kB / 423.9 MB, free: 14.49 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002206/0.4162, allocations: 1.969 MB / 425.9 MB, free: 12.46 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.63e-06/0.4162, allocations: 4 kB / 425.9 MB, free: 12.46 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004119/0.4166, allocations: 83.86 kB / 425.9 MB, free: 12.38 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002795/0.4169, allocations: 72.83 kB / 426 MB, free: 12.3 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.015e-05/0.4169, allocations: 11.98 kB / 426 MB, free: 12.29 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002016/0.4171, allocations: 0.5874 MB / 426.6 MB, free: 11.68 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.295e-06/0.4171, allocations: 3.875 kB / 426.6 MB, free: 11.68 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00164/0.4188, allocations: 1.697 MB / 428.3 MB, free: 9.953 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.052e-05/0.4188, allocations: 124.5 kB / 428.4 MB, free: 9.812 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.746e-05/0.4189, allocations: 15.94 kB / 428.4 MB, free: 9.797 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003719/0.4193, allocations: 23.92 kB / 428.5 MB, free: 9.773 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.423e-05/0.4193, allocations: 32.62 kB / 428.5 MB, free: 9.742 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.885e-05/0.4194, allocations: 19.98 kB / 428.5 MB, free: 9.723 MB / 318.1 MB Notification: Performance of sorting global known variables: time 3.384e-05/0.4194, allocations: 95.11 kB / 428.6 MB, free: 9.633 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4194, allocations: 0 / 428.6 MB, free: 9.633 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.002209/0.4216, allocations: 0.9592 MB / 429.6 MB, free: 8.75 MB / 318.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.003395/0.425, allocations: 1.128 MB / 430.7 MB, free: 7.738 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001293/0.4263, allocations: 0.6205 MB / 431.3 MB, free: 7.113 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.4264, allocations: 4 kB / 431.3 MB, free: 7.109 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005965/0.427, allocations: 0.5132 MB / 431.8 MB, free: 6.598 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007088/0.4277, allocations: 81.8 kB / 431.9 MB, free: 6.523 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001898/0.4296, allocations: 1.498 MB / 433.4 MB, free: 5.004 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000177/0.4298, allocations: 0.8215 MB / 434.2 MB, free: 4.16 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.000336/0.4301, allocations: 138.7 kB / 434.4 MB, free: 4.031 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001167/0.4302, allocations: 39.41 kB / 434.4 MB, free: 3.992 MB / 318.1 MB Notification: Performance of SimCode: time 4.41e-07/0.4302, allocations: 0 / 434.4 MB, free: 3.992 MB / 318.1 MB Notification: Performance of Templates: time 0.04367/0.4739, allocations: 36.25 MB / 470.7 MB, free: 15.7 MB / 366.1 MB make -j1 -f Modelica_3.2.2_Modelica.Media.Examples.WaterIF97.makefile (rm -f Modelica_3.2.2_Modelica.Media.Examples.WaterIF97.pipe ; mkfifo Modelica_3.2.2_Modelica.Media.Examples.WaterIF97.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Media.Examples.WaterIF97.pipe >> ../files/Modelica_3.2.2_Modelica.Media.Examples.WaterIF97.sim & ./Modelica_3.2.2_Modelica.Media.Examples.WaterIF97 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Media.Examples.WaterIF97.pipe 2>&1)