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.01014/0.01014, allocations: 97.94 kB / 15.73 MB, free: 6.004 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.001524/0.001524, allocations: 192.4 kB / 16.67 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.478/1.478, allocations: 205.1 MB / 222.5 MB, free: 4.531 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.001184/0.001184, allocations: 54.38 kB / 326.5 MB, free: 14.37 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08874/0.08993, allocations: 46.62 MB / 373.2 MB, free: 1.328 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.WaterIF97): time 0.01478/0.1048, allocations: 12.91 MB / 386.1 MB, free: 4.363 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01287/0.1177, allocations: 11.53 MB / 397.6 MB, free: 8.789 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001184/0.1178, allocations: 7.938 kB / 397.6 MB, free: 8.781 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003445/0.1182, allocations: 67.61 kB / 397.7 MB, free: 8.715 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002772/0.1185, allocations: 95.36 kB / 397.8 MB, free: 8.621 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01361/0.1322, allocations: 5.061 MB / 402.8 MB, free: 3.543 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003748/0.1325, allocations: 230.9 kB / 403 MB, free: 3.316 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.007e-05/0.1326, allocations: 13.45 kB / 403.1 MB, free: 3.301 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004466/0.1331, allocations: 195.3 kB / 403.2 MB, free: 3.109 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00012/0.1332, allocations: 71.75 kB / 403.3 MB, free: 3.039 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.434e-05/0.1332, allocations: 8 kB / 403.3 MB, free: 3.031 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01347/0.1467, allocations: 6.993 MB / 410.3 MB, free: 12.03 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.512e-05/0.1468, allocations: 27.91 kB / 410.3 MB, free: 12 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001278/0.1469, allocations: 75.66 kB / 410.4 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007826/0.1548, allocations: 3.867 MB / 414.3 MB, free: 8.055 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.1548, allocations: 4 kB / 414.3 MB, free: 8.051 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.1548, allocations: 0 / 414.3 MB, free: 8.051 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.066e-05/0.1548, allocations: 4 kB / 414.3 MB, free: 8.047 MB / 350.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.004545/0.1594, allocations: 1.166 MB / 415.5 MB, free: 6.828 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.509e-05/0.1594, allocations: 8.031 kB / 415.5 MB, free: 6.82 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004742/0.1599, allocations: 56.8 kB / 415.5 MB, free: 6.766 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003089/0.1602, allocations: 216.2 kB / 415.7 MB, free: 6.516 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.084e-05/0.1603, allocations: 12.38 kB / 415.7 MB, free: 6.504 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.637e-05/0.1603, allocations: 16.38 kB / 415.8 MB, free: 6.488 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001287/0.1616, allocations: 380 kB / 416.1 MB, free: 6.086 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.532e-05/0.1616, allocations: 0 / 416.1 MB, free: 6.086 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.368e-05/0.1617, allocations: 12 kB / 416.1 MB, free: 6.074 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.214e-06/0.1617, allocations: 4 kB / 416.2 MB, free: 6.07 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001421/0.1631, allocations: 359.5 kB / 416.5 MB, free: 5.719 MB / 350.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.001422/0.1646, allocations: 1.191 MB / 417.7 MB, free: 4.426 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008664/0.1654, allocations: 275.7 kB / 418 MB, free: 4.129 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002912/0.1657, allocations: 118.9 kB / 418.1 MB, free: 4.004 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2803/0.446, allocations: 47.64 MB / 465.7 MB, free: 64.86 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.957e-05/0.4461, allocations: 36.72 kB / 465.8 MB, free: 64.81 MB / 382.1 MB Notification: Performance of pre-optimization done (n=23): time 2.164e-06/0.4461, allocations: 0 / 465.8 MB, free: 64.81 MB / 382.1 MB Notification: Performance of matching and sorting (n=33): time 0.006594/0.4527, allocations: 1.577 MB / 467.3 MB, free: 64.23 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.049e-05/0.4528, allocations: 110.7 kB / 467.4 MB, free: 64.1 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.886e-05/0.4529, allocations: 118.7 kB / 467.6 MB, free: 64 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.466e-05/0.4529, allocations: 31.73 kB / 467.6 MB, free: 63.96 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.379e-05/0.4529, allocations: 105.1 kB / 467.7 MB, free: 63.87 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.651e-05/0.453, allocations: 126.2 kB / 467.8 MB, free: 63.79 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001096/0.4531, allocations: 70 kB / 467.9 MB, free: 63.77 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.823e-05/0.4532, allocations: 330.9 kB / 468.2 MB, free: 63.45 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003535/0.4535, allocations: 137.8 kB / 468.3 MB, free: 63.43 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000396/0.4539, allocations: 195.1 kB / 468.5 MB, free: 63.34 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007369/0.4547, allocations: 350.1 kB / 468.9 MB, free: 63.15 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.4547, allocations: 4.656 kB / 468.9 MB, free: 63.15 MB / 382.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0009995/0.4557, allocations: 427.5 kB / 469.3 MB, free: 62.93 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.938e-05/0.4557, allocations: 6.562 kB / 469.3 MB, free: 62.93 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/0.4558, allocations: 1.25 kB / 469.3 MB, free: 62.93 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002434/0.456, allocations: 43.98 kB / 469.3 MB, free: 62.9 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004551/0.4565, allocations: 88.34 kB / 469.4 MB, free: 62.88 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003005/0.4568, allocations: 0.5425 MB / 470 MB, free: 62.34 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002696/0.4571, allocations: 30.8 kB / 470 MB, free: 62.32 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.986e-05/0.4571, allocations: 19.55 kB / 470 MB, free: 62.31 MB / 382.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.0001366/0.4573, allocations: 138.3 kB / 470.2 MB, free: 62.18 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001022/0.4574, allocations: 16.22 kB / 470.2 MB, free: 62.17 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002081/0.4595, allocations: 1.441 MB / 471.6 MB, free: 61.35 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.128e-05/0.4595, allocations: 19.66 kB / 471.6 MB, free: 61.34 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/0.4595, allocations: 7.109 kB / 471.6 MB, free: 61.33 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.654e-06/0.4595, allocations: 1.656 kB / 471.6 MB, free: 61.33 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002603/0.4621, allocations: 1.977 MB / 473.6 MB, free: 60.06 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.384e-06/0.4621, allocations: 8.062 kB / 473.6 MB, free: 60.05 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004074/0.4626, allocations: 87.83 kB / 473.7 MB, free: 60.03 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003055/0.4629, allocations: 64.11 kB / 473.8 MB, free: 59.99 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.191e-05/0.4629, allocations: 15.86 kB / 473.8 MB, free: 59.98 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002363/0.4632, allocations: 0.5829 MB / 474.4 MB, free: 59.42 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.368e-06/0.4632, allocations: 7.844 kB / 474.4 MB, free: 59.41 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001815/0.465, allocations: 1.699 MB / 476.1 MB, free: 58.33 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.042e-05/0.4651, allocations: 131.8 kB / 476.2 MB, free: 58.21 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.101e-05/0.4652, allocations: 15.94 kB / 476.2 MB, free: 58.2 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003307/0.4655, allocations: 15.89 kB / 476.2 MB, free: 58.19 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.932e-05/0.4656, allocations: 39.52 kB / 476.3 MB, free: 58.17 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.023e-05/0.4656, allocations: 19.75 kB / 476.3 MB, free: 58.16 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.724e-05/0.4657, allocations: 90.95 kB / 476.4 MB, free: 58.08 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4657, allocations: 0 / 476.4 MB, free: 58.08 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.003023/0.4687, allocations: 0.9639 MB / 477.4 MB, free: 57.99 MB / 382.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.004218/0.4729, allocations: 1.15 MB / 478.5 MB, free: 57.26 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001329/0.4743, allocations: 0.6098 MB / 479.1 MB, free: 56.65 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5e-06/0.4743, allocations: 4 kB / 479.1 MB, free: 56.65 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006601/0.475, allocations: 0.516 MB / 479.6 MB, free: 56.13 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007539/0.4757, allocations: 76.75 kB / 479.7 MB, free: 56.06 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001978/0.4777, allocations: 1.31 MB / 481 MB, free: 54.73 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002058/0.4779, allocations: 0.8178 MB / 481.8 MB, free: 53.88 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003123/0.4783, allocations: 133.6 kB / 482 MB, free: 53.75 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001246/0.4784, allocations: 39.41 kB / 482 MB, free: 53.71 MB / 382.1 MB Notification: Performance of SimCode: time 4.61e-07/0.4784, allocations: 0 / 482 MB, free: 53.71 MB / 382.1 MB Notification: Performance of Templates: time 0.03457/0.513, allocations: 36.25 MB / 0.5061 GB, free: 17.45 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)