Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) 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(Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl") translateModel(Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001103/0.001103, allocations: 111.8 kB / 16.38 MB, free: 6.02 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.001125/0.001125, allocations: 187.6 kB / 17.31 MB, free: 5.617 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.359/1.359, allocations: 205.1 MB / 223.2 MB, free: 12.26 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.827/1.827, allocations: 292.3 MB / 0.5496 GB, free: 17.54 MB / 462.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.001684/0.001684, allocations: 75.25 kB / 0.6729 GB, free: 5.84 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2085/0.2102, allocations: 114.6 MB / 0.7848 GB, free: 3.168 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl): time 0.5426/0.7528, allocations: 211.2 MB / 0.991 GB, free: 6.715 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.01867/0.7716, allocations: 13.18 MB / 1.004 GB, free: 9.52 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002269/0.7739, allocations: 67.56 kB / 1.004 GB, free: 9.453 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.002434/0.7764, allocations: 0.8732 MB / 1.005 GB, free: 8.574 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.006888/0.7833, allocations: 2.444 MB / 1.007 GB, free: 6.121 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.009785/0.7931, allocations: 3.681 MB / 1.011 GB, free: 2.484 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.006368/0.7995, allocations: 3.715 MB / 1.014 GB, free: 14.76 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002739/0.8023, allocations: 1.352 MB / 1.016 GB, free: 13.38 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005312/0.8076, allocations: 1.95 MB / 1.018 GB, free: 11.43 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002521/0.8101, allocations: 1.167 MB / 1.019 GB, free: 10.26 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0006058/0.8108, allocations: 152 kB / 1.019 GB, free: 10.11 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005872/0.8167, allocations: 3.201 MB / 1.022 GB, free: 6.906 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.000716/0.8174, allocations: 474.3 kB / 1.023 GB, free: 6.441 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.001575/0.819, allocations: 0.9056 MB / 1.023 GB, free: 5.531 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.006107/0.8251, allocations: 3.486 MB / 1.027 GB, free: 2.035 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.8251, allocations: 4 kB / 1.027 GB, free: 2.031 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.814e-06/0.8251, allocations: 0 / 1.027 GB, free: 2.031 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.857e-05/0.8252, allocations: 0 / 1.027 GB, free: 2.031 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 250 * Number of variables: 250 Notification: Performance of Generate backend data structure: time 0.005625/0.8308, allocations: 2.4 MB / 1.029 GB, free: 15.57 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.178e-05/0.8309, allocations: 12.75 kB / 1.029 GB, free: 15.55 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003042/0.8339, allocations: 0.5364 MB / 1.03 GB, free: 15.02 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002869/0.8368, allocations: 1.325 MB / 1.031 GB, free: 13.64 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.8e-05/0.8369, allocations: 89.94 kB / 1.031 GB, free: 13.55 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002311/0.8372, allocations: 112 kB / 1.031 GB, free: 13.44 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003059/0.8402, allocations: 1.348 MB / 1.033 GB, free: 12.05 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.403e-05/0.8403, allocations: 0 / 1.033 GB, free: 12.05 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001412/0.8404, allocations: 36 kB / 1.033 GB, free: 12.02 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.536e-05/0.8405, allocations: 42 kB / 1.033 GB, free: 11.98 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003564/0.8441, allocations: 1.335 MB / 1.034 GB, free: 10.64 MB / 0.8262 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.01018/0.8543, allocations: 5.289 MB / 1.039 GB, free: 5.047 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002992/0.8573, allocations: 1.108 MB / 1.04 GB, free: 3.91 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001323/0.8586, allocations: 0.5428 MB / 1.041 GB, free: 3.367 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001149/0.8598, allocations: 0.7552 MB / 1.041 GB, free: 2.461 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001665/0.8615, allocations: 0.6055 MB / 1.042 GB, free: 1.844 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=82): time 3.146e-06/0.8615, allocations: 0 / 1.042 GB, free: 1.844 MB / 0.8262 GB Notification: Performance of matching and sorting (n=82): time 0.004663/0.8662, allocations: 1.577 MB / 1.044 GB, free: 264 kB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.195e-05/0.8663, allocations: 141.2 kB / 1.044 GB, free: 92 kB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002475/0.8688, allocations: 1.352 MB / 1.045 GB, free: 14.73 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 0.0001904/0.869, allocations: 49.7 kB / 1.045 GB, free: 14.68 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008597/0.8698, allocations: 0.6506 MB / 1.046 GB, free: 14.02 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002892/0.8701, allocations: 279.9 kB / 1.046 GB, free: 13.74 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004727/0.8706, allocations: 250.7 kB / 1.046 GB, free: 13.49 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0002445/0.8709, allocations: 345.9 kB / 1.047 GB, free: 13.15 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001601/0.8725, allocations: 0.5213 MB / 1.047 GB, free: 12.62 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002106/0.8746, allocations: 0.8134 MB / 1.048 GB, free: 11.71 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003142/0.8778, allocations: 1.207 MB / 1.049 GB, free: 10.42 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.145e-06/0.8778, allocations: 0 / 1.049 GB, free: 10.42 MB / 0.8419 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.004094/0.8819, allocations: 1.516 MB / 1.05 GB, free: 8.891 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 4.632e-05/0.8819, allocations: 37.69 kB / 1.05 GB, free: 8.848 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.264e-05/0.882, allocations: 8 kB / 1.051 GB, free: 8.84 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.731e-05/0.882, allocations: 8 kB / 1.051 GB, free: 8.832 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001759/0.8838, allocations: 337.7 kB / 1.051 GB, free: 8.504 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009263/0.8847, allocations: 1.192 MB / 1.052 GB, free: 7.266 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001747/0.8865, allocations: 192 kB / 1.052 GB, free: 7.082 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001491/0.8866, allocations: 59.97 kB / 1.052 GB, free: 7.023 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00189/0.8885, allocations: 0.768 MB / 1.053 GB, free: 6.254 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001659/0.8902, allocations: 0.8083 MB / 1.054 GB, free: 5.34 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002865/0.8931, allocations: 1.195 MB / 1.055 GB, free: 4.074 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.604e-06/0.8931, allocations: 4 kB / 1.055 GB, free: 4.07 MB / 0.8419 GB Notification: Performance of matching and sorting (n=138) (initialization_lambda0): time 0.003787/0.8969, allocations: 1.493 MB / 1.056 GB, free: 2.562 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 3.809e-05/0.8969, allocations: 33.7 kB / 1.056 GB, free: 2.523 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.798e-05/0.897, allocations: 8 kB / 1.056 GB, free: 2.516 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.292e-05/0.897, allocations: 11.94 kB / 1.056 GB, free: 2.504 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001444/0.8984, allocations: 311.7 kB / 1.057 GB, free: 2.199 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.919e-05/0.8985, allocations: 8 kB / 1.057 GB, free: 2.191 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001631/0.9001, allocations: 171.1 kB / 1.057 GB, free: 2.023 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001415/0.9003, allocations: 59.97 kB / 1.057 GB, free: 1.965 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 8 (hex.flowRegime_nominal,hex.flowRegime,TSet.count,$PRE.TSet.count,TSet.T_start,$PRE.TSet.T_start,$whenCondition1,P.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (135): * Single equations (assignments): 130 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000431/0.9007, allocations: 250.1 kB / 1.057 GB, free: 1.715 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004079/0.9011, allocations: 158 kB / 1.057 GB, free: 1.559 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003472/0.9046, allocations: 1.313 MB / 1.059 GB, free: 252 kB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.218e-05/0.9046, allocations: 7.984 kB / 1.059 GB, free: 244 kB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.811e-06/0.9046, allocations: 7.422 kB / 1.059 GB, free: 240 kB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006578/0.9053, allocations: 358.9 kB / 1.059 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002809/0.9056, allocations: 16 kB / 1.059 GB, free: 15.84 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001104/0.9067, allocations: 87.91 kB / 1.059 GB, free: 15.76 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001494/0.9069, allocations: 60.91 kB / 1.059 GB, free: 15.7 MB / 0.8575 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003813/0.9107, allocations: 1.303 MB / 1.06 GB, free: 14.38 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004584/0.9153, allocations: 2.002 MB / 1.062 GB, free: 12.36 MB / 0.8575 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00134/0.9166, allocations: 0.5505 MB / 1.063 GB, free: 11.8 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.001335/0.918, allocations: 0.8985 MB / 1.064 GB, free: 10.91 MB / 0.8575 GB Notification: Performance of Backend: time 6.32e-07/0.918, allocations: 0 / 1.064 GB, free: 10.91 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.006913/0.9249, allocations: 2.439 MB / 1.066 GB, free: 8.445 MB / 0.8575 GB Notification: Performance of SimCode: time 0.005703/0.9306, allocations: 3.205 MB / 1.069 GB, free: 5.238 MB / 0.8575 GB Notification: Performance of Templates: time 0.06635/0.997, allocations: 41.62 MB / 1.11 GB, free: 12.05 MB / 0.9044 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.makefile (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.sim & ./Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe 2>&1)