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.002601/0.002601, allocations: 99.05 kB / 16.5 MB, free: 6.648 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.001912/0.001912, allocations: 194 kB / 17.42 MB, free: 6.066 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.438/1.438, allocations: 205.1 MB / 223.3 MB, free: 12.47 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.001115/0.001115, allocations: 43.94 kB / 279.3 MB, free: 3.605 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0838/0.08493, allocations: 46.63 MB / 325.9 MB, free: 4.906 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.WaterIF97): time 0.01584/0.1008, allocations: 13.74 MB / 339.7 MB, free: 7.105 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.013/0.1138, allocations: 12.48 MB / 352.2 MB, free: 10.59 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001206/0.114, allocations: 0 / 352.2 MB, free: 10.59 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003299/0.1144, allocations: 67.67 kB / 352.2 MB, free: 10.52 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002419/0.1146, allocations: 71.5 kB / 352.3 MB, free: 10.45 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01145/0.1261, allocations: 4 MB / 356.3 MB, free: 6.438 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003376/0.1264, allocations: 270.8 kB / 356.6 MB, free: 6.172 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.615e-05/0.1265, allocations: 9.453 kB / 356.6 MB, free: 6.164 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003801/0.1269, allocations: 183.5 kB / 356.8 MB, free: 5.984 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.691e-05/0.127, allocations: 79.62 kB / 356.8 MB, free: 5.906 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.441e-05/0.127, allocations: 4 kB / 356.8 MB, free: 5.902 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01112/0.1381, allocations: 6.903 MB / 363.7 MB, free: 14.99 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.602e-05/0.1382, allocations: 23.92 kB / 363.8 MB, free: 14.97 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001148/0.1384, allocations: 63.72 kB / 363.8 MB, free: 14.91 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008851/0.1472, allocations: 3.887 MB / 367.7 MB, free: 11.01 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/0.1473, allocations: 0 / 367.7 MB, free: 11.01 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.1473, allocations: 0 / 367.7 MB, free: 11.01 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.264e-06/0.1473, allocations: 0 / 367.7 MB, free: 11.01 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.004714/0.152, allocations: 1.146 MB / 368.9 MB, free: 9.816 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.84e-05/0.152, allocations: 12.03 kB / 368.9 MB, free: 9.805 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004638/0.1525, allocations: 48.8 kB / 368.9 MB, free: 9.758 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002355/0.1528, allocations: 224 kB / 369.1 MB, free: 9.5 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.578e-05/0.1528, allocations: 16.38 kB / 369.2 MB, free: 9.484 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.383e-05/0.1529, allocations: 12.38 kB / 369.2 MB, free: 9.473 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001226/0.1541, allocations: 380 kB / 369.5 MB, free: 9.07 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.689e-05/0.1541, allocations: 7.938 kB / 369.5 MB, free: 9.062 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.351e-05/0.1542, allocations: 7.984 kB / 369.6 MB, free: 9.055 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.165e-06/0.1542, allocations: 4 kB / 369.6 MB, free: 9.051 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001356/0.1555, allocations: 355.6 kB / 369.9 MB, free: 8.703 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.00136/0.1569, allocations: 1.195 MB / 371.1 MB, free: 7.406 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008614/0.1578, allocations: 283.8 kB / 371.4 MB, free: 7.102 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002857/0.1581, allocations: 110.9 kB / 371.5 MB, free: 6.984 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2426/0.4007, allocations: 47.44 MB / 418.9 MB, free: 3.312 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.817e-05/0.4008, allocations: 31.78 kB / 419 MB, free: 3.273 MB / 318.1 MB Notification: Performance of pre-optimization done (n=23): time 2.124e-06/0.4008, allocations: 0 / 419 MB, free: 3.273 MB / 318.1 MB Notification: Performance of matching and sorting (n=33): time 0.006741/0.4075, allocations: 1.583 MB / 420.5 MB, free: 1.98 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.775e-05/0.4076, allocations: 110.2 kB / 420.6 MB, free: 1.852 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.962e-05/0.4077, allocations: 121.2 kB / 420.8 MB, free: 1.73 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.314e-05/0.4078, allocations: 33.52 kB / 420.8 MB, free: 1.695 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.038e-05/0.4078, allocations: 116.1 kB / 420.9 MB, free: 1.594 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.928e-05/0.4079, allocations: 111.1 kB / 421 MB, free: 1.504 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001215/0.4081, allocations: 72.38 kB / 421.1 MB, free: 1.453 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.8e-05/0.4081, allocations: 327.3 kB / 421.4 MB, free: 1.133 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003529/0.4085, allocations: 135.1 kB / 421.5 MB, free: 1.039 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003712/0.4089, allocations: 201.7 kB / 421.7 MB, free: 0.8672 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007003/0.4096, allocations: 345.5 kB / 422.1 MB, free: 0.6211 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.4096, allocations: 0 / 422.1 MB, free: 0.6211 MB / 318.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0009622/0.4106, allocations: 427.1 kB / 422.5 MB, free: 324 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.4106, allocations: 4 kB / 422.5 MB, free: 320 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.199e-05/0.4106, allocations: 4 kB / 422.5 MB, free: 316 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002341/0.4109, allocations: 37.42 kB / 422.5 MB, free: 284 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000443/0.4113, allocations: 93.72 kB / 422.6 MB, free: 200 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003711/0.4117, allocations: 0.5424 MB / 423.2 MB, free: 15.64 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003111/0.412, allocations: 37.44 kB / 423.2 MB, free: 15.62 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.736e-05/0.4121, allocations: 15.5 kB / 423.2 MB, free: 15.61 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.0002461/0.4123, allocations: 139 kB / 423.4 MB, free: 15.48 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001088/0.4124, allocations: 15.84 kB / 423.4 MB, free: 15.46 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002081/0.4145, allocations: 1.458 MB / 424.8 MB, free: 14.5 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.199e-05/0.4146, allocations: 23.09 kB / 424.9 MB, free: 14.48 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.4146, allocations: 0 / 424.9 MB, free: 14.48 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.333e-06/0.4146, allocations: 3.984 kB / 424.9 MB, free: 14.48 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003143/0.4177, allocations: 1.981 MB / 426.8 MB, free: 13.08 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.735e-06/0.4178, allocations: 2.844 kB / 426.8 MB, free: 13.08 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004693/0.4182, allocations: 83.33 kB / 426.9 MB, free: 13.01 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003375/0.4186, allocations: 72.73 kB / 427 MB, free: 12.95 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.596e-05/0.4186, allocations: 11.92 kB / 427 MB, free: 12.94 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004464/0.4191, allocations: 0.5941 MB / 427.6 MB, free: 12.36 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.4191, allocations: 0 / 427.6 MB, free: 12.36 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002302/0.4214, allocations: 1.69 MB / 429.3 MB, free: 11.18 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001206/0.4216, allocations: 128.4 kB / 429.4 MB, free: 11.03 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.192e-05/0.4216, allocations: 9.625 kB / 429.4 MB, free: 11.03 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004071/0.422, allocations: 23.8 kB / 429.4 MB, free: 11.01 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.466e-05/0.4221, allocations: 33.39 kB / 429.5 MB, free: 10.98 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.605e-05/0.4222, allocations: 23.14 kB / 429.5 MB, free: 10.96 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.461e-05/0.4222, allocations: 93.11 kB / 429.6 MB, free: 10.88 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4222, allocations: 0 / 429.6 MB, free: 10.88 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0034/0.4256, allocations: 0.9549 MB / 430.5 MB, free: 10.05 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.005131/0.4308, allocations: 1.133 MB / 431.7 MB, free: 9.129 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001526/0.4323, allocations: 0.6145 MB / 432.3 MB, free: 8.715 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.408e-06/0.4323, allocations: 1.75 kB / 432.3 MB, free: 8.715 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008584/0.4332, allocations: 0.5082 MB / 432.8 MB, free: 8.43 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008656/0.4341, allocations: 77.48 kB / 432.9 MB, free: 8.371 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002479/0.4366, allocations: 1.498 MB / 434.4 MB, free: 7.062 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003989/0.437, allocations: 0.8178 MB / 435.2 MB, free: 6.223 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0004282/0.4374, allocations: 131.9 kB / 435.3 MB, free: 6.098 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000143/0.4376, allocations: 39.41 kB / 435.4 MB, free: 6.059 MB / 334.1 MB Notification: Performance of SimCode: time 6.91e-07/0.4376, allocations: 0 / 435.4 MB, free: 6.059 MB / 334.1 MB Notification: Performance of Templates: time 0.04809/0.4857, allocations: 35.94 MB / 471.3 MB, free: 2.238 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)