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.0011/0.0011, allocations: 91.22 kB / 15.36 MB, free: 0.7383 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.008086/0.008086, allocations: 172.7 kB / 16.26 MB, free: 6.613 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.478/1.478, allocations: 205.4 MB / 222.5 MB, free: 5.559 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.0005106/0.0005106, allocations: 8 kB / 279.4 MB, free: 12.53 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2321/0.2326, allocations: 47.58 MB / 327 MB, free: 1.398 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.WaterIF97): time 0.01691/0.2496, allocations: 13.24 MB / 340.3 MB, free: 6.098 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.01455/0.2642, allocations: 12.28 MB / 352.5 MB, free: 9.781 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001544/0.2644, allocations: 0 / 352.5 MB, free: 9.781 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003541/0.2647, allocations: 63.67 kB / 352.6 MB, free: 9.719 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003304/0.2651, allocations: 83.48 kB / 352.7 MB, free: 9.637 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01309/0.2782, allocations: 3.988 MB / 356.7 MB, free: 5.637 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005297/0.2787, allocations: 274.8 kB / 356.9 MB, free: 5.367 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.112e-05/0.2788, allocations: 17.44 kB / 357 MB, free: 5.348 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006195/0.2794, allocations: 183.4 kB / 357.1 MB, free: 5.168 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001742/0.2796, allocations: 83.61 kB / 357.2 MB, free: 5.086 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.535e-05/0.2797, allocations: 4 kB / 357.2 MB, free: 5.082 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0135/0.2932, allocations: 6.895 MB / 364.1 MB, free: 14.18 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001111/0.2933, allocations: 31.89 kB / 364.1 MB, free: 14.15 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001384/0.2935, allocations: 85.44 kB / 364.2 MB, free: 14.06 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0101/0.3036, allocations: 3.863 MB / 368.1 MB, free: 10.19 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.3036, allocations: 0 / 368.1 MB, free: 10.19 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.634e-06/0.3036, allocations: 0 / 368.1 MB, free: 10.19 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.386e-06/0.3036, allocations: 0 / 368.1 MB, free: 10.19 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.005106/0.3088, allocations: 1.107 MB / 369.2 MB, free: 9.031 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.125e-05/0.3088, allocations: 8.031 kB / 369.2 MB, free: 9.023 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005151/0.3093, allocations: 56.7 kB / 369.3 MB, free: 8.969 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002753/0.3096, allocations: 224.2 kB / 369.5 MB, free: 8.711 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.243e-05/0.3097, allocations: 12.38 kB / 369.5 MB, free: 8.699 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.221e-05/0.3097, allocations: 16.38 kB / 369.5 MB, free: 8.684 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001341/0.3111, allocations: 392 kB / 369.9 MB, free: 8.27 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.613e-05/0.3111, allocations: 0 / 369.9 MB, free: 8.27 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.351e-05/0.3112, allocations: 8 kB / 369.9 MB, free: 8.262 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.235e-06/0.3112, allocations: 11.94 kB / 369.9 MB, free: 8.25 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001505/0.3127, allocations: 359.6 kB / 370.3 MB, free: 7.898 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.001606/0.3143, allocations: 1.203 MB / 371.5 MB, free: 6.594 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008794/0.3152, allocations: 283.8 kB / 371.7 MB, free: 6.289 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002901/0.3155, allocations: 122.9 kB / 371.9 MB, free: 6.16 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1004/0.4159, allocations: 47.87 MB / 419.7 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.195e-05/0.416, allocations: 46.44 kB / 419.8 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of pre-optimization done (n=23): time 1.964e-06/0.416, allocations: 0 / 419.8 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of matching and sorting (n=33): time 0.006848/0.4229, allocations: 1.626 MB / 421.4 MB, free: 14.93 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.365e-05/0.4229, allocations: 106.8 kB / 421.5 MB, free: 14.8 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001045/0.4231, allocations: 125.8 kB / 421.6 MB, free: 14.67 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.715e-05/0.4231, allocations: 29.7 kB / 421.7 MB, free: 14.63 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.546e-05/0.4232, allocations: 96.61 kB / 421.7 MB, free: 14.54 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.625e-05/0.4233, allocations: 122.2 kB / 421.9 MB, free: 14.42 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.731e-05/0.4233, allocations: 33.7 kB / 421.9 MB, free: 14.38 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001189/0.4234, allocations: 326.8 kB / 422.2 MB, free: 14.05 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00041/0.4239, allocations: 143.7 kB / 422.4 MB, free: 13.91 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004461/0.4243, allocations: 210.5 kB / 422.6 MB, free: 13.68 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008673/0.4252, allocations: 346.6 kB / 422.9 MB, free: 13.32 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.4252, allocations: 3.938 kB / 422.9 MB, free: 13.31 MB / 366.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.00114/0.4264, allocations: 438 kB / 423.3 MB, free: 12.88 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.004e-05/0.4264, allocations: 8 kB / 423.3 MB, free: 12.87 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-06/0.4264, allocations: 0 / 423.3 MB, free: 12.87 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002694/0.4267, allocations: 36.78 kB / 423.4 MB, free: 12.83 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000477/0.4272, allocations: 100 kB / 423.5 MB, free: 12.73 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003975/0.4276, allocations: 0.5407 MB / 424 MB, free: 12.16 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003201/0.4279, allocations: 27.92 kB / 424 MB, free: 12.14 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.051e-05/0.428, allocations: 28.06 kB / 424.1 MB, free: 12.11 MB / 366.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.0001672/0.4282, allocations: 133.7 kB / 424.2 MB, free: 11.97 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.303e-05/0.4283, allocations: 19.81 kB / 424.2 MB, free: 11.95 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002313/0.4306, allocations: 1.474 MB / 425.7 MB, free: 10.46 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-05/0.4306, allocations: 28 kB / 425.7 MB, free: 10.44 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.213e-06/0.4306, allocations: 384 / 425.7 MB, free: 10.44 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.422e-06/0.4306, allocations: 0 / 425.7 MB, free: 10.44 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002988/0.4336, allocations: 1.99 MB / 427.7 MB, free: 8.371 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.674e-06/0.4337, allocations: 0 / 427.7 MB, free: 8.371 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004396/0.4341, allocations: 87.81 kB / 427.8 MB, free: 8.285 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003731/0.4345, allocations: 76.91 kB / 427.9 MB, free: 8.207 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.984e-05/0.4345, allocations: 19.98 kB / 427.9 MB, free: 8.188 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003462/0.4349, allocations: 0.5873 MB / 428.5 MB, free: 7.574 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/0.4349, allocations: 4.031 kB / 428.5 MB, free: 7.57 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002238/0.4372, allocations: 1.712 MB / 430.2 MB, free: 5.832 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.51e-05/0.4373, allocations: 124.5 kB / 430.3 MB, free: 5.691 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.517e-05/0.4373, allocations: 8 kB / 430.3 MB, free: 5.684 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003733/0.4377, allocations: 27.97 kB / 430.4 MB, free: 5.656 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.997e-05/0.4378, allocations: 27.95 kB / 430.4 MB, free: 5.629 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.33e-05/0.4378, allocations: 15.98 kB / 430.4 MB, free: 5.613 MB / 366.1 MB Notification: Performance of sorting global known variables: time 5.598e-05/0.4379, allocations: 95.27 kB / 430.5 MB, free: 5.52 MB / 366.1 MB Notification: Performance of sort global known variables: time 2e-07/0.4379, allocations: 0 / 430.5 MB, free: 5.52 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.002792/0.4407, allocations: 0.9566 MB / 431.4 MB, free: 4.562 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 (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.004718/0.4454, allocations: 1.14 MB / 432.6 MB, free: 3.414 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001344/0.4468, allocations: 0.6087 MB / 433.2 MB, free: 2.805 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.067e-06/0.4468, allocations: 0 / 433.2 MB, free: 2.805 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008376/0.4476, allocations: 0.5168 MB / 433.7 MB, free: 2.285 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008332/0.4485, allocations: 79.86 kB / 433.8 MB, free: 2.207 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00248/0.451, allocations: 1.58 MB / 435.4 MB, free: 0.582 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003871/0.4514, allocations: 0.8139 MB / 436.2 MB, free: 15.75 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004147/0.4518, allocations: 138 kB / 436.3 MB, free: 15.61 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001336/0.4519, allocations: 35.41 kB / 436.4 MB, free: 15.57 MB / 382.1 MB Notification: Performance of SimCode: time 1.032e-06/0.4519, allocations: 3.938 kB / 436.4 MB, free: 15.57 MB / 382.1 MB Notification: Performance of Templates: time 0.2047/0.6566, allocations: 35.86 MB / 472.2 MB, free: 105.4 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)