Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_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.1_Modelica.Fluid.Examples.HeatingSystem") translateModel(Modelica.Fluid.Examples.HeatingSystem,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_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.001182/0.001182, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.0018/0.001801, allocations: 194.5 kB / 16.14 MB, free: 6.707 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.514/1.514, allocations: 205.1 MB / 222 MB, free: 4.977 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.001217/0.001217, allocations: 55.92 kB / 278 MB, free: 13.02 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.308/0.3093, allocations: 46.63 MB / 324.7 MB, free: 1.809 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.HeatingSystem): time 0.09953/0.4088, allocations: 95.47 MB / 420.1 MB, free: 4.414 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.03487/0.4438, allocations: 22.6 MB / 442.7 MB, free: 13.76 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004619/0.4484, allocations: 119.1 kB / 442.9 MB, free: 13.64 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003476/0.452, allocations: 0.812 MB / 443.7 MB, free: 12.82 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01231/0.4644, allocations: 3.512 MB / 447.2 MB, free: 9.297 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01331/0.4777, allocations: 4.92 MB / 452.1 MB, free: 4.367 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.252/0.7297, allocations: 10.68 MB / 462.8 MB, free: 6.352 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00373/0.7335, allocations: 1.591 MB / 464.4 MB, free: 6.289 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1771/0.9106, allocations: 73.39 MB / 0.5252 GB, free: 12.91 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.07518/0.9858, allocations: 31.96 MB / 0.5564 GB, free: 1.68 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001313/0.9872, allocations: 136 kB / 0.5565 GB, free: 1.547 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01854/1.006, allocations: 5.953 MB / 0.5623 GB, free: 12.26 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002805/1.009, allocations: 0.9843 MB / 0.5633 GB, free: 11.3 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003494/1.012, allocations: 1.374 MB / 0.5646 GB, free: 9.949 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01291/1.025, allocations: 5.37 MB / 0.5699 GB, free: 4.973 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.161e-05/1.025, allocations: 4 kB / 0.5699 GB, free: 4.969 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.004e-06/1.025, allocations: 4 kB / 0.5699 GB, free: 4.965 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0001306/1.025, allocations: 0 / 0.5699 GB, free: 4.965 MB / 462.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.01068/1.036, allocations: 3.492 MB / 0.5733 GB, free: 1.477 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.41e-05/1.036, allocations: 12.03 kB / 0.5733 GB, free: 1.465 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001176/1.037, allocations: 305.7 kB / 0.5736 GB, free: 1.164 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002932/1.04, allocations: 1.582 MB / 0.5751 GB, free: 15.62 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002147/1.04, allocations: 216.5 kB / 0.5753 GB, free: 15.41 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003337/1.041, allocations: 201.4 kB / 0.5755 GB, free: 15.22 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005345/1.046, allocations: 3.289 MB / 0.5787 GB, free: 11.85 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.961e-05/1.046, allocations: 11.17 kB / 0.5787 GB, free: 11.84 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002332/1.046, allocations: 84.27 kB / 0.5788 GB, free: 11.77 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000296/1.047, allocations: 250.6 kB / 0.5791 GB, free: 11.53 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005113/1.052, allocations: 3.104 MB / 0.5821 GB, free: 8.449 MB / 478.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.02107/1.073, allocations: 13.78 MB / 0.5955 GB, free: 9.973 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004528/1.077, allocations: 2.218 MB / 0.5977 GB, free: 7.762 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002209/1.08, allocations: 1.352 MB / 0.599 GB, free: 6.41 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009795/1.09, allocations: 5.866 MB / 0.6048 GB, free: 76 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001313/1.09, allocations: 56.55 kB / 0.6048 GB, free: 12 kB / 494.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001078/1.091, allocations: 181.9 kB / 0.605 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=171): time 5.67e-06/1.091, allocations: 0 / 0.605 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of matching and sorting (n=197): time 0.02324/1.114, allocations: 9.139 MB / 0.6139 GB, free: 6.621 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.324e-05/1.114, allocations: 81.39 kB / 0.614 GB, free: 6.527 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002885/1.117, allocations: 1.846 MB / 0.6158 GB, free: 4.641 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002959/1.117, allocations: 61.7 kB / 0.6159 GB, free: 4.574 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.00091/1.118, allocations: 1.06 MB / 0.6169 GB, free: 3.508 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007368/1.119, allocations: 0.6789 MB / 0.6175 GB, free: 2.836 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007968/1.12, allocations: 458.4 kB / 0.618 GB, free: 2.383 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001309/1.12, allocations: 305.1 kB / 0.6183 GB, free: 2.082 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002186/1.122, allocations: 1.239 MB / 0.6195 GB, free: 0.8359 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2201/1.342, allocations: 1.797 MB / 0.6212 GB, free: 239.4 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006393/1.349, allocations: 3.166 MB / 0.6243 GB, free: 238.3 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.743e-05/1.349, allocations: 5.5 kB / 0.6243 GB, free: 238.3 MB / 0.4981 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.008923/1.358, allocations: 4.294 MB / 0.6285 GB, free: 236.8 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.465e-05/1.358, allocations: 15.88 kB / 0.6285 GB, free: 236.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.008e-05/1.358, allocations: 21.72 kB / 0.6286 GB, free: 236.8 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01343/1.371, allocations: 3.625 MB / 0.6321 GB, free: 236.3 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001442/1.373, allocations: 333.5 kB / 0.6324 GB, free: 236.2 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006104/1.379, allocations: 3.943 MB / 0.6363 GB, free: 234 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00254/1.381, allocations: 187.2 kB / 0.6365 GB, free: 233.9 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002453/1.382, allocations: 111.2 kB / 0.6366 GB, free: 233.9 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0027/1.384, allocations: 1.676 MB / 0.6382 GB, free: 232.9 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001903/1.386, allocations: 1.75 MB / 0.6399 GB, free: 231.6 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003518/1.39, allocations: 3.051 MB / 0.6429 GB, free: 228.7 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.105e-06/1.39, allocations: 4 kB / 0.6429 GB, free: 228.7 MB / 0.4981 GB Notification: Performance of matching and sorting (n=299) (initialization_lambda0): time 0.005824/1.396, allocations: 4.035 MB / 0.6468 GB, free: 224.8 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.071e-05/1.396, allocations: 12 kB / 0.6468 GB, free: 224.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.686e-05/1.396, allocations: 20 kB / 0.6469 GB, free: 224.8 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00912/1.405, allocations: 2.753 MB / 0.6496 GB, free: 222.1 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00168/1.407, allocations: 371.4 kB / 0.6499 GB, free: 221.7 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005137/1.412, allocations: 3.466 MB / 0.6533 GB, free: 218.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002659/1.414, allocations: 192.3 kB / 0.6535 GB, free: 218.1 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002977/1.415, allocations: 108 kB / 0.6536 GB, free: 218 MB / 0.4981 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.0008283/1.416, allocations: 315.2 kB / 0.6539 GB, free: 217.7 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000733/1.416, allocations: 230.1 kB / 0.6541 GB, free: 217.6 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007422/1.424, allocations: 3.945 MB / 0.6579 GB, free: 213.6 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.767e-05/1.424, allocations: 27.98 kB / 0.658 GB, free: 213.6 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.262e-05/1.424, allocations: 4 kB / 0.658 GB, free: 213.6 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004999/1.429, allocations: 3.38 MB / 0.6613 GB, free: 210.2 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01021/1.439, allocations: 6.294 MB / 0.6674 GB, free: 203.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.298e-06/1.439, allocations: 0 / 0.6674 GB, free: 203.8 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001362/1.44, allocations: 315.6 kB / 0.6677 GB, free: 203.5 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003993/1.444, allocations: 1.209 MB / 0.6689 GB, free: 202.3 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002343/1.445, allocations: 75.94 kB / 0.669 GB, free: 202.3 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00715/1.452, allocations: 10.42 MB / 0.6792 GB, free: 191.1 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/1.452, allocations: 0 / 0.6792 GB, free: 191.1 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007567/1.459, allocations: 5.178 MB / 0.6842 GB, free: 185.9 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00162/1.461, allocations: 0.5985 MB / 0.6848 GB, free: 185.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004146/1.462, allocations: 55.92 kB / 0.6848 GB, free: 185.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00155/1.463, allocations: 153 kB / 0.685 GB, free: 185.1 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004547/1.464, allocations: 161.8 kB / 0.6851 GB, free: 185 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002029/1.464, allocations: 87.14 kB / 0.6852 GB, free: 184.9 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001752/1.466, allocations: 1.253 MB / 0.6865 GB, free: 183.6 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.31e-07/1.466, allocations: 3.844 kB / 0.6865 GB, free: 183.6 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.005386/1.471, allocations: 1.742 MB / 0.6882 GB, free: 182 MB / 0.4981 GB 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.002296/1.473, allocations: 1.002 MB / 0.6891 GB, free: 181.2 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.009424/1.483, allocations: 5.069 MB / 0.6941 GB, free: 176.2 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.81e-06/1.483, allocations: 0 / 0.6941 GB, free: 176.2 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.00359/1.486, allocations: 2.243 MB / 0.6963 GB, free: 173.9 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004555/1.491, allocations: 0.9934 MB / 0.6972 GB, free: 172.9 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008604/1.499, allocations: 6.637 MB / 0.7037 GB, free: 166.2 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001004/1.501, allocations: 1.875 MB / 0.7056 GB, free: 164.3 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.002921/1.503, allocations: 0.9603 MB / 0.7065 GB, free: 163.4 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005479/1.504, allocations: 191.4 kB / 0.7067 GB, free: 163.2 MB / 0.4981 GB Notification: Performance of SimCode: time 9.42e-07/1.504, allocations: 0 / 0.7067 GB, free: 163.2 MB / 0.4981 GB Notification: Performance of Templates: time 0.09259/1.597, allocations: 72.04 MB / 0.777 GB, free: 91.03 MB / 0.4981 GB make -j1 -f Modelica_3.2.1_Modelica.Fluid.Examples.HeatingSystem.makefile (rm -f Modelica_3.2.1_Modelica.Fluid.Examples.HeatingSystem.pipe ; mkfifo Modelica_3.2.1_Modelica.Fluid.Examples.HeatingSystem.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Fluid.Examples.HeatingSystem.pipe >> ../files/Modelica_3.2.1_Modelica.Fluid.Examples.HeatingSystem.sim & ./Modelica_3.2.1_Modelica.Fluid.Examples.HeatingSystem -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Fluid.Examples.HeatingSystem.pipe 2>&1)