Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.207/2.207, allocations: 252.6 MB / 265.2 MB, free: 5.855 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001492/0.001492, allocations: 179.8 kB / 324.5 MB, free: 14.42 MB / 266.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.149/2.149, allocations: 205.4 MB / 0.5754 GB, free: 10.51 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001183/0.001183, allocations: 94.22 kB / 0.6797 GB, free: 15.75 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.647e-05/3.659e-05, allocations: 7.984 kB / 0.7911 GB, free: 96.62 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1977/0.1978, allocations: 106.2 MB / 0.8949 GB, free: 6.289 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.888/8.086, allocations: 2.471 GB / 3.366 GB, free: 180.9 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002682/8.086, allocations: 90.27 kB / 3.366 GB, free: 180.9 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 4.873/12.96, allocations: 0.8878 GB / 4.254 GB, free: 130.2 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.074e-06/12.96, allocations: 1.531 kB / 4.254 GB, free: 130.2 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0002408/12.96, allocations: 41.48 kB / 4.254 GB, free: 130.2 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 229 * Number of variables: 229 Notification: Performance of Generate backend data structure: time 0.0082/12.97, allocations: 1.917 MB / 4.256 GB, free: 129.6 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 6.926e-05/12.97, allocations: 7.719 kB / 4.256 GB, free: 129.6 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005238/12.97, allocations: 0.5224 MB / 4.256 GB, free: 129.5 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004501/12.98, allocations: 1.21 MB / 4.257 GB, free: 129.2 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001199/12.98, allocations: 207.5 kB / 4.257 GB, free: 129.2 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004583/12.98, allocations: 103.8 kB / 4.258 GB, free: 129.2 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002989/12.98, allocations: 1.144 MB / 4.259 GB, free: 129.1 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.377e-05/12.98, allocations: 0 / 4.259 GB, free: 129.1 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001728/12.98, allocations: 38.41 kB / 4.259 GB, free: 129.1 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.674e-05/12.98, allocations: 36.84 kB / 4.259 GB, free: 129.1 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002894/12.99, allocations: 1.048 MB / 4.26 GB, free: 129.1 MB / 0.8855 GB Warning: The model contains alias variables with conflicting start and/or 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.014/13, allocations: 5.023 MB / 4.265 GB, free: 127.1 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002377/13, allocations: 0.7759 MB / 4.265 GB, free: 127.1 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001095/13, allocations: 477.8 kB / 4.266 GB, free: 127.1 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001511/13, allocations: 0.8422 MB / 4.267 GB, free: 126.2 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001354/13.01, allocations: 0.5846 MB / 4.267 GB, free: 126.1 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=85): time 4.087e-06/13.01, allocations: 0 / 4.267 GB, free: 126.1 MB / 0.8855 GB Notification: Performance of matching and sorting (n=85): time 0.003209/13.01, allocations: 1.085 MB / 4.268 GB, free: 125.9 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.783e-05/13.01, allocations: 119.6 kB / 4.268 GB, free: 125.8 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001726/13.01, allocations: 0.8877 MB / 4.269 GB, free: 125.7 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0002809/13.01, allocations: 47.2 kB / 4.269 GB, free: 125.6 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005603/13.01, allocations: 0.5241 MB / 4.27 GB, free: 125.5 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003622/13.01, allocations: 279.1 kB / 4.27 GB, free: 125.3 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000106/13.01, allocations: 22.5 kB / 4.27 GB, free: 125.3 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 9.067e-05/13.01, allocations: 342.1 kB / 4.27 GB, free: 125 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001047/13.01, allocations: 394.4 kB / 4.271 GB, free: 125 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001226/13.01, allocations: 0.6012 MB / 4.271 GB, free: 124.8 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001135/13.02, allocations: 494.8 kB / 4.272 GB, free: 124.8 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.452e-06/13.02, allocations: 3.688 kB / 4.272 GB, free: 124.8 MB / 0.8855 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.003429/13.02, allocations: 1.278 MB / 4.273 GB, free: 124.6 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003318/13.02, allocations: 1.116 MB / 4.274 GB, free: 123.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.496e-05/13.02, allocations: 10.55 kB / 4.274 GB, free: 123.4 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.107e-05/13.02, allocations: 7.75 kB / 4.274 GB, free: 123.4 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002488/13.02, allocations: 263.2 kB / 4.274 GB, free: 123.4 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.275e-05/13.02, allocations: 13.48 kB / 4.274 GB, free: 123.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002925/13.03, allocations: 207.1 kB / 4.275 GB, free: 123.4 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002199/13.03, allocations: 52.55 kB / 4.275 GB, free: 123.4 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.699e-05/13.03, allocations: 8.562 kB / 4.275 GB, free: 123.4 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003157/13.03, allocations: 1.184 MB / 4.276 GB, free: 123.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.026e-05/13.03, allocations: 3.594 kB / 4.276 GB, free: 123.3 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.755e-05/13.03, allocations: 6.906 kB / 4.276 GB, free: 123.3 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002404/13.03, allocations: 259.3 kB / 4.276 GB, free: 123.3 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.692e-05/13.03, allocations: 10.09 kB / 4.276 GB, free: 123.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002675/13.03, allocations: 205.8 kB / 4.276 GB, free: 123.3 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001903/13.03, allocations: 50.47 kB / 4.276 GB, free: 123.3 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 16 ($whenCondition1,$whenCondition2,mWatGai.a,mWatGai.b,mWatGai.last,$PRE.mWatGai.nextEvent,mWatGai.nextEvent,mWatGai.nextEventScaled,mAirGai.a,mAirGai.b,mAirGai.last,$PRE.mAirGai.nextEvent,mAirGai.nextEvent,mAirGai.nextEventScaled,hex.flowRegime,hex.flowRegime_nominal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (109): * Single equations (assignments): 107 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004413/13.03, allocations: 235.8 kB / 4.277 GB, free: 123.1 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004035/13.03, allocations: 130.9 kB / 4.277 GB, free: 123.1 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003472/13.04, allocations: 1.292 MB / 4.278 GB, free: 122.9 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.73e-05/13.04, allocations: 7.875 kB / 4.278 GB, free: 122.9 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.846e-06/13.04, allocations: 0 / 4.278 GB, free: 122.9 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.492e-05/13.04, allocations: 9.688 kB / 4.278 GB, free: 122.9 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006667/13.05, allocations: 2.76 MB / 4.281 GB, free: 122.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.197e-05/13.05, allocations: 3.5 kB / 4.281 GB, free: 122.4 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001907/13.05, allocations: 204.5 kB / 4.281 GB, free: 122.4 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.708e-05/13.05, allocations: 7.625 kB / 4.281 GB, free: 122.4 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001416/13.05, allocations: 37.36 kB / 4.281 GB, free: 122.4 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-05/13.05, allocations: 7.688 kB / 4.281 GB, free: 122.4 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.162e-06/13.05, allocations: 7.375 kB / 4.281 GB, free: 122.4 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004527/13.05, allocations: 2.129 MB / 4.283 GB, free: 121.8 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001186/13.05, allocations: 352.6 kB / 4.283 GB, free: 121.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004407/13.05, allocations: 31.19 kB / 4.283 GB, free: 121.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002683/13.06, allocations: 138.9 kB / 4.284 GB, free: 121.6 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002934/13.06, allocations: 68.09 kB / 4.284 GB, free: 121.6 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002089/13.06, allocations: 52.91 kB / 4.284 GB, free: 121.6 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001467/13.06, allocations: 0.6859 MB / 4.284 GB, free: 121.5 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.062e-06/13.06, allocations: 0 / 4.284 GB, free: 121.5 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.004987/13.06, allocations: 1.005 MB / 4.285 GB, free: 121.4 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 1 (senRelHum.phi) * Number of discrete variables: 13 ($whenCondition1,$whenCondition2,mWatGai.a,mWatGai.b,mWatGai.last,mWatGai.nextEvent,mWatGai.nextEventScaled,mAirGai.a,mAirGai.b,mAirGai.last,mAirGai.nextEvent,mAirGai.nextEventScaled,hex.flowRegime) * Number of discrete states: 12 (mAirGai.nextEvent,mAirGai.last,mAirGai.nextEventScaled,mAirGai.b,mAirGai.a,$whenCondition2,mWatGai.nextEvent,mWatGai.last,mWatGai.nextEventScaled,mWatGai.b,mWatGai.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (83): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004952/13.07, allocations: 2.236 MB / 4.288 GB, free: 120.8 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.00481/13.07, allocations: 1.899 MB / 4.289 GB, free: 120.6 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.065e-05/13.07, allocations: 3.344 kB / 4.289 GB, free: 120.6 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.001445/13.07, allocations: 0.6591 MB / 4.29 GB, free: 120.4 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004837/13.08, allocations: 0.5061 MB / 4.291 GB, free: 120.4 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005679/13.09, allocations: 1.76 MB / 4.292 GB, free: 119.9 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007795/13.09, allocations: 1.181 MB / 4.293 GB, free: 119.2 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.003716/13.09, allocations: 424.5 kB / 4.294 GB, free: 119.2 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005744/13.09, allocations: 91.62 kB / 4.294 GB, free: 119.2 MB / 0.8855 GB Notification: Performance of SimCode: time 1.392e-06/13.09, allocations: 0 / 4.294 GB, free: 119.2 MB / 0.8855 GB Notification: Performance of Templates: time 0.1294/13.22, allocations: 52.03 MB / 4.345 GB, free: 117.4 MB / 0.8855 GB