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.001411/0.001411, allocations: 99.8 kB / 16.92 MB, free: 5.793 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.001627/0.001627, allocations: 191.3 kB / 17.85 MB, free: 5.16 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.448/1.448, allocations: 205.1 MB / 223.7 MB, free: 12.3 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.001165/0.001165, allocations: 51.92 kB / 280 MB, free: 3.184 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07808/0.07926, allocations: 46.63 MB / 326.6 MB, free: 4.484 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.WaterIF97): time 0.01462/0.09391, allocations: 12.91 MB / 339.5 MB, free: 7.508 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01361/0.1076, allocations: 11.54 MB / 351.1 MB, free: 11.93 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001394/0.1077, allocations: 4 kB / 351.1 MB, free: 11.93 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003318/0.1081, allocations: 75.55 kB / 351.1 MB, free: 11.85 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003158/0.1084, allocations: 83.42 kB / 351.2 MB, free: 11.77 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01294/0.1214, allocations: 5.053 MB / 356.3 MB, free: 6.699 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003618/0.1218, allocations: 234.9 kB / 356.5 MB, free: 6.469 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.938e-05/0.1218, allocations: 9.453 kB / 356.5 MB, free: 6.461 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005373/0.1224, allocations: 191.4 kB / 356.7 MB, free: 6.273 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001567/0.1225, allocations: 75.64 kB / 356.8 MB, free: 6.199 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.712e-05/0.1226, allocations: 8 kB / 356.8 MB, free: 6.191 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01464/0.1372, allocations: 6.821 MB / 363.6 MB, free: 15.36 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001052/0.1374, allocations: 35.84 kB / 363.6 MB, free: 15.32 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001391/0.1375, allocations: 67.72 kB / 363.7 MB, free: 15.26 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008535/0.1461, allocations: 3.871 MB / 367.6 MB, free: 11.38 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.1461, allocations: 0 / 367.6 MB, free: 11.38 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1461, allocations: 0 / 367.6 MB, free: 11.38 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.243e-06/0.1461, allocations: 0 / 367.6 MB, free: 11.38 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.005625/0.1518, allocations: 1.146 MB / 368.7 MB, free: 10.19 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.273e-05/0.1518, allocations: 12.03 kB / 368.7 MB, free: 10.18 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005552/0.1524, allocations: 48.8 kB / 368.8 MB, free: 10.13 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002673/0.1527, allocations: 220.1 kB / 369 MB, free: 9.875 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.705e-05/0.1527, allocations: 12.38 kB / 369 MB, free: 9.863 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.513e-05/0.1528, allocations: 16.38 kB / 369 MB, free: 9.848 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001344/0.1541, allocations: 384 kB / 369.4 MB, free: 9.441 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.816e-05/0.1542, allocations: 3.938 kB / 369.4 MB, free: 9.438 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.797e-05/0.1542, allocations: 4 kB / 369.4 MB, free: 9.434 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.11e-05/0.1542, allocations: 7.938 kB / 369.4 MB, free: 9.426 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001496/0.1557, allocations: 355.6 kB / 369.8 MB, free: 9.078 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.00149/0.1572, allocations: 1.195 MB / 371 MB, free: 7.781 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008931/0.1581, allocations: 283.8 kB / 371.2 MB, free: 7.477 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000298/0.1584, allocations: 110.9 kB / 371.3 MB, free: 7.359 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2492/0.4076, allocations: 47.45 MB / 418.8 MB, free: 19.81 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.233e-05/0.4077, allocations: 44.25 kB / 418.8 MB, free: 19.76 MB / 318.1 MB Notification: Performance of pre-optimization done (n=23): time 1.853e-06/0.4077, allocations: 0 / 418.8 MB, free: 19.76 MB / 318.1 MB Notification: Performance of matching and sorting (n=33): time 0.006656/0.4143, allocations: 1.576 MB / 420.4 MB, free: 18.19 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.053e-05/0.4144, allocations: 106.8 kB / 420.5 MB, free: 18.06 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.185e-05/0.4145, allocations: 122.7 kB / 420.6 MB, free: 17.93 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.043e-05/0.4145, allocations: 29.7 kB / 420.7 MB, free: 17.9 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.409e-05/0.4146, allocations: 108 kB / 420.8 MB, free: 17.79 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.538e-05/0.4147, allocations: 126 kB / 420.9 MB, free: 17.68 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001076/0.4148, allocations: 65.69 kB / 420.9 MB, free: 17.61 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.367e-05/0.4149, allocations: 330.8 kB / 421.3 MB, free: 17.27 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003673/0.4152, allocations: 139.7 kB / 421.4 MB, free: 17.14 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003815/0.4156, allocations: 202.5 kB / 421.6 MB, free: 16.91 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007429/0.4164, allocations: 346.8 kB / 421.9 MB, free: 16.55 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.466e-06/0.4164, allocations: 0.5 kB / 421.9 MB, free: 16.55 MB / 318.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0009869/0.4174, allocations: 421.9 kB / 422.4 MB, free: 16.13 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.865e-05/0.4174, allocations: 12.22 kB / 422.4 MB, free: 16.12 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.4174, allocations: 0 / 422.4 MB, free: 16.12 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002286/0.4177, allocations: 36.83 kB / 422.4 MB, free: 16.08 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004541/0.4181, allocations: 91.81 kB / 422.5 MB, free: 16 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002516/0.4184, allocations: 0.5523 MB / 423 MB, free: 15.42 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002823/0.4187, allocations: 23.98 kB / 423.1 MB, free: 15.39 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.231e-05/0.4187, allocations: 12 kB / 423.1 MB, free: 15.38 MB / 318.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.0001192/0.4188, allocations: 137.8 kB / 423.2 MB, free: 15.24 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000104/0.419, allocations: 19.75 kB / 423.2 MB, free: 15.22 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001795/0.4208, allocations: 1.448 MB / 424.7 MB, free: 13.77 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.721e-05/0.4208, allocations: 20 kB / 424.7 MB, free: 13.75 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.324e-06/0.4208, allocations: 4 kB / 424.7 MB, free: 13.74 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.755e-06/0.4208, allocations: 3.984 kB / 424.7 MB, free: 13.74 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002386/0.4232, allocations: 1.972 MB / 426.7 MB, free: 11.7 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.631e-06/0.4232, allocations: 0 / 426.7 MB, free: 11.7 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000413/0.4236, allocations: 91.98 kB / 426.8 MB, free: 11.61 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002778/0.4239, allocations: 68.7 kB / 426.8 MB, free: 11.54 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.115e-05/0.424, allocations: 11.98 kB / 426.9 MB, free: 11.53 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002255/0.4242, allocations: 0.5914 MB / 427.4 MB, free: 10.91 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.4242, allocations: 5.141 kB / 427.4 MB, free: 10.91 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00179/0.426, allocations: 1.7 MB / 429.1 MB, free: 9.184 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.755e-05/0.4261, allocations: 120.5 kB / 429.3 MB, free: 9.047 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.685e-05/0.4262, allocations: 19.78 kB / 429.3 MB, free: 9.031 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003589/0.4265, allocations: 18.67 kB / 429.3 MB, free: 9.016 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.574e-05/0.4266, allocations: 35.89 kB / 429.3 MB, free: 8.98 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.044e-05/0.4266, allocations: 19.98 kB / 429.4 MB, free: 8.961 MB / 318.1 MB Notification: Performance of sorting global known variables: time 3.609e-05/0.4267, allocations: 95.27 kB / 429.5 MB, free: 8.867 MB / 318.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4267, allocations: 0 / 429.5 MB, free: 8.867 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.002468/0.4292, allocations: 0.9526 MB / 430.4 MB, free: 7.988 MB / 318.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.004362/0.4335, allocations: 1.137 MB / 431.5 MB, free: 6.977 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001418/0.435, allocations: 0.6247 MB / 432.2 MB, free: 6.352 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.435, allocations: 0 / 432.2 MB, free: 6.352 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006632/0.4356, allocations: 0.5167 MB / 432.7 MB, free: 5.836 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007565/0.4364, allocations: 88.39 kB / 432.8 MB, free: 5.758 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002003/0.4384, allocations: 1.305 MB / 434.1 MB, free: 4.426 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001878/0.4386, allocations: 0.8177 MB / 434.9 MB, free: 3.582 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0003591/0.439, allocations: 134.3 kB / 435 MB, free: 3.453 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001339/0.4391, allocations: 39.42 kB / 435.1 MB, free: 3.418 MB / 318.1 MB Notification: Performance of SimCode: time 5.91e-07/0.4392, allocations: 0 / 435.1 MB, free: 3.418 MB / 318.1 MB Notification: Performance of Templates: time 0.04813/0.4873, allocations: 36.3 MB / 471.4 MB, free: 15.09 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)