Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.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 IBPSA with version 3.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/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) Running command: translateModel(IBPSA.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002425/0.002428, allocations: 357.5 kB / 15.94 MB, free: 6.207 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 1.312/1.312, allocations: 165.9 MB / 182.5 MB, free: 5.914 MB / 90.73 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.147/4.147, allocations: 410.8 MB / 0.5995 GB, free: 2.094 MB / 410.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001819/0.001819, allocations: 183.5 kB / 0.6662 GB, free: 13.97 MB / 490.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004768/0.0004768, allocations: 12 kB / 0.7423 GB, free: 15.97 MB / 0.5574 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3853/0.3858, allocations: 67.44 MB / 0.8081 GB, free: 245.5 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow): time 0.2336/0.6195, allocations: 186.5 MB / 0.9903 GB, free: 70.78 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.018/0.6375, allocations: 12.68 MB / 1.003 GB, free: 58.1 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00219/0.6398, allocations: 43.69 kB / 1.003 GB, free: 58.05 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.002244/0.6421, allocations: 0.6329 MB / 1.003 GB, free: 57.42 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.006678/0.6488, allocations: 2.074 MB / 1.005 GB, free: 55.34 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.006005/0.6548, allocations: 1.735 MB / 1.007 GB, free: 53.65 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.004305/0.6591, allocations: 3.565 MB / 1.011 GB, free: 50.08 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001498/0.6607, allocations: 0.8611 MB / 1.011 GB, free: 49.21 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003347/0.664, allocations: 1.401 MB / 1.013 GB, free: 47.81 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001528/0.6656, allocations: 0.9631 MB / 1.014 GB, free: 46.84 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 0.0002429/0.6659, allocations: 56 kB / 1.014 GB, free: 46.79 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00432/0.6702, allocations: 1.968 MB / 1.016 GB, free: 44.82 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.0005698/0.6708, allocations: 338.6 kB / 1.016 GB, free: 44.49 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.0005435/0.6714, allocations: 305 kB / 1.016 GB, free: 44.18 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.003396/0.6748, allocations: 2.027 MB / 1.018 GB, free: 42.15 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 6.477e-06/0.6748, allocations: 3.188 kB / 1.018 GB, free: 42.15 MB / 0.5886 GB Notification: Performance of FrontEnd: time 5.149e-06/0.6749, allocations: 0 / 1.018 GB, free: 42.15 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 1.794e-05/0.6749, allocations: 7.875 kB / 1.018 GB, free: 42.14 MB / 0.5886 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.004222/0.6791, allocations: 1.803 MB / 1.02 GB, free: 40.28 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.794e-05/0.6792, allocations: 8.031 kB / 1.02 GB, free: 40.27 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003621/0.6828, allocations: 0.564 MB / 1.021 GB, free: 39.7 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002583/0.6854, allocations: 1.048 MB / 1.022 GB, free: 38.6 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007375/0.6862, allocations: 206.2 kB / 1.022 GB, free: 38.4 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002825/0.6865, allocations: 99.95 kB / 1.022 GB, free: 38.3 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003196/0.6897, allocations: 1.274 MB / 1.023 GB, free: 37.01 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.412e-05/0.6898, allocations: 3.984 kB / 1.023 GB, free: 37.01 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001311/0.6899, allocations: 36 kB / 1.023 GB, free: 36.97 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.98e-05/0.69, allocations: 38.61 kB / 1.023 GB, free: 36.94 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003897/0.6939, allocations: 1.323 MB / 1.024 GB, free: 35.61 MB / 0.5886 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.009312/0.7033, allocations: 4.903 MB / 1.029 GB, free: 30.41 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003068/0.7064, allocations: 1.04 MB / 1.03 GB, free: 29.36 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00155/0.708, allocations: 0.585 MB / 1.031 GB, free: 28.77 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001211/0.7092, allocations: 0.8657 MB / 1.032 GB, free: 27.74 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001742/0.711, allocations: 0.6927 MB / 1.032 GB, free: 27.03 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=85): time 4.438e-06/0.711, allocations: 0 / 1.032 GB, free: 27.03 MB / 0.5886 GB Notification: Performance of matching and sorting (n=85): time 0.005207/0.7162, allocations: 1.788 MB / 1.034 GB, free: 25.23 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.459e-05/0.7163, allocations: 115.5 kB / 1.034 GB, free: 25.09 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001536/0.7179, allocations: 1.03 MB / 1.035 GB, free: 24.05 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 0.0001419/0.718, allocations: 45.7 kB / 1.035 GB, free: 24 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004256/0.7185, allocations: 0.5281 MB / 1.036 GB, free: 23.46 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002501/0.7187, allocations: 279.9 kB / 1.036 GB, free: 23.18 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.216e-05/0.7188, allocations: 20 kB / 1.036 GB, free: 23.16 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.06e-05/0.7189, allocations: 345.9 kB / 1.036 GB, free: 22.82 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001755/0.7207, allocations: 0.5133 MB / 1.037 GB, free: 22.3 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001797/0.7225, allocations: 0.7116 MB / 1.038 GB, free: 21.54 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001868/0.7244, allocations: 0.5958 MB / 1.038 GB, free: 20.93 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.631e-06/0.7245, allocations: 4 kB / 1.038 GB, free: 20.93 MB / 0.5886 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.004295/0.7288, allocations: 1.499 MB / 1.04 GB, free: 19.41 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001245/0.7289, allocations: 242.2 kB / 1.04 GB, free: 19.12 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.058e-05/0.729, allocations: 0 / 1.04 GB, free: 19.12 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.258e-05/0.729, allocations: 8 kB / 1.04 GB, free: 19.11 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00164/0.7306, allocations: 267.6 kB / 1.04 GB, free: 18.85 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.805e-05/0.7307, allocations: 8 kB / 1.04 GB, free: 18.84 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001848/0.7325, allocations: 210.8 kB / 1.04 GB, free: 18.64 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001779/0.7327, allocations: 47.97 kB / 1.04 GB, free: 18.59 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.506e-05/0.7328, allocations: 4 kB / 1.04 GB, free: 18.59 MB / 0.5886 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003965/0.7368, allocations: 1.411 MB / 1.042 GB, free: 17.16 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.049e-05/0.7368, allocations: 4 kB / 1.042 GB, free: 17.16 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.326e-05/0.7368, allocations: 8 kB / 1.042 GB, free: 17.15 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001565/0.7384, allocations: 267.7 kB / 1.042 GB, free: 16.89 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.269e-05/0.7384, allocations: 4 kB / 1.042 GB, free: 16.89 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001683/0.7401, allocations: 203 kB / 1.042 GB, free: 16.69 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001454/0.7403, allocations: 47.92 kB / 1.042 GB, free: 16.64 MB / 0.5886 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 () * Number of clocked 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.0007484/0.7411, allocations: 465.7 kB / 1.043 GB, free: 16.17 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002972/0.7414, allocations: 130.5 kB / 1.043 GB, free: 16.04 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003945/0.7453, allocations: 1.517 MB / 1.044 GB, free: 14.51 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.504e-05/0.7454, allocations: 12 kB / 1.044 GB, free: 14.5 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.726e-06/0.7454, allocations: 6.906 kB / 1.044 GB, free: 14.49 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.24e-05/0.7454, allocations: 3.984 kB / 1.044 GB, free: 14.49 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006373/0.7518, allocations: 2.967 MB / 1.047 GB, free: 11.41 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.917e-06/0.7518, allocations: 4 kB / 1.047 GB, free: 11.4 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001226/0.7531, allocations: 200 kB / 1.047 GB, free: 11.21 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.628e-05/0.7531, allocations: 15.02 kB / 1.047 GB, free: 11.2 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001031/0.7532, allocations: 31.98 kB / 1.048 GB, free: 11.16 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.013e-05/0.7533, allocations: 8 kB / 1.048 GB, free: 11.16 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.752e-06/0.7533, allocations: 7.938 kB / 1.048 GB, free: 11.15 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005645/0.7589, allocations: 2.296 MB / 1.05 GB, free: 8.793 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007761/0.7597, allocations: 343.1 kB / 1.05 GB, free: 8.438 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002363/0.76, allocations: 27.95 kB / 1.05 GB, free: 8.41 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001417/0.7614, allocations: 128 kB / 1.05 GB, free: 8.285 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001544/0.7616, allocations: 62.41 kB / 1.05 GB, free: 8.223 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001319/0.7617, allocations: 43.97 kB / 1.05 GB, free: 8.18 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.001178/0.7629, allocations: 0.6971 MB / 1.051 GB, free: 7.477 MB / 0.5886 GB Notification: Performance of sort global known variables: time 8.83e-07/0.763, allocations: 4 kB / 1.051 GB, free: 7.473 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.002393/0.7654, allocations: 0.7877 MB / 1.052 GB, free: 6.684 MB / 0.5886 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) * Number of clocked states: 0 () * 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.001202/0.7666, allocations: 0.5007 MB / 1.052 GB, free: 6.191 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.005632/0.7722, allocations: 2.262 MB / 1.055 GB, free: 3.883 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 7.717e-06/0.7723, allocations: 0 / 1.055 GB, free: 3.883 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.001802/0.7741, allocations: 0.7918 MB / 1.055 GB, free: 3.07 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003328/0.7775, allocations: 0.5288 MB / 1.056 GB, free: 2.559 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.302/1.08, allocations: 2.827 MB / 1.059 GB, free: 234.3 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009083/1.08, allocations: 1.185 MB / 1.06 GB, free: 233.6 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.002556/1.083, allocations: 354.6 kB / 1.06 GB, free: 233.5 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000501/1.084, allocations: 99.91 kB / 1.06 GB, free: 233.5 MB / 0.5886 GB Notification: Performance of SimCode: time 1.875e-06/1.084, allocations: 0.8438 kB / 1.06 GB, free: 233.5 MB / 0.5886 GB Notification: Performance of Templates: time 0.05862/1.142, allocations: 24.66 MB / 1.084 GB, free: 225.1 MB / 0.5886 GB