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.001461/0.00146, allocations: 97.3 kB / 17.06 MB, free: 6.121 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.001426/0.001426, allocations: 196.1 kB / 17.99 MB, free: 5.199 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.485/1.485, allocations: 205.1 MB / 223.9 MB, free: 12.23 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.001239/0.001239, allocations: 52.34 kB / 327.8 MB, free: 3.309 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08102/0.08227, allocations: 46.61 MB / 374.5 MB, free: 4.586 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.WaterIF97): time 0.2086/0.2909, allocations: 12.92 MB / 387.4 MB, free: 6.535 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01203/0.3029, allocations: 11.54 MB / 398.9 MB, free: 14.59 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001737/0.3032, allocations: 0 / 398.9 MB, free: 14.59 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004423/0.3037, allocations: 72.38 kB / 399 MB, free: 14.55 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004079/0.3041, allocations: 89.08 kB / 399.1 MB, free: 14.5 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01884/0.323, allocations: 5.057 MB / 404.1 MB, free: 11.92 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004452/0.3234, allocations: 236 kB / 404.4 MB, free: 11.79 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.646e-05/0.3235, allocations: 12.08 kB / 404.4 MB, free: 11.78 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004792/0.324, allocations: 203.5 kB / 404.6 MB, free: 11.65 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001601/0.3242, allocations: 74.2 kB / 404.6 MB, free: 11.61 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.288e-05/0.3242, allocations: 8.625 kB / 404.6 MB, free: 11.61 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01654/0.3407, allocations: 6.988 MB / 411.6 MB, free: 7.945 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000106/0.3409, allocations: 26 kB / 411.7 MB, free: 7.926 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001864/0.3411, allocations: 67.8 kB / 411.7 MB, free: 7.891 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01136/0.3524, allocations: 3.867 MB / 415.6 MB, free: 5.418 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/0.3525, allocations: 1.188 kB / 415.6 MB, free: 5.418 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.3525, allocations: 4 kB / 415.6 MB, free: 5.414 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.201e-05/0.3525, allocations: 0 / 415.6 MB, free: 5.414 MB / 334.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.005758/0.3583, allocations: 1.136 MB / 416.7 MB, free: 4.617 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.392e-05/0.3583, allocations: 9.156 kB / 416.7 MB, free: 4.617 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005393/0.3589, allocations: 54.86 kB / 416.8 MB, free: 4.594 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003824/0.3593, allocations: 220.5 kB / 417 MB, free: 4.352 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.392e-05/0.3593, allocations: 15.25 kB / 417 MB, free: 4.344 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.355e-05/0.3594, allocations: 18.12 kB / 417 MB, free: 4.336 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001514/0.3609, allocations: 381.5 kB / 417.4 MB, free: 4.066 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.095e-05/0.3609, allocations: 0 / 417.4 MB, free: 4.066 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.762e-05/0.361, allocations: 10.75 kB / 417.4 MB, free: 4.059 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.111e-05/0.361, allocations: 4.922 kB / 417.4 MB, free: 4.059 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001509/0.3626, allocations: 357.9 kB / 417.8 MB, free: 3.887 MB / 334.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.001427/0.364, allocations: 1.183 MB / 419 MB, free: 2.711 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008754/0.3649, allocations: 279.2 kB / 419.2 MB, free: 2.531 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002966/0.3652, allocations: 120.8 kB / 419.4 MB, free: 2.453 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1035/0.4687, allocations: 47.65 MB / 467 MB, free: 13.26 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.667e-05/0.4688, allocations: 37.44 kB / 467 MB, free: 13.22 MB / 398.1 MB Notification: Performance of pre-optimization done (n=23): time 2.314e-06/0.4688, allocations: 0 / 467 MB, free: 13.22 MB / 398.1 MB Notification: Performance of matching and sorting (n=33): time 0.007298/0.4761, allocations: 1.584 MB / 468.6 MB, free: 11.58 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.589e-05/0.4762, allocations: 106.8 kB / 468.7 MB, free: 11.45 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001153/0.4763, allocations: 121.7 kB / 468.9 MB, free: 11.32 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.45e-05/0.4764, allocations: 33.7 kB / 468.9 MB, free: 11.28 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001026/0.4765, allocations: 101 kB / 469 MB, free: 11.18 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.896e-05/0.4766, allocations: 118.3 kB / 469.1 MB, free: 11.06 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001265/0.4767, allocations: 69.69 kB / 469.2 MB, free: 10.99 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001228/0.4769, allocations: 326.8 kB / 469.5 MB, free: 10.66 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004229/0.4773, allocations: 139.8 kB / 469.6 MB, free: 10.52 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004465/0.4777, allocations: 198.5 kB / 469.8 MB, free: 10.3 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000848/0.4786, allocations: 346.5 kB / 470.2 MB, free: 9.941 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-06/0.4786, allocations: 3.938 kB / 470.2 MB, free: 9.938 MB / 398.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001102/0.4797, allocations: 429.9 kB / 470.6 MB, free: 9.508 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.659e-05/0.4797, allocations: 8.156 kB / 470.6 MB, free: 9.5 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.835e-06/0.4798, allocations: 8 kB / 470.6 MB, free: 9.492 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002315/0.48, allocations: 32.83 kB / 470.6 MB, free: 9.457 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004791/0.4805, allocations: 91.88 kB / 470.7 MB, free: 9.367 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003924/0.4809, allocations: 0.5445 MB / 471.3 MB, free: 8.797 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003015/0.4812, allocations: 28.06 kB / 471.3 MB, free: 8.77 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.584e-05/0.4813, allocations: 12 kB / 471.3 MB, free: 8.758 MB / 398.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.0001836/0.4815, allocations: 141.7 kB / 471.4 MB, free: 8.609 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001018/0.4816, allocations: 19.81 kB / 471.5 MB, free: 8.59 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002349/0.4839, allocations: 1.445 MB / 472.9 MB, free: 7.141 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.52e-05/0.484, allocations: 23.91 kB / 472.9 MB, free: 7.117 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.484, allocations: 0 / 472.9 MB, free: 7.117 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.971e-06/0.484, allocations: 0 / 472.9 MB, free: 7.117 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003017/0.487, allocations: 1.987 MB / 474.9 MB, free: 5.051 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.744e-06/0.487, allocations: 2.062 kB / 474.9 MB, free: 5.051 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004616/0.4875, allocations: 79.88 kB / 475 MB, free: 4.973 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003185/0.4878, allocations: 72.78 kB / 475.1 MB, free: 4.898 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.554e-05/0.4879, allocations: 12.12 kB / 475.1 MB, free: 4.887 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004057/0.4883, allocations: 0.5875 MB / 475.7 MB, free: 4.273 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.482e-06/0.4883, allocations: 7.875 kB / 475.7 MB, free: 4.266 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002364/0.4907, allocations: 1.686 MB / 477.4 MB, free: 2.551 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001022/0.4908, allocations: 128.3 kB / 477.5 MB, free: 2.406 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.696e-05/0.4908, allocations: 12.03 kB / 477.5 MB, free: 2.395 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000359/0.4912, allocations: 19.98 kB / 477.5 MB, free: 2.375 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.868e-05/0.4913, allocations: 39.83 kB / 477.6 MB, free: 2.336 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.43e-05/0.4913, allocations: 19.98 kB / 477.6 MB, free: 2.316 MB / 398.1 MB Notification: Performance of sorting global known variables: time 7.28e-05/0.4914, allocations: 91.22 kB / 477.7 MB, free: 2.227 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.4914, allocations: 0 / 477.7 MB, free: 2.227 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.003912/0.4953, allocations: 0.9566 MB / 478.6 MB, free: 1.27 MB / 398.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.005866/0.5012, allocations: 1.13 MB / 479.7 MB, free: 132 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001593/0.5028, allocations: 0.6164 MB / 480.4 MB, free: 15.51 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.708e-06/0.5029, allocations: 0 / 480.4 MB, free: 15.51 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008101/0.5037, allocations: 0.5132 MB / 480.9 MB, free: 15 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008337/0.5045, allocations: 72.62 kB / 480.9 MB, free: 14.93 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002518/0.5071, allocations: 1.299 MB / 482.2 MB, free: 13.59 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004487/0.5075, allocations: 0.8178 MB / 483.1 MB, free: 12.74 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0004359/0.508, allocations: 153.8 kB / 483.2 MB, free: 12.59 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000136/0.5081, allocations: 35.42 kB / 483.2 MB, free: 12.56 MB / 414.1 MB Notification: Performance of SimCode: time 5.61e-07/0.5081, allocations: 0 / 483.2 MB, free: 12.56 MB / 414.1 MB Notification: Performance of Templates: time 0.04734/0.5555, allocations: 36.25 MB / 0.5073 GB, free: 8.242 MB / 446.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)