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.194/2.194, allocations: 251.1 MB / 266.1 MB, free: 11.62 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001574/0.001574, allocations: 180.1 kB / 325.6 MB, free: 2.828 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.53/2.53, allocations: 205.4 MB / 0.5766 GB, free: 21.13 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.001738/0.001738, allocations: 107.1 kB / 0.6811 GB, free: 14.02 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004749/0.0004751, allocations: 14.53 kB / 0.7951 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2192/0.2197, allocations: 106.3 MB / 0.8989 GB, free: 65.97 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow): time 1.025/1.245, allocations: 172.4 MB / 1.067 GB, free: 3.953 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0253/1.27, allocations: 11.96 MB / 1.079 GB, free: 3.812 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002658/1.273, allocations: 43.8 kB / 1.079 GB, free: 3.812 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.003715/1.277, allocations: 0.7094 MB / 1.08 GB, free: 3.812 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.009908/1.287, allocations: 2.015 MB / 1.082 GB, free: 3.785 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.008964/1.296, allocations: 1.74 MB / 1.083 GB, free: 3.738 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.006162/1.302, allocations: 1.907 MB / 1.085 GB, free: 3.73 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002417/1.304, allocations: 0.8907 MB / 1.086 GB, free: 3.613 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005231/1.31, allocations: 1.355 MB / 1.087 GB, free: 3.605 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002691/1.312, allocations: 0.7496 MB / 1.088 GB, free: 3.605 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0005936/1.313, allocations: 59.56 kB / 1.088 GB, free: 3.602 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007831/1.321, allocations: 2.03 MB / 1.09 GB, free: 3.602 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.001029/1.322, allocations: 315.5 kB / 1.09 GB, free: 3.602 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.001313/1.323, allocations: 313 kB / 1.091 GB, free: 19.57 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.00601/1.329, allocations: 2.02 MB / 1.093 GB, free: 19.41 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/1.329, allocations: 1.859 kB / 1.093 GB, free: 19.41 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.875e-06/1.329, allocations: 0 / 1.093 GB, free: 19.41 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.294e-05/1.329, allocations: 1.156 kB / 1.093 GB, free: 19.41 MB / 0.7136 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.007186/1.337, allocations: 1.801 MB / 1.094 GB, free: 18.36 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.583e-05/1.337, allocations: 9.969 kB / 1.094 GB, free: 18.36 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005448/1.342, allocations: 0.5641 MB / 1.095 GB, free: 18.25 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003596/1.346, allocations: 1.02 MB / 1.096 GB, free: 17.91 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001242/1.347, allocations: 205.1 kB / 1.096 GB, free: 17.89 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004933/1.348, allocations: 106.5 kB / 1.096 GB, free: 17.89 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004674/1.352, allocations: 1.263 MB / 1.098 GB, free: 17.79 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.717e-05/1.352, allocations: 0 / 1.098 GB, free: 17.79 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001803/1.353, allocations: 39.94 kB / 1.098 GB, free: 17.78 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.375e-05/1.353, allocations: 41.66 kB / 1.098 GB, free: 17.78 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006008/1.359, allocations: 1.328 MB / 1.099 GB, free: 17.75 MB / 0.7136 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.01443/1.373, allocations: 4.932 MB / 1.104 GB, free: 15.68 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005044/1.378, allocations: 1.068 MB / 1.105 GB, free: 15.62 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001718/1.38, allocations: 0.6881 MB / 1.105 GB, free: 14.96 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002761/1.383, allocations: 0.736 MB / 1.106 GB, free: 14.82 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=85): time 4.298e-06/1.383, allocations: 5.75 kB / 1.106 GB, free: 14.81 MB / 0.7136 GB Notification: Performance of matching and sorting (n=85): time 0.007962/1.391, allocations: 1.946 MB / 1.108 GB, free: 14.4 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00013/1.391, allocations: 146.1 kB / 1.108 GB, free: 14.25 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002228/1.393, allocations: 1.033 MB / 1.109 GB, free: 14.09 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0003876/1.394, allocations: 43.17 kB / 1.109 GB, free: 14.06 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005892/1.394, allocations: 0.5299 MB / 1.11 GB, free: 13.87 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004526/1.395, allocations: 282.2 kB / 1.11 GB, free: 13.69 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001343/1.395, allocations: 14 kB / 1.11 GB, free: 13.69 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001753/1.395, allocations: 346.7 kB / 1.11 GB, free: 13.38 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00241/1.398, allocations: 0.5078 MB / 1.111 GB, free: 13.37 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002866/1.4, allocations: 0.7073 MB / 1.112 GB, free: 13.18 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002749/1.403, allocations: 0.5993 MB / 1.112 GB, free: 13.1 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.218e-05/1.403, allocations: 0 / 1.112 GB, free: 13.1 MB / 0.7136 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.006417/1.41, allocations: 1.508 MB / 1.114 GB, free: 12.89 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.000578/1.41, allocations: 1.111 MB / 1.115 GB, free: 11.73 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.551e-05/1.41, allocations: 2.906 kB / 1.115 GB, free: 11.73 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.975e-05/1.41, allocations: 8 kB / 1.115 GB, free: 11.73 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002573/1.413, allocations: 274.1 kB / 1.115 GB, free: 11.71 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.894e-05/1.413, allocations: 8.25 kB / 1.115 GB, free: 11.71 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00293/1.416, allocations: 203.8 kB / 1.115 GB, free: 11.66 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003573/1.416, allocations: 47.14 kB / 1.115 GB, free: 11.66 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.582e-05/1.416, allocations: 6.641 kB / 1.115 GB, free: 11.66 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005861/1.422, allocations: 1.412 MB / 1.117 GB, free: 11.55 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.962e-05/1.422, allocations: 6.469 kB / 1.117 GB, free: 11.54 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.616e-05/1.422, allocations: 8.938 kB / 1.117 GB, free: 11.54 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002534/1.425, allocations: 260.6 kB / 1.117 GB, free: 11.54 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.159e-05/1.425, allocations: 5.656 kB / 1.117 GB, free: 11.54 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002767/1.428, allocations: 192.3 kB / 1.117 GB, free: 11.49 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003001/1.428, allocations: 48.58 kB / 1.117 GB, free: 11.49 MB / 0.7136 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.001147/1.429, allocations: 471.5 kB / 1.118 GB, free: 11.23 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004753/1.43, allocations: 130 kB / 1.118 GB, free: 11.16 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006196/1.436, allocations: 1.515 MB / 1.119 GB, free: 10.98 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.843e-05/1.436, allocations: 10.19 kB / 1.119 GB, free: 10.98 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.011e-05/1.436, allocations: 1.25 kB / 1.119 GB, free: 10.98 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.995e-05/1.436, allocations: 4.922 kB / 1.119 GB, free: 10.98 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01049/1.447, allocations: 3.048 MB / 1.122 GB, free: 10.05 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.174e-05/1.447, allocations: 1.781 kB / 1.122 GB, free: 10.05 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001939/1.449, allocations: 203.7 kB / 1.122 GB, free: 10.01 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.649e-05/1.449, allocations: 9.938 kB / 1.122 GB, free: 10 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001714/1.449, allocations: 29.52 kB / 1.122 GB, free: 10 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.407e-05/1.449, allocations: 10.53 kB / 1.122 GB, free: 10 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.901e-06/1.449, allocations: 3.094 kB / 1.122 GB, free: 10 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008566/1.458, allocations: 2.463 MB / 1.125 GB, free: 9.078 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001335/1.459, allocations: 357.1 kB / 1.125 GB, free: 8.848 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003807/1.459, allocations: 24.12 kB / 1.125 GB, free: 8.848 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002403/1.462, allocations: 129.7 kB / 1.125 GB, free: 8.809 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003092/1.462, allocations: 66.28 kB / 1.125 GB, free: 8.781 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002051/1.462, allocations: 43.91 kB / 1.125 GB, free: 8.773 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.00169/1.464, allocations: 0.7012 MB / 1.126 GB, free: 8.555 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5.71e-07/1.464, allocations: 0 / 1.126 GB, free: 8.555 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.003667/1.468, allocations: 0.7912 MB / 1.127 GB, free: 8.445 MB / 0.7136 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.001933/1.47, allocations: 0.5097 MB / 1.127 GB, free: 8.234 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.008589/1.478, allocations: 2.261 MB / 1.13 GB, free: 7.66 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 8.997e-06/1.478, allocations: 448 / 1.13 GB, free: 7.66 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.002696/1.481, allocations: 0.7907 MB / 1.13 GB, free: 7.422 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00475/1.486, allocations: 0.5014 MB / 1.131 GB, free: 7.254 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008058/1.494, allocations: 2.816 MB / 1.134 GB, free: 5.676 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001042/1.495, allocations: 1.181 MB / 1.135 GB, free: 4.762 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.003072/1.498, allocations: 366.8 kB / 1.135 GB, free: 4.59 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006937/1.499, allocations: 106.9 kB / 1.135 GB, free: 4.574 MB / 0.7136 GB Notification: Performance of SimCode: time 1.373e-06/1.499, allocations: 0 / 1.135 GB, free: 4.574 MB / 0.7136 GB Notification: Performance of Templates: time 0.07003/1.569, allocations: 24.73 MB / 1.159 GB, free: 1.883 MB / 0.7292 GB