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.0008484/0.0008487, allocations: 92.75 kB / 16.65 MB, free: 6.59 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.001019/0.001019, allocations: 184.2 kB / 17.57 MB, free: 6.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.4 MB / 223.7 MB, free: 13.07 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.0004434/0.0004433, allocations: 11.98 kB / 280.7 MB, free: 3.426 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1063/0.1068, allocations: 47.58 MB / 328.3 MB, free: 3.773 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.HeatingSystem): time 0.3005/0.4074, allocations: 93.77 MB / 422.1 MB, free: 5.746 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.03425/0.4417, allocations: 22.29 MB / 444.4 MB, free: 5.145 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00555/0.4473, allocations: 107.1 kB / 444.5 MB, free: 5.039 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003798/0.4511, allocations: 0.8159 MB / 445.3 MB, free: 4.219 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01212/0.4632, allocations: 3.524 MB / 448.8 MB, free: 0.6797 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01352/0.4768, allocations: 4.902 MB / 453.7 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01356/0.4904, allocations: 10.69 MB / 464.4 MB, free: 1.051 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004933/0.4953, allocations: 1.578 MB / 466 MB, free: 15.45 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1564/0.6518, allocations: 73.36 MB / 0.5267 GB, free: 5.23 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.3379/0.9898, allocations: 31.93 MB / 0.5579 GB, free: 69.01 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001085/0.9909, allocations: 128.7 kB / 0.558 GB, free: 69.01 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01524/1.006, allocations: 5.948 MB / 0.5638 GB, free: 68 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002693/1.009, allocations: 0.9671 MB / 0.5648 GB, free: 68 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003919/1.013, allocations: 1.39 MB / 0.5661 GB, free: 67.93 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01355/1.026, allocations: 5.314 MB / 0.5713 GB, free: 66.42 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.546e-06/1.027, allocations: 0 / 0.5713 GB, free: 66.42 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.625e-06/1.027, allocations: 0 / 0.5713 GB, free: 66.42 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001384/1.027, allocations: 0 / 0.5713 GB, free: 66.42 MB / 430.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.01057/1.037, allocations: 2.988 MB / 0.5742 GB, free: 64.64 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.536e-05/1.037, allocations: 9.219 kB / 0.5742 GB, free: 64.64 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001551/1.039, allocations: 313.4 kB / 0.5745 GB, free: 64.49 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003502/1.042, allocations: 1.581 MB / 0.5761 GB, free: 63.72 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001789/1.043, allocations: 217.3 kB / 0.5763 GB, free: 63.65 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003542/1.043, allocations: 200.8 kB / 0.5765 GB, free: 63.64 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004948/1.048, allocations: 3.296 MB / 0.5797 GB, free: 61.3 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.165e-05/1.048, allocations: 10.91 kB / 0.5797 GB, free: 61.29 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000232/1.048, allocations: 81.88 kB / 0.5798 GB, free: 61.27 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002632/1.048, allocations: 252.2 kB / 0.58 GB, free: 61.06 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004487/1.053, allocations: 3.119 MB / 0.5831 GB, free: 58.98 MB / 430.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.0173/1.07, allocations: 13.81 MB / 0.5966 GB, free: 46.88 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003497/1.074, allocations: 2.225 MB / 0.5987 GB, free: 45.46 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001962/1.076, allocations: 1.356 MB / 0.6001 GB, free: 44.56 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008012/1.084, allocations: 5.872 MB / 0.6058 GB, free: 38.75 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.349e-05/1.084, allocations: 59.41 kB / 0.6058 GB, free: 38.68 MB / 430.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001003/1.085, allocations: 178 kB / 0.606 GB, free: 38.51 MB / 430.1 MB Notification: Performance of pre-optimization done (n=171): time 4.218e-06/1.085, allocations: 0 / 0.606 GB, free: 38.51 MB / 430.1 MB Notification: Performance of matching and sorting (n=197): time 0.02119/1.106, allocations: 9.222 MB / 0.615 GB, free: 29.22 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.591e-05/1.106, allocations: 69.41 kB / 0.6151 GB, free: 29.14 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002273/1.109, allocations: 1.845 MB / 0.6169 GB, free: 27.25 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000309/1.109, allocations: 61.7 kB / 0.6169 GB, free: 27.18 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006615/1.11, allocations: 1.063 MB / 0.618 GB, free: 26.11 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005509/1.11, allocations: 0.6788 MB / 0.6187 GB, free: 25.44 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002529/1.11, allocations: 198.4 kB / 0.6188 GB, free: 25.24 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.501e-05/1.11, allocations: 301.1 kB / 0.6191 GB, free: 24.95 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001687/1.112, allocations: 1.229 MB / 0.6203 GB, free: 23.72 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001873/1.114, allocations: 1.807 MB / 0.6221 GB, free: 21.68 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003595/1.118, allocations: 3.167 MB / 0.6252 GB, free: 18.34 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.648e-06/1.118, allocations: 8 kB / 0.6252 GB, free: 18.34 MB / 430.1 MB Notification: Performance of matching and sorting (n=299) (initialization): time 0.006422/1.124, allocations: 4.3 MB / 0.6294 GB, free: 14.12 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003184/1.124, allocations: 0.6066 MB / 0.63 GB, free: 13.29 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.17e-05/1.124, allocations: 16 kB / 0.63 GB, free: 13.27 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0127/1.137, allocations: 3.66 MB / 0.6336 GB, free: 9.621 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001283/1.138, allocations: 332.9 kB / 0.6339 GB, free: 9.316 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005599/1.144, allocations: 3.958 MB / 0.6378 GB, free: 5.363 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002817/1.147, allocations: 186.2 kB / 0.6379 GB, free: 5.184 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000238/1.147, allocations: 120 kB / 0.638 GB, free: 5.066 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.541e-05/1.147, allocations: 4 kB / 0.6381 GB, free: 5.062 MB / 430.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005304/1.153, allocations: 3.812 MB / 0.6418 GB, free: 1.359 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.723e-05/1.153, allocations: 20 kB / 0.6418 GB, free: 1.34 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009387/1.162, allocations: 2.863 MB / 0.6446 GB, free: 14.49 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001703/1.164, allocations: 376.6 kB / 0.6449 GB, free: 14.14 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006133/1.17, allocations: 3.483 MB / 0.6483 GB, free: 10.66 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003093/1.173, allocations: 187.6 kB / 0.6485 GB, free: 10.48 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003316/1.173, allocations: 108 kB / 0.6486 GB, free: 10.38 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.001839/1.175, allocations: 0.6998 MB / 0.6493 GB, free: 9.688 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007245/1.176, allocations: 233.2 kB / 0.6495 GB, free: 9.457 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008513/1.184, allocations: 3.967 MB / 0.6534 GB, free: 5.5 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.213e-05/1.184, allocations: 23.98 kB / 0.6534 GB, free: 5.477 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.783e-05/1.184, allocations: 4 kB / 0.6534 GB, free: 5.473 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006192/1.191, allocations: 3.387 MB / 0.6567 GB, free: 2.004 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01122/1.202, allocations: 6.327 MB / 0.6629 GB, free: 11.66 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.959e-06/1.202, allocations: 0 / 0.6629 GB, free: 11.66 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001406/1.203, allocations: 324.8 kB / 0.6632 GB, free: 11.36 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004529/1.208, allocations: 1.223 MB / 0.6644 GB, free: 10.12 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000233/1.208, allocations: 71.95 kB / 0.6645 GB, free: 10.05 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01031/1.219, allocations: 10.47 MB / 0.6747 GB, free: 14.88 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/1.219, allocations: 0 / 0.6747 GB, free: 14.88 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009624/1.228, allocations: 5.202 MB / 0.6798 GB, free: 9.652 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001797/1.23, allocations: 0.6031 MB / 0.6804 GB, free: 9.027 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008956/1.231, allocations: 55.98 kB / 0.6804 GB, free: 8.973 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002088/1.233, allocations: 143.7 kB / 0.6806 GB, free: 8.832 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004595/1.234, allocations: 169.7 kB / 0.6807 GB, free: 8.668 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001985/1.234, allocations: 80.14 kB / 0.6808 GB, free: 8.59 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.00199/1.236, allocations: 1.264 MB / 0.6821 GB, free: 7.309 MB / 478.1 MB Notification: Performance of sort global known variables: time 2e-07/1.236, allocations: 0 / 0.6821 GB, free: 7.309 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.005677/1.241, allocations: 1.741 MB / 0.6838 GB, free: 5.566 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), (6,16)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002842/1.244, allocations: 0.9958 MB / 0.6847 GB, free: 4.641 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01194/1.256, allocations: 5.042 MB / 0.6897 GB, free: 15.7 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 9.598e-06/1.256, allocations: 0 / 0.6897 GB, free: 15.7 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004549/1.261, allocations: 2.253 MB / 0.6919 GB, free: 13.42 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005629/1.267, allocations: 0.9924 MB / 0.6928 GB, free: 12.43 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01225/1.279, allocations: 6.868 MB / 0.6995 GB, free: 5.551 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001694/1.281, allocations: 1.871 MB / 0.7014 GB, free: 3.641 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.003752/1.284, allocations: 0.9595 MB / 0.7023 GB, free: 2.68 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006396/1.285, allocations: 191.4 kB / 0.7025 GB, free: 2.492 MB / 494.1 MB Notification: Performance of SimCode: time 1.704e-06/1.285, allocations: 0 / 0.7025 GB, free: 2.492 MB / 494.1 MB Notification: Performance of Templates: time 0.3165/1.601, allocations: 71.75 MB / 0.7725 GB, free: 161.3 MB / 494.1 MB 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)