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.0009327/0.0009327, allocations: 90.11 kB / 16.3 MB, free: 6.133 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.0009434/0.0009434, allocations: 182 kB / 17.2 MB, free: 6.016 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.355/1.355, allocations: 205.4 MB / 223.3 MB, free: 13.16 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.0004958/0.000496, allocations: 12 kB / 280.1 MB, free: 3.754 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09343/0.09393, allocations: 47.58 MB / 327.7 MB, free: 4.105 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.WaterIF97): time 0.01402/0.108, allocations: 11.09 MB / 338.8 MB, free: 8.977 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01226/0.1203, allocations: 9.806 MB / 348.6 MB, free: 15.15 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001579/0.1205, allocations: 0 / 348.6 MB, free: 15.15 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003551/0.1209, allocations: 71.66 kB / 348.6 MB, free: 15.08 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003134/0.1212, allocations: 79.81 kB / 348.7 MB, free: 15 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01189/0.1331, allocations: 3.911 MB / 352.6 MB, free: 11.08 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003516/0.1335, allocations: 159.6 kB / 352.8 MB, free: 10.92 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.759e-05/0.1336, allocations: 9.438 kB / 352.8 MB, free: 10.91 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005681/0.1341, allocations: 207.3 kB / 353 MB, free: 10.71 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001347/0.1343, allocations: 51.84 kB / 353.1 MB, free: 10.66 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.023e-05/0.1343, allocations: 7.938 kB / 353.1 MB, free: 10.65 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01279/0.1471, allocations: 6.813 MB / 359.9 MB, free: 3.828 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.8e-05/0.1473, allocations: 27.91 kB / 359.9 MB, free: 3.801 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 8.647e-05/0.1474, allocations: 49.64 kB / 359.9 MB, free: 3.746 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006179/0.1535, allocations: 2.565 MB / 362.5 MB, free: 1.176 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.838e-06/0.1536, allocations: 0 / 362.5 MB, free: 1.176 MB / 302.1 MB Notification: Performance of FrontEnd: time 4.549e-06/0.1536, allocations: 0 / 362.5 MB, free: 1.176 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.682e-06/0.1536, allocations: 3.938 kB / 362.5 MB, free: 1.172 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.004945/0.1586, allocations: 1.108 MB / 363.6 MB, free: 16 kB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.268e-05/0.1586, allocations: 12.02 kB / 363.6 MB, free: 4 kB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004922/0.1591, allocations: 59.72 kB / 363.7 MB, free: 15.95 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002719/0.1594, allocations: 218.9 kB / 363.9 MB, free: 15.69 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.954e-05/0.1594, allocations: 16.22 kB / 363.9 MB, free: 15.68 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.28e-05/0.1595, allocations: 16 kB / 363.9 MB, free: 15.66 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001238/0.1607, allocations: 390.5 kB / 364.3 MB, free: 15.25 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.765e-05/0.1608, allocations: 3.938 kB / 364.3 MB, free: 15.25 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.866e-05/0.1608, allocations: 8 kB / 364.3 MB, free: 15.24 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.343e-06/0.1608, allocations: 4 kB / 364.3 MB, free: 15.23 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001386/0.1622, allocations: 364.2 kB / 364.7 MB, free: 14.88 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.001364/0.1636, allocations: 1.199 MB / 365.9 MB, free: 13.58 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008322/0.1644, allocations: 284.4 kB / 366.2 MB, free: 13.27 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2456/0.4101, allocations: 47.88 MB / 414 MB, free: 24.21 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.004e-05/0.4102, allocations: 42.94 kB / 414.1 MB, free: 24.16 MB / 318.1 MB Notification: Performance of pre-optimization done (n=23): time 2.514e-06/0.4102, allocations: 0 / 414.1 MB, free: 24.16 MB / 318.1 MB Notification: Performance of matching and sorting (n=33): time 0.00629/0.4165, allocations: 1.622 MB / 415.7 MB, free: 22.7 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.901e-05/0.4165, allocations: 106.8 kB / 415.8 MB, free: 22.57 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.436e-05/0.4166, allocations: 118.1 kB / 415.9 MB, free: 22.45 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.923e-05/0.4167, allocations: 29.7 kB / 416 MB, free: 22.42 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.329e-05/0.4167, allocations: 111 kB / 416.1 MB, free: 22.31 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.562e-05/0.4168, allocations: 121.5 kB / 416.2 MB, free: 22.19 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2e-05/0.4168, allocations: 4 kB / 416.2 MB, free: 22.19 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.825e-05/0.4169, allocations: 332.5 kB / 416.5 MB, free: 21.86 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003351/0.4172, allocations: 141.1 kB / 416.7 MB, free: 21.72 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003423/0.4175, allocations: 209.4 kB / 416.9 MB, free: 21.5 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000356/0.4179, allocations: 149.6 kB / 417 MB, free: 21.35 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.452e-06/0.4179, allocations: 0 / 417 MB, free: 21.35 MB / 318.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0009192/0.4189, allocations: 435.7 kB / 417.4 MB, free: 20.92 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.069e-05/0.4189, allocations: 8.219 kB / 417.4 MB, free: 20.91 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.195e-06/0.4189, allocations: 4 kB / 417.4 MB, free: 20.91 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000225/0.4191, allocations: 41.92 kB / 417.5 MB, free: 20.86 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004208/0.4196, allocations: 91.88 kB / 417.6 MB, free: 20.77 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002457/0.4198, allocations: 0.5491 MB / 418.1 MB, free: 20.2 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002699/0.4201, allocations: 19.98 kB / 418.1 MB, free: 20.18 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.186e-05/0.4201, allocations: 19.98 kB / 418.2 MB, free: 20.16 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 (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.0001184/0.4203, allocations: 137.7 kB / 418.3 MB, free: 20.02 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.737e-05/0.4203, allocations: 19.81 kB / 418.3 MB, free: 20 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001779/0.4221, allocations: 1.462 MB / 419.8 MB, free: 18.53 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.95e-05/0.4222, allocations: 23.95 kB / 419.8 MB, free: 18.5 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/0.4222, allocations: 1.281 kB / 419.8 MB, free: 18.5 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/0.4222, allocations: 0 / 419.8 MB, free: 18.5 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002345/0.4245, allocations: 1.974 MB / 421.8 MB, free: 16.47 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.372e-06/0.4246, allocations: 4 kB / 421.8 MB, free: 16.46 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000407/0.425, allocations: 95.86 kB / 421.9 MB, free: 16.38 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003186/0.4253, allocations: 80.64 kB / 422 MB, free: 16.29 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.491e-05/0.4254, allocations: 11.98 kB / 422 MB, free: 16.28 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002224/0.4256, allocations: 0.5914 MB / 422.6 MB, free: 15.66 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.4256, allocations: 1.203 kB / 422.6 MB, free: 15.66 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001755/0.4274, allocations: 1.774 MB / 424.3 MB, free: 13.82 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.164e-05/0.4274, allocations: 128.3 kB / 424.5 MB, free: 13.68 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.497e-05/0.4275, allocations: 8 kB / 424.5 MB, free: 13.67 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003599/0.4278, allocations: 27.98 kB / 424.5 MB, free: 13.64 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.679e-05/0.4279, allocations: 23.95 kB / 424.5 MB, free: 13.62 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.332e-05/0.428, allocations: 27.92 kB / 424.5 MB, free: 13.59 MB / 318.1 MB Notification: Performance of sorting global known variables: time 4.277e-05/0.428, allocations: 98.88 kB / 424.6 MB, free: 13.5 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.428, allocations: 0 / 424.6 MB, free: 13.5 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.002674/0.4307, allocations: 0.9592 MB / 425.6 MB, free: 12.62 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 (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.004886/0.4356, allocations: 1.134 MB / 426.7 MB, free: 11.63 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001179/0.4368, allocations: 0.6011 MB / 427.3 MB, free: 11.02 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.99e-06/0.4368, allocations: 0 / 427.3 MB, free: 11.02 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006784/0.4375, allocations: 0.5131 MB / 427.8 MB, free: 10.51 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006085/0.4381, allocations: 71.92 kB / 427.9 MB, free: 10.44 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002195/0.4403, allocations: 1.55 MB / 429.5 MB, free: 8.852 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002426/0.4406, allocations: 0.8295 MB / 430.3 MB, free: 8 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0003644/0.441, allocations: 141.7 kB / 430.4 MB, free: 7.863 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000117/0.4411, allocations: 31.42 kB / 430.5 MB, free: 7.832 MB / 318.1 MB Notification: Performance of SimCode: time 5.31e-07/0.4411, allocations: 0 / 430.5 MB, free: 7.832 MB / 318.1 MB Notification: Performance of Templates: time 0.04806/0.4892, allocations: 36.29 MB / 466.8 MB, free: 3.52 MB / 350.1 MB make -j1 -f Modelica_3.2.2_Modelica.Media.Examples.WaterIF97.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: