Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial,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="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.004052/0.004057, allocations: 348.7 kB / 15.94 MB, free: 6.215 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 3.86/3.86, allocations: 341.5 MB / 358.2 MB, free: 12.63 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.003573/0.003573, allocations: 222.1 kB / 397.9 MB, free: 4.977 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.4796/0.4796, allocations: 76.1 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005008/0.000501, allocations: 12 kB / 0.5592 GB, free: 53.48 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09317/0.0937, allocations: 48.7 MB / 0.6067 GB, free: 4.672 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.062/8.156, allocations: 2.56 GB / 3.166 GB, free: 94.34 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000262/8.156, allocations: 83.88 kB / 3.166 GB, free: 94.34 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.109/13.27, allocations: 0.9554 GB / 4.122 GB, free: 21.43 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.535e-06/13.27, allocations: 4 kB / 4.122 GB, free: 21.43 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0003536/13.27, allocations: 75 kB / 4.122 GB, free: 21.36 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 670 * Number of variables: 670 Notification: Performance of Generate backend data structure: time 0.02303/13.29, allocations: 4.566 MB / 4.126 GB, free: 16.76 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.116e-05/13.29, allocations: 8.031 kB / 4.126 GB, free: 16.75 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01168/13.3, allocations: 0.9857 MB / 4.127 GB, free: 15.77 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02509/13.33, allocations: 8.391 MB / 4.136 GB, free: 7.887 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004707/13.33, allocations: 278 kB / 4.136 GB, free: 7.609 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001379/13.33, allocations: 244.3 kB / 4.136 GB, free: 7.379 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01653/13.34, allocations: 4.524 MB / 4.14 GB, free: 2.66 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001158/13.34, allocations: 11.92 kB / 4.14 GB, free: 2.648 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008192/13.35, allocations: 110.1 kB / 4.141 GB, free: 2.551 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003834/13.35, allocations: 220.7 kB / 4.141 GB, free: 2.332 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0175/13.36, allocations: 4.198 MB / 4.145 GB, free: 14.12 MB / 490.7 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.4585/13.82, allocations: 18.98 MB / 4.163 GB, free: 30.5 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01216/13.83, allocations: 2.891 MB / 4.166 GB, free: 30.46 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005374/13.84, allocations: 1.603 MB / 4.168 GB, free: 30.46 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05443/13.89, allocations: 17 MB / 4.184 GB, free: 19.95 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.152e-05/13.89, allocations: 60 kB / 4.184 GB, free: 19.91 MB / 490.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002639/13.9, allocations: 230 kB / 4.185 GB, free: 19.91 MB / 490.7 MB Notification: Performance of pre-optimization done (n=194): time 1.352e-05/13.9, allocations: 4.562 kB / 4.185 GB, free: 19.91 MB / 490.7 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: pump.medium.p 2: tank.medium.h 3: heater.mediums[1].p 4: pump.medium.h Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=215): time 0.1067/14, allocations: 17.73 MB / 4.202 GB, free: 18.05 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.187e-05/14, allocations: 130.6 kB / 4.202 GB, free: 17.93 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004491/14.01, allocations: 1.878 MB / 4.204 GB, free: 17.69 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000767/14.01, allocations: 65.92 kB / 4.204 GB, free: 17.66 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001433/14.01, allocations: 1.144 MB / 4.205 GB, free: 17.3 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00146/14.01, allocations: 0.7303 MB / 4.206 GB, free: 16.93 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003599/14.01, allocations: 52.44 kB / 4.206 GB, free: 16.93 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002242/14.01, allocations: 402.8 kB / 4.206 GB, free: 16.62 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005162/14.02, allocations: 1.447 MB / 4.208 GB, free: 16.62 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006033/14.02, allocations: 1.952 MB / 4.21 GB, free: 16.09 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006261/14.03, allocations: 1.66 MB / 4.211 GB, free: 16.07 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4e-05/14.03, allocations: 3.25 kB / 4.211 GB, free: 16.07 MB / 490.7 MB Notification: Performance of matching and sorting (n=306) (initialization): time 0.01775/14.05, allocations: 4.336 MB / 4.215 GB, free: 15.81 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003665/14.05, allocations: 0.4903 MB / 4.216 GB, free: 15.24 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-05/14.05, allocations: 13.97 kB / 4.216 GB, free: 15.24 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008584/14.06, allocations: 1.258 MB / 4.217 GB, free: 15.18 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004703/14.06, allocations: 0.5329 MB / 4.218 GB, free: 15.18 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007074/14.07, allocations: 5.763 MB / 4.223 GB, free: 11.01 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005603/14.07, allocations: 318.8 kB / 4.224 GB, free: 11 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009769/14.08, allocations: 118.8 kB / 4.224 GB, free: 11 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.499e-05/14.08, allocations: 3.75 kB / 4.224 GB, free: 11 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01421/14.09, allocations: 3.757 MB / 4.227 GB, free: 10.88 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.918e-05/14.09, allocations: 13.88 kB / 4.227 GB, free: 10.88 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003696/14.09, allocations: 0.6585 MB / 4.228 GB, free: 10.82 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005413/14.1, allocations: 0.5864 MB / 4.229 GB, free: 10.82 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01143/14.11, allocations: 8.483 MB / 4.237 GB, free: 20.18 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004987/14.12, allocations: 310.1 kB / 4.237 GB, free: 20.17 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008988/14.12, allocations: 110.2 kB / 4.237 GB, free: 20.17 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 61 * Number of states: 0 () * Number of discrete variables: 19 (radiator.state_b.phase,radiator.state_a.phase,heater.state_b.phase,heater.state_a.phase,tank.heatTransfer.states[1].phase,tank.regularFlow[1],tank.regularFlow[2],tank.inFlow[1],tank.inFlow[2],pump.heatTransfer.states[1].phase,heater.statesFM[2].phase,radiator.statesFM[2].phase,pipe.statesFM[1].phase,pipe.statesFM[2].phase,pipe.state_b.phase,pipe.state_a.phase,valve.state_b.phase,valve.state_a.phase,pump.monitoring.state_in.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (265): * Single equations (assignments): 257 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 8 {1 5,1 1,2 7,1 1,4 14,1 1,1 7,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.003197/14.12, allocations: 0.8129 MB / 4.238 GB, free: 19.98 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009753/14.12, allocations: 233.5 kB / 4.238 GB, free: 19.86 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02312/14.14, allocations: 9.469 MB / 4.248 GB, free: 19.14 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001604/14.14, allocations: 109.4 kB / 4.248 GB, free: 19.14 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.999e-05/14.14, allocations: 0 / 4.248 GB, free: 19.14 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01823/14.16, allocations: 8.347 MB / 4.256 GB, free: 18.26 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03326/14.2, allocations: 13.75 MB / 4.269 GB, free: 17.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.972e-05/14.2, allocations: 2.125 kB / 4.269 GB, free: 17.3 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00362/14.2, allocations: 411.5 kB / 4.27 GB, free: 17.3 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009988/14.21, allocations: 2.303 MB / 4.272 GB, free: 17.16 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007908/14.21, allocations: 78.69 kB / 4.272 GB, free: 17.16 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008386/14.22, allocations: 6.983 MB / 4.279 GB, free: 12.97 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-06/14.22, allocations: 3.062 kB / 4.279 GB, free: 12.97 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02287/14.24, allocations: 10.28 MB / 4.289 GB, free: 12.17 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00289/14.24, allocations: 0.8288 MB / 4.29 GB, free: 11.66 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001028/14.25, allocations: 58.77 kB / 4.29 GB, free: 11.63 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00425/14.25, allocations: 262.3 kB / 4.29 GB, free: 11.58 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000672/14.25, allocations: 200.5 kB / 4.29 GB, free: 11.55 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003157/14.25, allocations: 84.66 kB / 4.29 GB, free: 11.54 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.002909/14.25, allocations: 1.323 MB / 4.292 GB, free: 11.03 MB / 0.4948 GB Notification: Performance of sort global known variables: time 8.92e-07/14.25, allocations: 0 / 4.292 GB, free: 11.03 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01515/14.27, allocations: 2.983 MB / 4.294 GB, free: 10.69 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 10 (tank.medium.h,tank.level,heater.mediums[1].p,heater.mediums[1].h,radiator.mediums[1].p,radiator.mediums[1].h,pipe.mediums[1].p,pipe.mediums[1].h,pipe.mediums[2].p,pipe.mediums[2].h) * Number of discrete variables: 58 ($cse3.phase,$cse3.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse8.region3boundary,$cse9.region3boundary,$cse10.phase,$cse10.region,$cse11.phase,$cse11.region,$cse14.phase,$cse14.region,$cse15.phase,$cse15.region,$cse17.phase,$cse17.region,$cse18.phase,$cse18.region,$cse19.region3boundary,$cse20.region3boundary,$cse21.phase,$cse21.region,$cse24.phase,$cse24.region,$cse25.phase,$cse25.region,$cse26.region3boundary,$cse27.region3boundary,$cse28.phase,$cse28.region,$cse31.phase,$cse31.region,$cse32.phase,$cse32.region,$cse35.phase,$cse35.region,$cse38.region3boundary,$cse39.region3boundary,$cse40.phase,$cse40.region,$cse41.region3boundary,$cse42.region3boundary,$cse43.phase,$cse43.region,$cse45.phase,$cse45.region,tank.heatTransfer.states[1].phase,tank.regularFlow[1],tank.regularFlow[2],tank.inFlow[1],tank.inFlow[2],pump.heatTransfer.states[1].phase,heater.statesFM[2].phase,radiator.statesFM[2].phase,pipe.statesFM[1].phase,pipe.statesFM[2].phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (208): * Single equations (assignments): 175 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 25 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 8 {2 4,1 1,2 9,1 1,4 18,1 1,1 10,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.01669/14.29, allocations: 2.942 MB / 4.297 GB, free: 10.29 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.02024/14.31, allocations: 6.684 MB / 4.304 GB, free: 7.91 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.027e-05/14.31, allocations: 0 / 4.304 GB, free: 7.91 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.008618/14.31, allocations: 3.078 MB / 4.307 GB, free: 6.695 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01097/14.33, allocations: 1.112 MB / 4.308 GB, free: 6.414 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02572/14.35, allocations: 10.49 MB / 4.318 GB, free: 14.38 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004056/14.36, allocations: 2.582 MB / 4.321 GB, free: 12.38 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.009913/14.37, allocations: 3.061 MB / 4.324 GB, free: 10.61 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00151/14.37, allocations: 209.4 kB / 4.324 GB, free: 10.42 MB / 0.5105 GB Notification: Performance of SimCode: time 1.112e-06/14.37, allocations: 0 / 4.324 GB, free: 10.42 MB / 0.5105 GB Notification: Performance of Templates: time 0.6583/15.03, allocations: 102.4 MB / 4.424 GB, free: 59.89 MB / 0.5105 GB