Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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_1.6_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl") translateModel(Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.001229/0.001229, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001457/0.001458, allocations: 194.4 kB / 16.14 MB, free: 6.711 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.42/1.42, allocations: 222.9 MB / 239.8 MB, free: 4.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.868/2.868, allocations: 472.6 MB / 0.7447 GB, free: 4.996 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001414/0.001414, allocations: 71.67 kB / 0.9113 GB, free: 33.7 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3393/0.3408, allocations: 159.9 MB / 1.068 GB, free: 10.94 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl): time 0.8444/1.185, allocations: 208.7 MB / 1.271 GB, free: 5.777 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01687/1.202, allocations: 10.86 MB / 1.282 GB, free: 5.523 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003375/1.206, allocations: 58.47 kB / 1.282 GB, free: 5.523 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.00293/1.209, allocations: 0.6792 MB / 1.283 GB, free: 5.504 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.008033/1.217, allocations: 2.269 MB / 1.285 GB, free: 5.395 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00701/1.224, allocations: 2.014 MB / 1.287 GB, free: 5.32 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.008499/1.232, allocations: 4.598 MB / 1.291 GB, free: 5.309 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002919/1.235, allocations: 1.144 MB / 1.292 GB, free: 5.16 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005107/1.24, allocations: 1.736 MB / 1.294 GB, free: 5.133 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003279/1.244, allocations: 1.153 MB / 1.295 GB, free: 5.125 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0008591/1.244, allocations: 77.5 kB / 1.295 GB, free: 5.125 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01144/1.256, allocations: 3.196 MB / 1.298 GB, free: 5.094 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.00188/1.258, allocations: 394.5 kB / 1.299 GB, free: 5.055 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.003722/1.262, allocations: 0.8282 MB / 1.3 GB, free: 4.789 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.009432/1.271, allocations: 3.334 MB / 1.303 GB, free: 4.387 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.093e-06/1.271, allocations: 0 / 1.303 GB, free: 4.387 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.044e-06/1.271, allocations: 4 kB / 1.303 GB, free: 4.383 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0001399/1.271, allocations: 1 kB / 1.303 GB, free: 4.383 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.009864/1.281, allocations: 2.345 MB / 1.305 GB, free: 19.2 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.469e-05/1.281, allocations: 9.125 kB / 1.305 GB, free: 19.2 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003795/1.285, allocations: 0.5402 MB / 1.306 GB, free: 19.08 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003518/1.289, allocations: 1.261 MB / 1.307 GB, free: 18.65 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006685/1.289, allocations: 196.3 kB / 1.307 GB, free: 18.64 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004166/1.29, allocations: 110.2 kB / 1.307 GB, free: 18.63 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003467/1.293, allocations: 1.326 MB / 1.309 GB, free: 18.5 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.726e-05/1.293, allocations: 1.094 kB / 1.309 GB, free: 18.5 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001356/1.293, allocations: 44.33 kB / 1.309 GB, free: 18.5 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.757e-05/1.293, allocations: 42.86 kB / 1.309 GB, free: 18.5 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003372/1.297, allocations: 1.347 MB / 1.31 GB, free: 18.47 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.01289/1.31, allocations: 5.288 MB / 1.315 GB, free: 16.34 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002606/1.312, allocations: 1.015 MB / 1.316 GB, free: 16.19 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001286/1.314, allocations: 0.5384 MB / 1.317 GB, free: 16.17 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001137/1.315, allocations: 0.7496 MB / 1.317 GB, free: 15.42 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001488/1.316, allocations: 0.6067 MB / 1.318 GB, free: 15.36 MB / 1.014 GB Notification: Performance of pre-optimization done (n=81): time 3.176e-06/1.316, allocations: 5.406 kB / 1.318 GB, free: 15.36 MB / 1.014 GB Notification: Performance of matching and sorting (n=81): time 0.004499/1.321, allocations: 1.586 MB / 1.319 GB, free: 15.19 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.793e-05/1.321, allocations: 64.36 kB / 1.32 GB, free: 15.12 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002293/1.323, allocations: 1.327 MB / 1.321 GB, free: 14.95 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.000215/1.323, allocations: 47.08 kB / 1.321 GB, free: 14.92 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006035/1.324, allocations: 0.647 MB / 1.322 GB, free: 14.71 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002535/1.324, allocations: 283.2 kB / 1.322 GB, free: 14.54 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004311/1.325, allocations: 230.5 kB / 1.322 GB, free: 14.51 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001228/1.325, allocations: 346.5 kB / 1.322 GB, free: 14.21 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001317/1.326, allocations: 0.505 MB / 1.323 GB, free: 14.18 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001507/1.328, allocations: 0.7687 MB / 1.324 GB, free: 13.92 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002594/1.33, allocations: 1.182 MB / 1.325 GB, free: 13.68 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.498e-06/1.33, allocations: 2.656 kB / 1.325 GB, free: 13.68 MB / 1.014 GB Notification: Performance of matching and sorting (n=131) (initialization): time 0.003671/1.334, allocations: 1.461 MB / 1.326 GB, free: 13.51 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 4.941e-05/1.334, allocations: 33.23 kB / 1.326 GB, free: 13.48 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.649e-05/1.334, allocations: 13.12 kB / 1.326 GB, free: 13.47 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.526e-05/1.334, allocations: 9.625 kB / 1.326 GB, free: 13.47 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001766/1.336, allocations: 338.5 kB / 1.327 GB, free: 13.46 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007414/1.337, allocations: 1.192 MB / 1.328 GB, free: 12.29 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002171/1.339, allocations: 232.5 kB / 1.328 GB, free: 12.21 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001883/1.339, allocations: 54.14 kB / 1.328 GB, free: 12.21 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001966/1.341, allocations: 0.7471 MB / 1.329 GB, free: 12.12 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0015/1.343, allocations: 0.7603 MB / 1.329 GB, free: 11.86 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002433/1.345, allocations: 1.17 MB / 1.331 GB, free: 11.62 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.322e-06/1.345, allocations: 0 / 1.331 GB, free: 11.62 MB / 1.014 GB Notification: Performance of matching and sorting (n=131) (initialization_lambda0): time 0.004424/1.349, allocations: 1.452 MB / 1.332 GB, free: 11.43 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 6.325e-05/1.35, allocations: 31.94 kB / 1.332 GB, free: 11.4 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.902e-05/1.35, allocations: 4.688 kB / 1.332 GB, free: 11.4 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.716e-05/1.35, allocations: 10.66 kB / 1.332 GB, free: 11.4 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001532/1.351, allocations: 312.1 kB / 1.332 GB, free: 11.39 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.748e-05/1.351, allocations: 16.86 kB / 1.332 GB, free: 11.39 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002258/1.353, allocations: 193.7 kB / 1.333 GB, free: 11.34 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001796/1.354, allocations: 51.02 kB / 1.333 GB, free: 11.34 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.0004652/1.354, allocations: 246.6 kB / 1.333 GB, free: 11.16 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005548/1.355, allocations: 157.1 kB / 1.333 GB, free: 11.07 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003514/1.358, allocations: 1.317 MB / 1.334 GB, free: 10.96 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-05/1.358, allocations: 10.69 kB / 1.334 GB, free: 10.96 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.949e-06/1.358, allocations: 3.938 kB / 1.334 GB, free: 10.96 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.299e-05/1.358, allocations: 4.406 kB / 1.334 GB, free: 10.96 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005977/1.364, allocations: 2.842 MB / 1.337 GB, free: 10.14 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.884e-06/1.364, allocations: 2.281 kB / 1.337 GB, free: 10.14 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001211/1.365, allocations: 233.3 kB / 1.337 GB, free: 10.13 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.384e-05/1.365, allocations: 12.5 kB / 1.337 GB, free: 10.12 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.021e-05/1.366, allocations: 29.14 kB / 1.337 GB, free: 10.11 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006011/1.366, allocations: 1.187 MB / 1.339 GB, free: 8.926 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.621e-06/1.366, allocations: 8.609 kB / 1.339 GB, free: 8.926 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004609/1.371, allocations: 2.049 MB / 1.341 GB, free: 7.996 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009443/1.372, allocations: 365 kB / 1.341 GB, free: 7.742 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003931/1.372, allocations: 27.8 kB / 1.341 GB, free: 7.727 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001591/1.374, allocations: 148.8 kB / 1.341 GB, free: 7.695 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001828/1.374, allocations: 75.7 kB / 1.341 GB, free: 7.68 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001005/1.374, allocations: 40.05 kB / 1.341 GB, free: 7.672 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001549/1.376, allocations: 0.9016 MB / 1.342 GB, free: 7.32 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.9e-07/1.376, allocations: 0 / 1.342 GB, free: 7.32 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.003046/1.379, allocations: 0.7904 MB / 1.343 GB, free: 7.172 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.001404/1.38, allocations: 477.6 kB / 1.343 GB, free: 6.988 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.005484/1.386, allocations: 2.038 MB / 1.345 GB, free: 6.344 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 8.085e-06/1.386, allocations: 4.875 kB / 1.345 GB, free: 6.34 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001641/1.387, allocations: 0.6255 MB / 1.346 GB, free: 6.176 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003825/1.391, allocations: 0.6893 MB / 1.347 GB, free: 5.988 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005877/1.397, allocations: 3.241 MB / 1.35 GB, free: 4.059 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009007/1.398, allocations: 1.233 MB / 1.351 GB, free: 3.301 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.002023/1.4, allocations: 410.2 kB / 1.351 GB, free: 3.195 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004551/1.4, allocations: 121.1 kB / 1.351 GB, free: 3.176 MB / 1.014 GB Notification: Performance of SimCode: time 6.22e-07/1.4, allocations: 0 / 1.351 GB, free: 3.176 MB / 1.014 GB Notification: Performance of Templates: time 0.05276/1.453, allocations: 29.53 MB / 1.38 GB, free: 14.54 MB / 1.045 GB make -j1 -f Buildings_1.6_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.makefile (rm -f Buildings_1.6_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe >> ../files/Buildings_1.6_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.sim & ./Buildings_1.6_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe 2>&1)