Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl") translateModel(Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.274/2.274, allocations: 251.1 MB / 266.7 MB, free: 11.65 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001301/0.001301, allocations: 177.4 kB / 326.2 MB, free: 2.883 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.401/2.401, allocations: 205.4 MB / 0.5772 GB, free: 20.82 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001378/0.001377, allocations: 87.84 kB / 0.6817 GB, free: 13.65 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006785/0.0006786, allocations: 11.72 kB / 0.7957 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2025/0.2033, allocations: 106.3 MB / 0.8995 GB, free: 65.57 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl): time 0.9443/1.148, allocations: 192.7 MB / 1.088 GB, free: 4.145 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.02568/1.173, allocations: 12.5 MB / 1.1 GB, free: 3.824 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003004/1.176, allocations: 55.19 kB / 1.1 GB, free: 3.824 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.003137/1.18, allocations: 0.5761 MB / 1.1 GB, free: 3.816 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.008905/1.189, allocations: 1.881 MB / 1.102 GB, free: 3.727 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.01288/1.201, allocations: 2.773 MB / 1.105 GB, free: 3.609 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.007392/1.209, allocations: 4.039 MB / 1.109 GB, free: 3.59 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003173/1.212, allocations: 1.069 MB / 1.11 GB, free: 3.453 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00565/1.218, allocations: 1.5 MB / 1.111 GB, free: 3.438 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003255/1.221, allocations: 1.074 MB / 1.113 GB, free: 3.434 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0007504/1.222, allocations: 61.53 kB / 1.113 GB, free: 3.434 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007647/1.23, allocations: 2.351 MB / 1.115 GB, free: 3.398 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.001036/1.231, allocations: 367.8 kB / 1.115 GB, free: 3.398 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.001155/1.232, allocations: 351.7 kB / 1.116 GB, free: 19.37 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.005646/1.237, allocations: 2.386 MB / 1.118 GB, free: 19.17 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 6.632e-06/1.238, allocations: 0 / 1.118 GB, free: 19.17 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.755e-06/1.238, allocations: 5.969 kB / 1.118 GB, free: 19.16 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.585e-05/1.238, allocations: 0 / 1.118 GB, free: 19.16 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: 250 * Number of variables: 250 Notification: Performance of Generate backend data structure: time 0.007441/1.245, allocations: 2.074 MB / 1.12 GB, free: 18.02 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.764e-05/1.245, allocations: 8.875 kB / 1.12 GB, free: 18.02 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005113/1.25, allocations: 0.5842 MB / 1.12 GB, free: 17.9 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004233/1.255, allocations: 1.207 MB / 1.122 GB, free: 17.52 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001266/1.256, allocations: 220.2 kB / 1.122 GB, free: 17.51 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005003/1.256, allocations: 114.5 kB / 1.122 GB, free: 17.51 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004951/1.261, allocations: 1.367 MB / 1.123 GB, free: 17.35 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.764e-05/1.261, allocations: 2.531 kB / 1.123 GB, free: 17.35 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001803/1.262, allocations: 39.47 kB / 1.123 GB, free: 17.35 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.859e-05/1.262, allocations: 42.91 kB / 1.123 GB, free: 17.35 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006055/1.268, allocations: 1.386 MB / 1.125 GB, free: 17.31 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.01534/1.283, allocations: 5.344 MB / 1.13 GB, free: 14.83 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005723/1.289, allocations: 1.183 MB / 1.131 GB, free: 14.51 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002598/1.292, allocations: 0.5661 MB / 1.132 GB, free: 14.4 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001932/1.293, allocations: 0.7759 MB / 1.132 GB, free: 13.6 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002737/1.296, allocations: 0.6335 MB / 1.133 GB, free: 13.39 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=82): time 5.17e-06/1.296, allocations: 0 / 1.133 GB, free: 13.39 MB / 0.7136 GB Notification: Performance of matching and sorting (n=82): time 0.007609/1.304, allocations: 1.672 MB / 1.135 GB, free: 12.98 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.415e-05/1.304, allocations: 141 kB / 1.135 GB, free: 12.83 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002637/1.307, allocations: 1.339 MB / 1.136 GB, free: 12.44 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0003351/1.307, allocations: 50.08 kB / 1.136 GB, free: 12.41 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008483/1.308, allocations: 0.6543 MB / 1.137 GB, free: 12.13 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005884/1.309, allocations: 289 kB / 1.137 GB, free: 11.93 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001282/1.309, allocations: 24.61 kB / 1.137 GB, free: 11.93 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001961/1.309, allocations: 345.1 kB / 1.137 GB, free: 11.61 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002991/1.312, allocations: 0.537 MB / 1.138 GB, free: 11.51 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003698/1.316, allocations: 0.8275 MB / 1.139 GB, free: 11.11 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002858/1.319, allocations: 0.6196 MB / 1.139 GB, free: 10.98 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-05/1.319, allocations: 3.062 kB / 1.139 GB, free: 10.98 MB / 0.7136 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.00719/1.326, allocations: 1.555 MB / 1.141 GB, free: 10.61 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003276/1.326, allocations: 262.9 kB / 1.141 GB, free: 10.31 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.711e-05/1.326, allocations: 10.16 kB / 1.141 GB, free: 10.31 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.625e-05/1.326, allocations: 11.12 kB / 1.141 GB, free: 10.31 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003522/1.33, allocations: 353.2 kB / 1.142 GB, free: 10.23 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001012/1.331, allocations: 1.202 MB / 1.143 GB, free: 9.047 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003323/1.334, allocations: 233.1 kB / 1.143 GB, free: 8.938 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003654/1.335, allocations: 58.31 kB / 1.143 GB, free: 8.93 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.556e-05/1.335, allocations: 5.219 kB / 1.143 GB, free: 8.93 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00651/1.341, allocations: 1.395 MB / 1.144 GB, free: 8.672 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.464e-05/1.341, allocations: 5.125 kB / 1.144 GB, free: 8.672 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.25e-05/1.341, allocations: 9.375 kB / 1.144 GB, free: 8.672 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002972/1.344, allocations: 323.6 kB / 1.145 GB, free: 8.609 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.102e-05/1.344, allocations: 13.88 kB / 1.145 GB, free: 8.609 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003164/1.348, allocations: 226 kB / 1.145 GB, free: 8.504 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000346/1.348, allocations: 51.17 kB / 1.145 GB, free: 8.5 MB / 0.7136 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 ($whenCondition1,$PRE.TSet.T_start,TSet.T_start,$PRE.TSet.count,TSet.count,hex.flowRegime,hex.flowRegime_nominal,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 (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001282/1.349, allocations: 421.5 kB / 1.145 GB, free: 8.293 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005774/1.35, allocations: 157.9 kB / 1.145 GB, free: 8.211 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006709/1.357, allocations: 1.385 MB / 1.147 GB, free: 7.852 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.17e-05/1.357, allocations: 3.984 kB / 1.147 GB, free: 7.848 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.16e-05/1.357, allocations: 4 kB / 1.147 GB, free: 7.844 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001394/1.358, allocations: 358.6 kB / 1.147 GB, free: 7.605 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004647/1.359, allocations: 19.38 kB / 1.147 GB, free: 7.605 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002348/1.361, allocations: 131 kB / 1.147 GB, free: 7.559 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000271/1.361, allocations: 64.28 kB / 1.147 GB, free: 7.531 MB / 0.7136 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006987/1.368, allocations: 1.394 MB / 1.149 GB, free: 7.125 MB / 0.7136 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.008394/1.377, allocations: 2.092 MB / 1.151 GB, free: 6.484 MB / 0.7136 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002503/1.379, allocations: 0.5783 MB / 1.151 GB, free: 6.363 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.002031/1.381, allocations: 0.8866 MB / 1.152 GB, free: 6.117 MB / 0.7136 GB Notification: Performance of Backend: time 7.22e-07/1.381, allocations: 0 / 1.152 GB, free: 6.117 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.01125/1.393, allocations: 2.469 MB / 1.155 GB, free: 5.387 MB / 0.7136 GB Notification: Performance of SimCode: time 0.01045/1.403, allocations: 3.686 MB / 1.158 GB, free: 3.117 MB / 0.7136 GB Notification: Performance of Templates: time 0.1059/1.509, allocations: 38.9 MB / 1.196 GB, free: 13.38 MB / 0.7605 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.sim & ./Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe 2>&1)