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.0007637/0.0007636, allocations: 90.27 kB / 16.65 MB, free: 6.59 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.0008282/0.0008282, allocations: 182.8 kB / 17.56 MB, free: 6.203 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.403/1.403, allocations: 205.4 MB / 223.7 MB, free: 13.07 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.0004598/0.0004599, allocations: 11.94 kB / 280.7 MB, free: 3.438 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0852/0.08567, allocations: 47.6 MB / 328.3 MB, free: 3.777 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.WaterIF97): time 0.01504/0.1008, allocations: 13.24 MB / 341.6 MB, free: 6.48 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01381/0.1146, allocations: 12.27 MB / 353.8 MB, free: 10.17 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000119/0.1148, allocations: 0 / 353.8 MB, free: 10.17 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003295/0.1151, allocations: 59.67 kB / 353.9 MB, free: 10.11 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003452/0.1155, allocations: 75.5 kB / 354 MB, free: 10.04 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01188/0.1274, allocations: 4 MB / 358 MB, free: 6.027 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003853/0.1278, allocations: 270.8 kB / 358.2 MB, free: 5.762 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.202e-05/0.1278, allocations: 9.453 kB / 358.2 MB, free: 5.75 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004084/0.1283, allocations: 187.5 kB / 358.4 MB, free: 5.566 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001339/0.1284, allocations: 79.62 kB / 358.5 MB, free: 5.488 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.694e-05/0.1284, allocations: 4 kB / 358.5 MB, free: 5.484 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01159/0.14, allocations: 6.887 MB / 365.4 MB, free: 14.59 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.76e-05/0.1401, allocations: 27.91 kB / 365.4 MB, free: 14.56 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001191/0.1403, allocations: 97.36 kB / 365.5 MB, free: 14.46 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007005/0.1473, allocations: 3.86 MB / 369.4 MB, free: 10.59 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.1473, allocations: 4 kB / 369.4 MB, free: 10.59 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.635e-06/0.1473, allocations: 0 / 369.4 MB, free: 10.59 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.046e-05/0.1473, allocations: 0 / 369.4 MB, free: 10.59 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.004563/0.1519, allocations: 1.111 MB / 370.5 MB, free: 9.43 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.112e-05/0.1519, allocations: 12.03 kB / 370.5 MB, free: 9.418 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004605/0.1524, allocations: 56.7 kB / 370.5 MB, free: 9.363 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002378/0.1527, allocations: 216.2 kB / 370.8 MB, free: 9.113 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.019e-05/0.1527, allocations: 12.38 kB / 370.8 MB, free: 9.102 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.455e-05/0.1528, allocations: 16.28 kB / 370.8 MB, free: 9.086 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001288/0.1541, allocations: 396 kB / 371.2 MB, free: 8.668 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.347e-05/0.1541, allocations: 0 / 371.2 MB, free: 8.668 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.903e-05/0.1541, allocations: 8 kB / 371.2 MB, free: 8.66 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.653e-06/0.1541, allocations: 4 kB / 371.2 MB, free: 8.656 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001465/0.1556, allocations: 375.5 kB / 371.6 MB, free: 8.289 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.00143/0.1571, allocations: 1.199 MB / 372.8 MB, free: 6.988 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008917/0.158, allocations: 291.7 kB / 373 MB, free: 6.676 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002871/0.1583, allocations: 118.9 kB / 373.2 MB, free: 6.551 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2434/0.4017, allocations: 47.87 MB / 421 MB, free: 1.477 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.687e-05/0.4018, allocations: 34.56 kB / 421.1 MB, free: 1.434 MB / 318.1 MB Notification: Performance of pre-optimization done (n=23): time 2.795e-06/0.4018, allocations: 0 / 421.1 MB, free: 1.434 MB / 318.1 MB Notification: Performance of matching and sorting (n=33): time 0.006652/0.4085, allocations: 1.621 MB / 422.7 MB, free: 104 kB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.35e-05/0.4086, allocations: 106.8 kB / 422.8 MB, free: 15.97 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001225/0.4087, allocations: 125.4 kB / 422.9 MB, free: 15.85 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.612e-05/0.4087, allocations: 31.42 kB / 422.9 MB, free: 15.82 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.457e-05/0.4088, allocations: 104.7 kB / 423 MB, free: 15.72 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001053/0.4089, allocations: 119.1 kB / 423.2 MB, free: 15.62 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.689e-05/0.409, allocations: 34.62 kB / 423.2 MB, free: 15.59 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001098/0.4091, allocations: 324 kB / 423.5 MB, free: 15.27 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004008/0.4095, allocations: 146 kB / 423.6 MB, free: 15.17 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004196/0.4099, allocations: 205.6 kB / 423.8 MB, free: 15 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007945/0.4107, allocations: 356.1 kB / 424.2 MB, free: 14.74 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.4108, allocations: 0 / 424.2 MB, free: 14.74 MB / 334.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001159/0.4119, allocations: 433.3 kB / 424.6 MB, free: 14.43 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.412, allocations: 4 kB / 424.6 MB, free: 14.43 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.817e-06/0.412, allocations: 4 kB / 424.6 MB, free: 14.42 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002603/0.4122, allocations: 44.77 kB / 424.7 MB, free: 14.38 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004642/0.4127, allocations: 86.91 kB / 424.8 MB, free: 14.3 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003787/0.4131, allocations: 0.5537 MB / 425.3 MB, free: 13.75 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003209/0.4134, allocations: 29.7 kB / 425.3 MB, free: 13.72 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.096e-05/0.4135, allocations: 18.42 kB / 425.4 MB, free: 13.71 MB / 334.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.0001639/0.4137, allocations: 136.2 kB / 425.5 MB, free: 13.59 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.65e-05/0.4138, allocations: 19.75 kB / 425.5 MB, free: 13.57 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002135/0.4159, allocations: 1.472 MB / 427 MB, free: 12.59 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.52e-05/0.416, allocations: 18.89 kB / 427 MB, free: 12.57 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.064e-05/0.416, allocations: 4.875 kB / 427 MB, free: 12.57 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.893e-06/0.416, allocations: 0 / 427 MB, free: 12.57 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002856/0.4188, allocations: 1.992 MB / 429 MB, free: 11.16 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.378e-06/0.4189, allocations: 4 kB / 429 MB, free: 11.16 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004382/0.4193, allocations: 83.3 kB / 429.1 MB, free: 11.08 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003575/0.4197, allocations: 79.78 kB / 429.2 MB, free: 11.01 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.624e-05/0.4197, allocations: 15.3 kB / 429.2 MB, free: 11 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003645/0.4201, allocations: 0.5958 MB / 429.8 MB, free: 10.42 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.4201, allocations: 3.844 kB / 429.8 MB, free: 10.42 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002149/0.4223, allocations: 1.696 MB / 431.5 MB, free: 9.23 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.804e-05/0.4224, allocations: 132.3 kB / 431.6 MB, free: 9.082 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.759e-05/0.4224, allocations: 12.83 kB / 431.6 MB, free: 9.078 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000378/0.4228, allocations: 23.86 kB / 431.6 MB, free: 9.059 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.809e-05/0.4229, allocations: 35.11 kB / 431.7 MB, free: 9.031 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.288e-05/0.4229, allocations: 19.86 kB / 431.7 MB, free: 9.016 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.878e-05/0.423, allocations: 91.14 kB / 431.8 MB, free: 8.93 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.423, allocations: 0 / 431.8 MB, free: 8.93 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.002844/0.4259, allocations: 0.9513 MB / 432.7 MB, free: 8.094 MB / 334.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.004775/0.4306, allocations: 1.138 MB / 433.9 MB, free: 7.172 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001288/0.4319, allocations: 0.6055 MB / 434.5 MB, free: 6.766 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.432, allocations: 448 / 434.5 MB, free: 6.766 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007667/0.4327, allocations: 0.5105 MB / 435 MB, free: 6.477 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007987/0.4335, allocations: 79.8 kB / 435.1 MB, free: 6.418 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002453/0.436, allocations: 1.582 MB / 436.6 MB, free: 5.012 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003761/0.4364, allocations: 0.8139 MB / 437.5 MB, free: 4.176 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0004106/0.4368, allocations: 143.6 kB / 437.6 MB, free: 4.047 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001364/0.437, allocations: 35.3 kB / 437.6 MB, free: 4.016 MB / 334.1 MB Notification: Performance of SimCode: time 6.11e-07/0.437, allocations: 5.406 kB / 437.6 MB, free: 4.012 MB / 334.1 MB Notification: Performance of Templates: time 0.04932/0.4863, allocations: 35.87 MB / 473.5 MB, free: 248 kB / 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)