Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_3.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl") translateModel(Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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.00164/0.00164, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001954/0.001954, allocations: 191.3 kB / 16.25 MB, free: 6.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.406/1.406, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.798/2.798, allocations: 472.6 MB / 0.7448 GB, free: 4.883 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001251/0.001251, allocations: 68.22 kB / 0.9115 GB, free: 33.57 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3125/0.3138, allocations: 159.9 MB / 1.068 GB, free: 10.77 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl): time 0.8718/1.186, allocations: 208.4 MB / 1.271 GB, free: 5.898 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01532/1.201, allocations: 10.6 MB / 1.282 GB, free: 5.727 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003034/1.204, allocations: 59.38 kB / 1.282 GB, free: 5.727 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002726/1.207, allocations: 0.7116 MB / 1.282 GB, free: 5.715 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.008309/1.215, allocations: 2.295 MB / 1.285 GB, free: 5.629 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.007015/1.222, allocations: 2.093 MB / 1.287 GB, free: 5.562 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.007079/1.229, allocations: 3.706 MB / 1.29 GB, free: 5.555 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002732/1.232, allocations: 1.323 MB / 1.292 GB, free: 5.43 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005684/1.238, allocations: 1.95 MB / 1.293 GB, free: 5.406 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003024/1.241, allocations: 1.197 MB / 1.295 GB, free: 5.398 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0005515/1.241, allocations: 152.2 kB / 1.295 GB, free: 5.398 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006465/1.248, allocations: 3.108 MB / 1.298 GB, free: 5.367 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0009187/1.249, allocations: 472.1 kB / 1.298 GB, free: 5.328 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001866/1.251, allocations: 0.9082 MB / 1.299 GB, free: 5.062 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.008388/1.259, allocations: 3.389 MB / 1.302 GB, free: 4.664 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.973e-06/1.259, allocations: 5.156 kB / 1.302 GB, free: 4.66 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.074e-06/1.259, allocations: 0.8438 kB / 1.302 GB, free: 4.66 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.42e-05/1.259, allocations: 0 / 1.302 GB, free: 4.66 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 249 * Number of variables: 249 Notification: Performance of Generate backend data structure: time 0.006726/1.266, allocations: 2.354 MB / 1.305 GB, free: 19.48 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.939e-05/1.266, allocations: 10.19 kB / 1.305 GB, free: 19.48 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003327/1.269, allocations: 0.5413 MB / 1.305 GB, free: 19.39 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003105/1.272, allocations: 1.247 MB / 1.306 GB, free: 18.96 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006791/1.273, allocations: 196.2 kB / 1.307 GB, free: 18.96 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002742/1.273, allocations: 112.6 kB / 1.307 GB, free: 18.96 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003124/1.277, allocations: 1.327 MB / 1.308 GB, free: 18.84 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.553e-05/1.277, allocations: 0.8438 kB / 1.308 GB, free: 18.84 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001154/1.277, allocations: 39.81 kB / 1.308 GB, free: 18.84 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.624e-05/1.277, allocations: 46.56 kB / 1.308 GB, free: 18.84 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003246/1.28, allocations: 1.347 MB / 1.309 GB, free: 18.83 MB / 1.014 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.01012/1.29, allocations: 5.278 MB / 1.315 GB, free: 16.75 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002535/1.293, allocations: 1.017 MB / 1.316 GB, free: 16.61 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001287/1.294, allocations: 0.5415 MB / 1.316 GB, free: 16.59 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001222/1.295, allocations: 0.7559 MB / 1.317 GB, free: 15.84 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001557/1.297, allocations: 0.6099 MB / 1.317 GB, free: 15.77 MB / 1.014 GB Notification: Performance of pre-optimization done (n=81): time 3.227e-06/1.297, allocations: 0 / 1.317 GB, free: 15.77 MB / 1.014 GB Notification: Performance of matching and sorting (n=81): time 0.004474/1.301, allocations: 1.594 MB / 1.319 GB, free: 15.6 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.483e-05/1.301, allocations: 67.44 kB / 1.319 GB, free: 15.54 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001916/1.303, allocations: 1.328 MB / 1.32 GB, free: 15.36 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0002136/1.304, allocations: 47.64 kB / 1.32 GB, free: 15.33 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005182/1.304, allocations: 0.6396 MB / 1.321 GB, free: 15.12 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002251/1.304, allocations: 282.3 kB / 1.321 GB, free: 14.95 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003837/1.305, allocations: 232.7 kB / 1.322 GB, free: 14.92 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001698/1.305, allocations: 348.6 kB / 1.322 GB, free: 14.61 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001245/1.306, allocations: 0.5054 MB / 1.322 GB, free: 14.59 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001497/1.308, allocations: 0.7665 MB / 1.323 GB, free: 14.33 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0025/1.31, allocations: 1.186 MB / 1.324 GB, free: 14.09 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.941e-06/1.31, allocations: 0 / 1.324 GB, free: 14.09 MB / 1.014 GB Notification: Performance of matching and sorting (n=131) (initialization): time 0.003529/1.314, allocations: 1.463 MB / 1.326 GB, free: 13.92 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 5.126e-05/1.314, allocations: 35.42 kB / 1.326 GB, free: 13.89 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.458e-05/1.314, allocations: 9.25 kB / 1.326 GB, free: 13.88 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.437e-05/1.314, allocations: 10.69 kB / 1.326 GB, free: 13.88 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001755/1.316, allocations: 333.6 kB / 1.326 GB, free: 13.88 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007779/1.316, allocations: 1.197 MB / 1.327 GB, free: 12.7 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002061/1.319, allocations: 220.8 kB / 1.327 GB, free: 12.63 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001208/1.319, allocations: 52.14 kB / 1.328 GB, free: 12.63 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001764/1.32, allocations: 0.7515 MB / 1.328 GB, free: 12.54 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001419/1.322, allocations: 0.7583 MB / 1.329 GB, free: 12.28 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002419/1.324, allocations: 1.168 MB / 1.33 GB, free: 12.03 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.41e-06/1.324, allocations: 0 / 1.33 GB, free: 12.03 MB / 1.014 GB Notification: Performance of matching and sorting (n=131) (initialization_lambda0): time 0.003951/1.328, allocations: 1.449 MB / 1.332 GB, free: 11.85 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 4.912e-05/1.328, allocations: 41.98 kB / 1.332 GB, free: 11.82 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.118e-05/1.328, allocations: 8.828 kB / 1.332 GB, free: 11.81 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.583e-05/1.328, allocations: 10.78 kB / 1.332 GB, free: 11.81 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001487/1.33, allocations: 302.4 kB / 1.332 GB, free: 11.81 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.433e-05/1.33, allocations: 13.94 kB / 1.332 GB, free: 11.81 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002365/1.332, allocations: 200.2 kB / 1.332 GB, free: 11.75 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001293/1.332, allocations: 56.14 kB / 1.332 GB, free: 11.75 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (130): * Single equations (assignments): 127 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * 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.0005621/1.333, allocations: 246.6 kB / 1.332 GB, free: 11.57 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000481/1.333, allocations: 154.1 kB / 1.333 GB, free: 11.48 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003421/1.337, allocations: 1.323 MB / 1.334 GB, free: 11.32 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.561e-05/1.337, allocations: 8.75 kB / 1.334 GB, free: 11.32 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.979e-06/1.337, allocations: 7 kB / 1.334 GB, free: 11.32 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.432e-05/1.337, allocations: 3.281 kB / 1.334 GB, free: 11.32 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005923/1.343, allocations: 2.847 MB / 1.337 GB, free: 10.05 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-05/1.343, allocations: 5.281 kB / 1.337 GB, free: 10.05 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001254/1.344, allocations: 233.8 kB / 1.337 GB, free: 10.04 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.303e-05/1.344, allocations: 8.125 kB / 1.337 GB, free: 10.04 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.345e-05/1.344, allocations: 28.16 kB / 1.337 GB, free: 10.02 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008017/1.345, allocations: 1.191 MB / 1.338 GB, free: 8.836 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.073e-06/1.345, allocations: 4.688 kB / 1.338 GB, free: 8.836 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005034/1.35, allocations: 2.054 MB / 1.34 GB, free: 7.902 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001042/1.351, allocations: 369.9 kB / 1.34 GB, free: 7.645 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002487/1.352, allocations: 23.56 kB / 1.34 GB, free: 7.633 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001418/1.353, allocations: 142.7 kB / 1.341 GB, free: 7.605 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001764/1.353, allocations: 69.16 kB / 1.341 GB, free: 7.594 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.456e-05/1.353, allocations: 47.2 kB / 1.341 GB, free: 7.582 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.00133/1.355, allocations: 0.8943 MB / 1.342 GB, free: 7.234 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.9e-07/1.355, allocations: 0 / 1.342 GB, free: 7.234 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.002539/1.357, allocations: 0.7874 MB / 1.342 GB, free: 7.09 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 4 (temSen.T,val.filter.s[1],val.filter.s[2],P.I.y) * Number of discrete variables: 3 ($whenCondition1,TSet.T_start,TSet.count) * Number of discrete states: 1 (TSet.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (90): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * 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 Backend phase and start with SimCode phase: time 0.001176/1.358, allocations: 466.3 kB / 1.343 GB, free: 6.918 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.005905/1.364, allocations: 2.136 MB / 1.345 GB, free: 6.242 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 8.295e-06/1.364, allocations: 0 / 1.345 GB, free: 6.242 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.00171/1.366, allocations: 0.6226 MB / 1.345 GB, free: 6.078 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004732/1.371, allocations: 0.6937 MB / 1.346 GB, free: 5.836 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007044/1.378, allocations: 3.246 MB / 1.349 GB, free: 3.898 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001105/1.379, allocations: 1.223 MB / 1.351 GB, free: 3.156 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.002344/1.381, allocations: 407.4 kB / 1.351 GB, free: 3.055 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004982/1.382, allocations: 126.9 kB / 1.351 GB, free: 3.039 MB / 1.014 GB Notification: Performance of SimCode: time 7.02e-07/1.382, allocations: 0 / 1.351 GB, free: 3.039 MB / 1.014 GB Notification: Performance of Templates: time 0.05509/1.437, allocations: 30.2 MB / 1.381 GB, free: 15.48 MB / 1.045 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.sim & ./Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe 2>&1)