Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Fluid.Examples.HeatingSystem.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Fluid.Examples.HeatingSystem,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heater.mediums.1..h|heater.mediums.1..p|pipe.mediums.1..h|pipe.mediums.1..p|pipe.mediums.2..h|pipe.mediums.2..p|radiator.mediums.1..h|radiator.mediums.1..p|tank.level|tank.medium.h",fileNamePrefix="Modelica_trunk_Modelica.Fluid.Examples.HeatingSystem") translateModel(Modelica.Fluid.Examples.HeatingSystem,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heater.mediums.1..h|heater.mediums.1..p|pipe.mediums.1..h|pipe.mediums.1..p|pipe.mediums.2..h|pipe.mediums.2..p|radiator.mediums.1..h|radiator.mediums.1..p|tank.level|tank.medium.h",fileNamePrefix="Modelica_trunk_Modelica.Fluid.Examples.HeatingSystem") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001262/0.001262, allocations: 111 kB / 18.46 MB, free: 4.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001308/0.001308, allocations: 211.9 kB / 19.41 MB, free: 3.668 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.32/1.32, allocations: 227.4 MB / 247.6 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001225/0.001225, allocations: 63.89 kB / 359.4 MB, free: 12.95 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2108/0.212, allocations: 50.54 MB / 409.9 MB, free: 1.602 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.HeatingSystem): time 0.08428/0.2963, allocations: 90.41 MB / 0.4886 GB, free: 6.879 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.02937/0.3257, allocations: 21.34 MB / 0.5095 GB, free: 1.48 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002111/0.3279, allocations: 87.44 kB / 0.5095 GB, free: 1.395 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002557/0.3305, allocations: 0.9434 MB / 0.5105 GB, free: 456 kB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008802/0.3393, allocations: 3.791 MB / 0.5142 GB, free: 12.64 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01218/0.3515, allocations: 5.676 MB / 0.5197 GB, free: 6.965 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.008472/0.36, allocations: 7.085 MB / 0.5266 GB, free: 15.86 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002957/0.363, allocations: 1.844 MB / 0.5284 GB, free: 13.99 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.3324/0.6954, allocations: 75.04 MB / 0.6017 GB, free: 11.96 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.05673/0.7522, allocations: 31.94 MB / 0.6329 GB, free: 1.02 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007142/0.7529, allocations: 252 kB / 0.6331 GB, free: 0.7734 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01124/0.7642, allocations: 6.12 MB / 0.6391 GB, free: 11.98 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.000927/0.7651, allocations: 1.091 MB / 0.6402 GB, free: 11.33 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001505/0.7666, allocations: 1.498 MB / 0.6416 GB, free: 10.48 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.005905/0.7725, allocations: 5.534 MB / 0.647 GB, free: 6.035 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.86e-06/0.7726, allocations: 4 kB / 0.647 GB, free: 6.031 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.563e-06/0.7726, allocations: 0 / 0.647 GB, free: 6.031 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.501e-05/0.7726, allocations: 0 / 0.647 GB, free: 6.031 MB / 0.4981 GB 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.007182/0.7798, allocations: 3.5 MB / 0.6505 GB, free: 2.535 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.096e-05/0.7798, allocations: 8.031 kB / 0.6505 GB, free: 2.527 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008935/0.7807, allocations: 308.5 kB / 0.6508 GB, free: 2.223 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002528/0.7833, allocations: 1.676 MB / 0.6524 GB, free: 0.582 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000172/0.7835, allocations: 217.5 kB / 0.6526 GB, free: 376 kB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003242/0.7838, allocations: 202.5 kB / 0.6528 GB, free: 188 kB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004851/0.7886, allocations: 3.304 MB / 0.656 GB, free: 12.8 MB / 0.5138 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.278e-05/0.7887, allocations: 3.188 kB / 0.656 GB, free: 12.8 MB / 0.5138 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000226/0.7889, allocations: 82.08 kB / 0.6561 GB, free: 12.73 MB / 0.5138 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000289/0.7892, allocations: 251 kB / 0.6563 GB, free: 12.49 MB / 0.5138 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004929/0.7942, allocations: 3.108 MB / 0.6594 GB, free: 9.402 MB / 0.5138 GB 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.01651/0.8107, allocations: 13.78 MB / 0.6728 GB, free: 10.93 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003991/0.8147, allocations: 2.218 MB / 0.675 GB, free: 8.715 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002145/0.8168, allocations: 1.369 MB / 0.6763 GB, free: 7.348 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007596/0.8245, allocations: 5.865 MB / 0.6821 GB, free: 1.008 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.606e-05/0.8245, allocations: 52.56 kB / 0.6821 GB, free: 0.9492 MB / 0.5294 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004663/0.825, allocations: 177.1 kB / 0.6823 GB, free: 0.7773 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=171): time 3.176e-06/0.825, allocations: 0 / 0.6823 GB, free: 0.7773 MB / 0.5294 GB Notification: Performance of matching and sorting (n=197): time 0.0209/0.8459, allocations: 9.156 MB / 0.6912 GB, free: 7.562 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.723e-05/0.8459, allocations: 73.41 kB / 0.6913 GB, free: 7.48 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002171/0.8481, allocations: 1.841 MB / 0.6931 GB, free: 5.598 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0001561/0.8483, allocations: 61.7 kB / 0.6932 GB, free: 5.531 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007066/0.849, allocations: 1.055 MB / 0.6942 GB, free: 4.469 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004934/0.8495, allocations: 0.6803 MB / 0.6948 GB, free: 3.793 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007273/0.8502, allocations: 464.3 kB / 0.6953 GB, free: 3.332 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 7.787e-05/0.8503, allocations: 305.1 kB / 0.6956 GB, free: 3.031 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001989/0.8523, allocations: 1.225 MB / 0.6968 GB, free: 1.797 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002372/0.8547, allocations: 1.81 MB / 0.6985 GB, free: 15.75 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004414/0.8591, allocations: 3.157 MB / 0.7016 GB, free: 12.42 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.496e-06/0.8591, allocations: 4 kB / 0.7016 GB, free: 12.42 MB / 0.5606 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.007067/0.8662, allocations: 4.29 MB / 0.7058 GB, free: 8.219 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.288e-05/0.8663, allocations: 16.97 kB / 0.7058 GB, free: 8.203 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.048e-05/0.8663, allocations: 19.94 kB / 0.7059 GB, free: 8.184 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0136/0.8799, allocations: 3.634 MB / 0.7094 GB, free: 4.555 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001133/0.881, allocations: 335 kB / 0.7097 GB, free: 4.254 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006254/0.8873, allocations: 3.942 MB / 0.7136 GB, free: 328 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001624/0.8889, allocations: 95.94 kB / 0.7137 GB, free: 232 kB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002371/0.8892, allocations: 119.9 kB / 0.7138 GB, free: 112 kB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002711/0.8919, allocations: 1.672 MB / 0.7154 GB, free: 14.43 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002328/0.8942, allocations: 1.761 MB / 0.7171 GB, free: 12.43 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004249/0.8985, allocations: 3.048 MB / 0.7201 GB, free: 9.215 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.307e-06/0.8985, allocations: 8 kB / 0.7201 GB, free: 9.207 MB / 0.5763 GB Notification: Performance of matching and sorting (n=299) (initialization_lambda0): time 0.006511/0.905, allocations: 4.016 MB / 0.724 GB, free: 5.285 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 1.933e-05/0.9051, allocations: 12 kB / 0.7241 GB, free: 5.273 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.979e-05/0.9051, allocations: 20 kB / 0.7241 GB, free: 5.254 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009422/0.9145, allocations: 2.746 MB / 0.7268 GB, free: 2.512 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00148/0.916, allocations: 376 kB / 0.7271 GB, free: 2.168 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005152/0.9212, allocations: 3.478 MB / 0.7305 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001663/0.9229, allocations: 91.95 kB / 0.7306 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002174/0.9231, allocations: 112 kB / 0.7307 GB, free: 14.5 MB / 0.5919 GB 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.0005427/0.9236, allocations: 316.2 kB / 0.731 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003987/0.9241, allocations: 233.3 kB / 0.7312 GB, free: 13.98 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007436/0.9315, allocations: 3.948 MB / 0.7351 GB, free: 10.02 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005672/0.9372, allocations: 3.368 MB / 0.7384 GB, free: 6.574 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.244e-06/0.9372, allocations: 0 / 0.7384 GB, free: 6.574 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001174/0.9384, allocations: 0.5954 MB / 0.739 GB, free: 5.957 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003562/0.9388, allocations: 51.98 kB / 0.739 GB, free: 5.906 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001252/0.94, allocations: 71.94 kB / 0.7391 GB, free: 5.836 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003607/0.9404, allocations: 169.7 kB / 0.7392 GB, free: 5.672 MB / 0.5919 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.008225/0.9486, allocations: 3.767 MB / 0.7429 GB, free: 1.93 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00702/0.9557, allocations: 4.714 MB / 0.7475 GB, free: 13.19 MB / 0.6075 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002006/0.9577, allocations: 1.394 MB / 0.7489 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001731/0.9594, allocations: 1.236 MB / 0.7501 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of Backend: time 2.91e-07/0.9594, allocations: 0 / 0.7501 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.01203/0.9715, allocations: 5.015 MB / 0.755 GB, free: 5.695 MB / 0.6075 GB Notification: Performance of SimCode: time 0.1733/1.145, allocations: 6.01 MB / 0.7608 GB, free: 282.9 MB / 0.6075 GB Notification: Performance of Templates: time 0.07606/1.221, allocations: 74.85 MB / 0.8339 GB, free: 221.9 MB / 0.6075 GB make -j1 -f Modelica_trunk_Modelica.Fluid.Examples.HeatingSystem.makefile (rm -f Modelica_trunk_Modelica.Fluid.Examples.HeatingSystem.pipe ; mkfifo Modelica_trunk_Modelica.Fluid.Examples.HeatingSystem.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Fluid.Examples.HeatingSystem.pipe >> ../files/Modelica_trunk_Modelica.Fluid.Examples.HeatingSystem.sim & ./Modelica_trunk_Modelica.Fluid.Examples.HeatingSystem -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Fluid.Examples.HeatingSystem.pipe 2>&1)