Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Fluid.Examples.HeatingSystem.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.Fluid.Examples.HeatingSystem,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Fluid.Examples.HeatingSystem") translateModel(Modelica.Fluid.Examples.HeatingSystem,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Fluid.Examples.HeatingSystem") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00148/0.00148, allocations: 113.5 kB / 16.63 MB, free: 6.812 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.001653/0.001653, allocations: 185.8 kB / 17.55 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.501/1.501, allocations: 205.1 MB / 223.4 MB, free: 12.44 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.002192/0.002192, allocations: 52.12 kB / 279.5 MB, free: 3.492 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1272/0.1294, allocations: 46.63 MB / 326.1 MB, free: 4.797 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.HeatingSystem): time 0.3122/0.4417, allocations: 93.2 MB / 419.3 MB, free: 3.965 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.03566/0.4774, allocations: 21.75 MB / 441.1 MB, free: 3.91 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004283/0.4817, allocations: 115.8 kB / 441.2 MB, free: 3.852 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003512/0.4853, allocations: 0.8311 MB / 442 MB, free: 3.066 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01037/0.4957, allocations: 3.489 MB / 445.5 MB, free: 15.56 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01298/0.5087, allocations: 5.196 MB / 450.7 MB, free: 10.36 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.009485/0.5182, allocations: 7.065 MB / 457.8 MB, free: 3.277 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00426/0.5225, allocations: 1.837 MB / 459.6 MB, free: 1.43 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1454/0.6679, allocations: 74.41 MB / 0.5215 GB, free: 6.16 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.3382/1.006, allocations: 32.1 MB / 0.5528 GB, free: 92.28 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001619/1.008, allocations: 252 kB / 0.5531 GB, free: 92.28 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01515/1.023, allocations: 6.108 MB / 0.5591 GB, free: 91.28 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002313/1.025, allocations: 1.096 MB / 0.5601 GB, free: 91.28 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003036/1.028, allocations: 1.497 MB / 0.5616 GB, free: 91.28 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01208/1.041, allocations: 5.469 MB / 0.5669 GB, free: 90.89 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.172e-06/1.041, allocations: 0 / 0.5669 GB, free: 90.89 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.234e-06/1.041, allocations: 0 / 0.5669 GB, free: 90.89 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001045/1.041, allocations: 0 / 0.5669 GB, free: 90.89 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 538 * Number of variables: 538 Notification: Performance of Generate backend data structure: time 0.0107/1.051, allocations: 3.5 MB / 0.5703 GB, free: 89.4 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.325e-05/1.051, allocations: 7.625 kB / 0.5704 GB, free: 89.4 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001114/1.053, allocations: 311.3 kB / 0.5706 GB, free: 89.25 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003236/1.056, allocations: 1.576 MB / 0.5722 GB, free: 88.78 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002284/1.056, allocations: 214.7 kB / 0.5724 GB, free: 88.71 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003778/1.056, allocations: 206.8 kB / 0.5726 GB, free: 88.71 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005734/1.062, allocations: 3.297 MB / 0.5758 GB, free: 87.96 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.323e-05/1.062, allocations: 5.281 kB / 0.5758 GB, free: 87.96 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002676/1.063, allocations: 84.67 kB / 0.5759 GB, free: 87.96 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003314/1.063, allocations: 246.5 kB / 0.5761 GB, free: 87.92 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005359/1.068, allocations: 3.11 MB / 0.5792 GB, free: 87.41 MB / 446.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.01854/1.087, allocations: 13.78 MB / 0.5926 GB, free: 76.08 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003727/1.091, allocations: 2.219 MB / 0.5948 GB, free: 74.66 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001881/1.093, allocations: 1.352 MB / 0.5961 GB, free: 73.77 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007604/1.1, allocations: 5.862 MB / 0.6018 GB, free: 67.77 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.271e-05/1.1, allocations: 48.56 kB / 0.6019 GB, free: 67.71 MB / 446.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009518/1.101, allocations: 185.8 kB / 0.6021 GB, free: 67.53 MB / 446.1 MB Notification: Performance of pre-optimization done (n=171): time 3.987e-06/1.101, allocations: 4 kB / 0.6021 GB, free: 67.53 MB / 446.1 MB Notification: Performance of matching and sorting (n=197): time 0.02061/1.122, allocations: 9.144 MB / 0.611 GB, free: 58.32 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.065e-05/1.122, allocations: 77.39 kB / 0.6111 GB, free: 58.23 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002312/1.124, allocations: 1.845 MB / 0.6129 GB, free: 56.34 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002499/1.124, allocations: 61.7 kB / 0.6129 GB, free: 56.27 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006053/1.125, allocations: 1.06 MB / 0.614 GB, free: 55.21 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005015/1.126, allocations: 0.6763 MB / 0.6146 GB, free: 54.54 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000809/1.126, allocations: 456.3 kB / 0.6151 GB, free: 54.08 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.179e-05/1.127, allocations: 305.1 kB / 0.6154 GB, free: 53.78 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002858/1.129, allocations: 1.233 MB / 0.6166 GB, free: 52.54 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003039/1.132, allocations: 1.801 MB / 0.6183 GB, free: 50.5 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005926/1.138, allocations: 3.163 MB / 0.6214 GB, free: 47.18 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.081e-05/1.138, allocations: 10.62 kB / 0.6214 GB, free: 47.17 MB / 446.1 MB Notification: Performance of matching and sorting (n=299) (initialization): time 0.01037/1.149, allocations: 4.295 MB / 0.6256 GB, free: 42.96 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.207e-05/1.149, allocations: 14.91 kB / 0.6256 GB, free: 42.95 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.333e-05/1.149, allocations: 19.94 kB / 0.6256 GB, free: 42.93 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01259/1.162, allocations: 3.65 MB / 0.6292 GB, free: 39.29 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001379/1.163, allocations: 329 kB / 0.6295 GB, free: 38.99 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005492/1.168, allocations: 3.949 MB / 0.6334 GB, free: 35.04 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002604/1.171, allocations: 183.8 kB / 0.6336 GB, free: 34.86 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002292/1.171, allocations: 116 kB / 0.6337 GB, free: 34.75 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00244/1.174, allocations: 1.672 MB / 0.6353 GB, free: 33.07 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001725/1.176, allocations: 1.75 MB / 0.637 GB, free: 31.07 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003345/1.179, allocations: 3.048 MB / 0.64 GB, free: 27.85 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.128e-06/1.179, allocations: 8 kB / 0.64 GB, free: 27.84 MB / 446.1 MB Notification: Performance of matching and sorting (n=299) (initialization_lambda0): time 0.005616/1.185, allocations: 4.024 MB / 0.6439 GB, free: 23.91 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.241e-05/1.185, allocations: 12 kB / 0.6439 GB, free: 23.9 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.004e-05/1.185, allocations: 16 kB / 0.6439 GB, free: 23.89 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00861/1.193, allocations: 2.769 MB / 0.6466 GB, free: 21.13 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001626/1.195, allocations: 378.6 kB / 0.647 GB, free: 20.79 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004682/1.2, allocations: 3.468 MB / 0.6504 GB, free: 17.33 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002831/1.202, allocations: 187.7 kB / 0.6506 GB, free: 17.14 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003131/1.203, allocations: 112 kB / 0.6507 GB, free: 17.04 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * Number of states: 0 () * Number of discrete variables: 4 (tank.inFlow[2],tank.inFlow[1],tank.regularFlow[2],tank.regularFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (175): * Single equations (assignments): 174 * 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 {(18,107)} Notification: Performance of prepare postOptimizeDAE: time 0.0007563/1.204, allocations: 318.9 kB / 0.651 GB, free: 16.74 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005843/1.204, allocations: 221.3 kB / 0.6512 GB, free: 16.52 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006545/1.211, allocations: 3.948 MB / 0.6551 GB, free: 12.58 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.958e-05/1.211, allocations: 20 kB / 0.6551 GB, free: 12.56 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.455e-05/1.211, allocations: 7.984 kB / 0.6551 GB, free: 12.55 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004722/1.215, allocations: 3.376 MB / 0.6584 GB, free: 9.098 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009613/1.225, allocations: 6.307 MB / 0.6645 GB, free: 2.766 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.434e-06/1.225, allocations: 0 / 0.6645 GB, free: 2.766 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001283/1.226, allocations: 312.5 kB / 0.6648 GB, free: 2.477 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003614/1.23, allocations: 1.175 MB / 0.666 GB, free: 1.285 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002483/1.23, allocations: 79.88 kB / 0.6661 GB, free: 1.207 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009743/1.24, allocations: 11.06 MB / 0.6769 GB, free: 5.422 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/1.24, allocations: 0 / 0.6769 GB, free: 5.422 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008981/1.249, allocations: 5.175 MB / 0.6819 GB, free: 228 kB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001798/1.251, allocations: 0.596 MB / 0.6825 GB, free: 15.6 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005059/1.251, allocations: 51.98 kB / 0.6825 GB, free: 15.55 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001624/1.253, allocations: 147.6 kB / 0.6827 GB, free: 15.41 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004374/1.254, allocations: 173.7 kB / 0.6828 GB, free: 15.23 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001935/1.254, allocations: 79.95 kB / 0.6829 GB, free: 15.16 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001829/1.256, allocations: 1.26 MB / 0.6842 GB, free: 13.88 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.41e-07/1.256, allocations: 0 / 0.6842 GB, free: 13.88 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.00515/1.261, allocations: 1.734 MB / 0.6858 GB, free: 12.13 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 10 (tank.level,tank.medium.T,heater.mediums[1].p,heater.mediums[1].T,radiator.mediums[1].p,radiator.mediums[1].T,pipe.mediums[1].p,pipe.mediums[1].T,pipe.mediums[2].p,pipe.mediums[2].T) * Number of discrete variables: 4 (tank.regularFlow[1],tank.regularFlow[2],tank.inFlow[1],tank.inFlow[2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (182): * Single equations (assignments): 168 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,9), (2,8), (5,17)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002749/1.263, allocations: 1.002 MB / 0.6868 GB, free: 11.2 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01632/1.28, allocations: 6.851 MB / 0.6935 GB, free: 4.473 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 8.706e-06/1.28, allocations: 0 / 0.6935 GB, free: 4.473 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004373/1.284, allocations: 2.244 MB / 0.6957 GB, free: 2.207 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005421/1.29, allocations: 1.053 MB / 0.6967 GB, free: 1.156 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01252/1.302, allocations: 6.643 MB / 0.7032 GB, free: 10.5 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001798/1.304, allocations: 1.875 MB / 0.7051 GB, free: 8.586 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.003771/1.308, allocations: 0.9587 MB / 0.706 GB, free: 7.625 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007066/1.309, allocations: 195.4 kB / 0.7062 GB, free: 7.434 MB / 494.1 MB Notification: Performance of SimCode: time 1.443e-06/1.309, allocations: 0 / 0.7062 GB, free: 7.434 MB / 494.1 MB Notification: Performance of Templates: time 0.3187/1.627, allocations: 74.77 MB / 0.7792 GB, free: 195.5 MB / 0.4981 GB make -j1 -f Modelica_3.2.2_Modelica.Fluid.Examples.HeatingSystem.makefile (rm -f Modelica_3.2.2_Modelica.Fluid.Examples.HeatingSystem.pipe ; mkfifo Modelica_3.2.2_Modelica.Fluid.Examples.HeatingSystem.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Fluid.Examples.HeatingSystem.pipe >> ../files/Modelica_3.2.2_Modelica.Fluid.Examples.HeatingSystem.sim & ./Modelica_3.2.2_Modelica.Fluid.Examples.HeatingSystem -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Fluid.Examples.HeatingSystem.pipe 2>&1)