Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.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.1_Modelica.Media.Examples.WaterIF97") translateModel(Modelica.Media.Examples.WaterIF97,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.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.008384/0.008384, allocations: 96.16 kB / 15.73 MB, free: 6.055 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.001519/0.001519, allocations: 191.6 kB / 16.67 MB, free: 5.977 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.528/1.528, allocations: 205.1 MB / 222.6 MB, free: 4.5 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.001094/0.001094, allocations: 45.31 kB / 326.5 MB, free: 14.46 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09242/0.09353, allocations: 46.62 MB / 373.1 MB, free: 1.344 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.WaterIF97): time 0.01477/0.1083, allocations: 12.91 MB / 386.1 MB, free: 4.375 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01338/0.1218, allocations: 11.55 MB / 397.6 MB, free: 8.781 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001489/0.1219, allocations: 0 / 397.6 MB, free: 8.781 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003575/0.1224, allocations: 67.55 kB / 397.7 MB, free: 8.715 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003726/0.1227, allocations: 87.44 kB / 397.8 MB, free: 8.629 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01683/0.1396, allocations: 5.057 MB / 402.8 MB, free: 3.555 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004194/0.14, allocations: 234.8 kB / 403 MB, free: 3.324 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.679e-05/0.1401, allocations: 21.41 kB / 403.1 MB, free: 3.301 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005188/0.1406, allocations: 195.3 kB / 403.3 MB, free: 3.109 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001614/0.1408, allocations: 71.7 kB / 403.3 MB, free: 3.039 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.921e-05/0.1408, allocations: 8 kB / 403.3 MB, free: 3.031 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01392/0.1548, allocations: 6.989 MB / 410.3 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.347e-05/0.1549, allocations: 31.89 kB / 410.4 MB, free: 12 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001295/0.155, allocations: 71.61 kB / 410.4 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01028/0.1653, allocations: 3.867 MB / 414.3 MB, free: 8.059 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.132e-06/0.1654, allocations: 0 / 414.3 MB, free: 8.059 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1654, allocations: 0 / 414.3 MB, free: 8.059 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.305e-05/0.1654, allocations: 4 kB / 414.3 MB, free: 8.055 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.00483/0.1702, allocations: 1.17 MB / 415.5 MB, free: 6.832 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.348e-05/0.1703, allocations: 8.031 kB / 415.5 MB, free: 6.824 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005263/0.1708, allocations: 56.8 kB / 415.5 MB, free: 6.77 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003585/0.1712, allocations: 220.2 kB / 415.7 MB, free: 6.516 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.966e-05/0.1713, allocations: 8.375 kB / 415.8 MB, free: 6.508 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.875e-05/0.1713, allocations: 16.38 kB / 415.8 MB, free: 6.492 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001276/0.1726, allocations: 384 kB / 416.1 MB, free: 6.086 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.642e-05/0.1726, allocations: 0 / 416.1 MB, free: 6.086 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.698e-05/0.1727, allocations: 8 kB / 416.2 MB, free: 6.078 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.213e-06/0.1727, allocations: 7.938 kB / 416.2 MB, free: 6.07 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001437/0.1741, allocations: 347.6 kB / 416.5 MB, free: 5.73 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.001463/0.1756, allocations: 1.203 MB / 417.7 MB, free: 4.426 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008662/0.1765, allocations: 275.8 kB / 418 MB, free: 4.129 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002778/0.1768, allocations: 110.9 kB / 418.1 MB, free: 4.012 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2897/0.4665, allocations: 47.64 MB / 465.7 MB, free: 65.34 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.435e-05/0.4666, allocations: 37.81 kB / 465.8 MB, free: 65.3 MB / 382.1 MB Notification: Performance of pre-optimization done (n=23): time 3.817e-06/0.4666, allocations: 1.25 kB / 465.8 MB, free: 65.3 MB / 382.1 MB Notification: Performance of matching and sorting (n=33): time 0.006556/0.4731, allocations: 1.58 MB / 467.3 MB, free: 64.56 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.516e-05/0.4732, allocations: 106.6 kB / 467.4 MB, free: 64.43 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.483e-05/0.4733, allocations: 122 kB / 467.6 MB, free: 64.32 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.592e-05/0.4733, allocations: 31.92 kB / 467.6 MB, free: 64.29 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.213e-05/0.4734, allocations: 107.4 kB / 467.7 MB, free: 64.18 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.049e-05/0.4734, allocations: 128.1 kB / 467.8 MB, free: 64.09 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001091/0.4736, allocations: 63.62 kB / 467.9 MB, free: 64.05 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.694e-05/0.4736, allocations: 330.4 kB / 468.2 MB, free: 63.72 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003597/0.474, allocations: 131.9 kB / 468.3 MB, free: 63.66 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003901/0.4744, allocations: 208.3 kB / 468.5 MB, free: 63.52 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007509/0.4751, allocations: 351.8 kB / 468.9 MB, free: 63.3 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.4751, allocations: 0 / 468.9 MB, free: 63.3 MB / 382.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0009897/0.4761, allocations: 421.6 kB / 469.3 MB, free: 63.08 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.706e-05/0.4762, allocations: 7.969 kB / 469.3 MB, free: 63.08 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.226e-06/0.4762, allocations: 8 kB / 469.3 MB, free: 63.08 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002268/0.4764, allocations: 39.83 kB / 469.3 MB, free: 63.05 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004503/0.4769, allocations: 88.31 kB / 469.4 MB, free: 63.03 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002624/0.4771, allocations: 0.5462 MB / 470 MB, free: 62.49 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002586/0.4774, allocations: 27.34 kB / 470 MB, free: 62.47 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.016e-05/0.4775, allocations: 15.56 kB / 470 MB, free: 62.47 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.0001126/0.4776, allocations: 139.2 kB / 470.2 MB, free: 62.33 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.888e-05/0.4777, allocations: 20.45 kB / 470.2 MB, free: 62.32 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001929/0.4796, allocations: 1.433 MB / 471.6 MB, free: 61.51 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.091e-05/0.4797, allocations: 22.44 kB / 471.6 MB, free: 61.5 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.224e-06/0.4797, allocations: 5.156 kB / 471.6 MB, free: 61.49 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.484e-06/0.4797, allocations: 8.953 kB / 471.6 MB, free: 61.48 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002413/0.4821, allocations: 1.982 MB / 473.6 MB, free: 60.21 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.64e-06/0.4821, allocations: 0 / 473.6 MB, free: 60.21 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004004/0.4825, allocations: 87.08 kB / 473.7 MB, free: 60.18 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002899/0.4828, allocations: 67.83 kB / 473.8 MB, free: 60.14 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.425e-05/0.4829, allocations: 15.52 kB / 473.8 MB, free: 60.14 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002264/0.4831, allocations: 0.5894 MB / 474.4 MB, free: 59.57 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.4831, allocations: 3.938 kB / 474.4 MB, free: 59.57 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00171/0.4848, allocations: 1.693 MB / 476.1 MB, free: 58.49 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.079e-05/0.4849, allocations: 141.9 kB / 476.2 MB, free: 58.36 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.527e-05/0.485, allocations: 7.781 kB / 476.2 MB, free: 58.36 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000338/0.4853, allocations: 23.77 kB / 476.2 MB, free: 58.34 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.43e-05/0.4854, allocations: 35.27 kB / 476.3 MB, free: 58.32 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.892e-05/0.4854, allocations: 15.67 kB / 476.3 MB, free: 58.32 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.637e-05/0.4854, allocations: 94.89 kB / 476.4 MB, free: 58.23 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4855, allocations: 0 / 476.4 MB, free: 58.23 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002515/0.488, allocations: 0.9646 MB / 477.4 MB, free: 58.13 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.003561/0.4915, allocations: 1.147 MB / 478.5 MB, free: 57.43 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001184/0.4927, allocations: 0.6059 MB / 479.1 MB, free: 56.83 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.609e-06/0.4928, allocations: 8.125 kB / 479.1 MB, free: 56.82 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006418/0.4934, allocations: 0.5045 MB / 479.6 MB, free: 56.32 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007374/0.4942, allocations: 82.22 kB / 479.7 MB, free: 56.24 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001967/0.4961, allocations: 1.313 MB / 481 MB, free: 54.91 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002012/0.4964, allocations: 0.8217 MB / 481.8 MB, free: 54.06 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000324/0.4967, allocations: 129.8 kB / 482 MB, free: 53.93 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001243/0.4968, allocations: 35.42 kB / 482 MB, free: 53.9 MB / 382.1 MB Notification: Performance of SimCode: time 3.31e-07/0.4968, allocations: 0 / 482 MB, free: 53.9 MB / 382.1 MB Notification: Performance of Templates: time 0.03748/0.5343, allocations: 36.27 MB / 0.5061 GB, free: 17.61 MB / 382.1 MB make -j1 -f Modelica_3.1_Modelica.Media.Examples.WaterIF97.makefile (rm -f Modelica_3.1_Modelica.Media.Examples.WaterIF97.pipe ; mkfifo Modelica_3.1_Modelica.Media.Examples.WaterIF97.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Media.Examples.WaterIF97.pipe >> ../files/Modelica_3.1_Modelica.Media.Examples.WaterIF97.sim & ./Modelica_3.1_Modelica.Media.Examples.WaterIF97 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Media.Examples.WaterIF97.pipe 2>&1)