Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.WaterCooled.Examples.VariableSpeed.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.DXCoils.WaterCooled.Examples.VariableSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.WaterCooled.Examples.VariableSpeed") translateModel(Buildings.Fluid.HeatExchangers.DXCoils.WaterCooled.Examples.VariableSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.WaterCooled.Examples.VariableSpeed") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.344/1.344, allocations: 251.5 MB / 267.4 MB, free: 10.87 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.0009225/0.0009227, allocations: 176.1 kB / 326.5 MB, free: 2.656 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.5/1.5, allocations: 205 MB / 0.5767 GB, free: 20.89 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.0007388/0.0007388, allocations: 86.95 kB / 0.6804 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003299/0.00033, allocations: 7.219 kB / 0.7938 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1672/0.1676, allocations: 105.4 MB / 0.8968 GB, free: 68.18 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.WaterCooled.Examples.VariableSpeed): time 0.6357/0.8033, allocations: 301.1 MB / 1.191 GB, free: 5.91 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.03361/0.8369, allocations: 28.54 MB / 1.219 GB, free: 14.55 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003657/0.8406, allocations: 71.56 kB / 1.219 GB, free: 14.48 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.004099/0.8447, allocations: 1.442 MB / 1.22 GB, free: 13.03 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.01133/0.8561, allocations: 3.391 MB / 1.223 GB, free: 9.629 MB / 0.7448 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/Fluid/HeatExchangers/DXCoils/BaseClasses/Functions/warnIfPerformanceOutOfBounds.mo:2:1-41:33:writable] Warning: Pure function ‘Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Functions.warnIfPerformanceOutOfBounds‘ contains a call to impure function ‘Modelica.Utilities.Streams.print‘. Notification: Performance of NFTyping.typeClassSections: time 0.01005/0.8662, allocations: 3.749 MB / 1.227 GB, free: 5.922 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.01005/0.8762, allocations: 7.903 MB / 1.235 GB, free: 14 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003644/0.8799, allocations: 2.247 MB / 1.237 GB, free: 11.69 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006179/0.8861, allocations: 2.236 MB / 1.239 GB, free: 9.449 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003817/0.8899, allocations: 2.023 MB / 1.241 GB, free: 7.422 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 0.0006592/0.8906, allocations: 172 kB / 1.241 GB, free: 7.254 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008402/0.899, allocations: 4.509 MB / 1.246 GB, free: 2.734 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.001384/0.9004, allocations: 1.005 MB / 1.247 GB, free: 1.727 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.002418/0.9029, allocations: 1.854 MB / 1.249 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.01423/0.9171, allocations: 9.623 MB / 1.258 GB, free: 6.211 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.9171, allocations: 0 / 1.258 GB, free: 6.211 MB / 0.7761 GB Notification: Performance of FrontEnd: time 2.715e-06/0.9172, allocations: 0 / 1.258 GB, free: 6.211 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 0.0001783/0.9173, allocations: 0 / 1.258 GB, free: 6.211 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 398 * Number of variables: 398 Notification: Performance of Generate backend data structure: time 0.009571/0.9269, allocations: 4.056 MB / 1.262 GB, free: 2.031 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.88e-05/0.927, allocations: 8.031 kB / 1.262 GB, free: 2.023 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02363/0.9506, allocations: 3.23 MB / 1.265 GB, free: 14.79 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007773/0.9584, allocations: 3.766 MB / 1.269 GB, free: 10.96 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009943/0.9595, allocations: 481.5 kB / 1.269 GB, free: 10.45 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005941/0.9601, allocations: 172 kB / 1.269 GB, free: 10.28 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0119/0.972, allocations: 4.347 MB / 1.274 GB, free: 5.879 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.529e-05/0.9721, allocations: 3.938 kB / 1.274 GB, free: 5.875 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002524/0.9723, allocations: 60 kB / 1.274 GB, free: 5.816 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.815e-05/0.9724, allocations: 63.02 kB / 1.274 GB, free: 5.754 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01784/0.9902, allocations: 5.805 MB / 1.279 GB, free: 15.94 MB / 0.8073 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.02842/1.019, allocations: 15.99 MB / 1.295 GB, free: 15.61 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02076/1.039, allocations: 5.536 MB / 1.3 GB, free: 10.04 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008331/1.048, allocations: 2.678 MB / 1.303 GB, free: 7.359 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003651/1.052, allocations: 4.311 MB / 1.307 GB, free: 2.09 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00938/1.061, allocations: 3.123 MB / 1.31 GB, free: 14.95 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=126): time 5.73e-06/1.061, allocations: 0 / 1.31 GB, free: 14.95 MB / 0.8386 GB Notification: Performance of matching and sorting (n=126): time 0.05378/1.115, allocations: 10.7 MB / 1.321 GB, free: 4.16 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001007/1.115, allocations: 123.8 kB / 1.321 GB, free: 4.016 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009038/1.124, allocations: 4.674 MB / 1.325 GB, free: 15.34 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0006673/1.125, allocations: 69.69 kB / 1.325 GB, free: 15.27 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.001607/1.126, allocations: 1.37 MB / 1.327 GB, free: 13.89 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007226/1.127, allocations: 402.2 kB / 1.327 GB, free: 13.49 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005824/1.128, allocations: 133.6 kB / 1.327 GB, free: 13.36 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001504/1.128, allocations: 361.9 kB / 1.328 GB, free: 13 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009005/1.137, allocations: 3.03 MB / 1.331 GB, free: 9.961 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009473/1.146, allocations: 3.34 MB / 1.334 GB, free: 6.547 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1739/1.32, allocations: 54.82 MB / 1.387 GB, free: 15.54 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.038e-05/1.32, allocations: 0 / 1.387 GB, free: 15.54 MB / 0.9167 GB Notification: Performance of matching and sorting (n=175) (initialization): time 0.03952/1.36, allocations: 8.735 MB / 1.396 GB, free: 6.75 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002607/1.36, allocations: 347.4 kB / 1.396 GB, free: 6.336 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.304e-05/1.36, allocations: 7.984 kB / 1.396 GB, free: 6.328 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003828/1.364, allocations: 1.042 MB / 1.397 GB, free: 5.27 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004394/1.368, allocations: 0.7216 MB / 1.398 GB, free: 4.547 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.361/1.729, allocations: 7.396 MB / 1.405 GB, free: 361.1 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006321/1.736, allocations: 0.7411 MB / 1.406 GB, free: 361.1 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000371/1.736, allocations: 106.3 kB / 1.406 GB, free: 361.1 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 7.334e-06/1.736, allocations: 2.594 kB / 1.406 GB, free: 361.1 MB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03721/1.773, allocations: 8.458 MB / 1.414 GB, free: 360.9 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.285e-05/1.773, allocations: 8.016 kB / 1.414 GB, free: 360.9 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003497/1.777, allocations: 0.9473 MB / 1.415 GB, free: 360.9 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00462/1.782, allocations: 0.7202 MB / 1.416 GB, free: 360.9 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009788/1.791, allocations: 6.927 MB / 1.423 GB, free: 356 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006172/1.798, allocations: 0.7072 MB / 1.423 GB, free: 356 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006786/1.798, allocations: 107.6 kB / 1.424 GB, free: 356 MB / 0.9167 GB Warning: Assuming fixed start value for the following 1 variables: varSpeDX.eva.eva.off:DISCRETE(fixed = true protected = true final = true ) "Signal, true when component is off" type: Boolean Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 28 (varSpeDX.eva.i_x,$PRE.varSpeDX.eva.deaBan.y,$PRE.varSpeDX.eva.eva.off,$PRE.varSpeDX.eva.dxCoo.dryCoi.cooCap.checkBoundsTCon[1],$PRE.varSpeDX.eva.dxCoo.dryCoi.cooCap.checkBoundsTEva[1],$PRE.varSpeDX.eva.dxCoo.wetCoi.cooCap.checkBoundsTCon[1],$PRE.varSpeDX.eva.dxCoo.wetCoi.cooCap.checkBoundsTEva[1],speRat.nextEventScaled,speRat.nextEvent,$PRE.speRat.nextEvent,speRat.last,speRat.b,speRat.a,varSpeDX.eva.deaBan.y,varSpeDX.eva.eva.off,varSpeDX.eva.dxCoo.dryCoi.cooCap.checkBoundsTCon[1],varSpeDX.eva.dxCoo.dryCoi.cooCap.checkBoundsTEva[1],varSpeDX.eva.dxCoo.dryCoi.cooCap.stage,varSpeDX.eva.dxCoo.wetCoi.shr.on,varSpeDX.eva.dxCoo.wetCoi.cooCap.checkBoundsTCon[1],varSpeDX.eva.dxCoo.wetCoi.cooCap.checkBoundsTEva[1],varSpeDX.eva.dxCoo.wetCoi.cooCap.stage,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (151): * Single equations (assignments): 142 * Array equations: 0 * Algorithm blocks: 4 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 5 systems {(8,3), (1,1), (1,2), (1,2), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.003015/1.801, allocations: 1.314 MB / 1.425 GB, free: 355.4 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001414/1.803, allocations: 313.5 kB / 1.425 GB, free: 355.4 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03708/1.84, allocations: 7.606 MB / 1.433 GB, free: 353.3 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.745e-05/1.84, allocations: 10.92 kB / 1.433 GB, free: 353.3 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.821e-06/1.84, allocations: 0 / 1.433 GB, free: 353.3 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002649/1.843, allocations: 1.1 MB / 1.434 GB, free: 352.7 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001297/1.844, allocations: 47.66 kB / 1.434 GB, free: 352.7 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005394/1.849, allocations: 0.6007 MB / 1.434 GB, free: 352.6 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000514/1.85, allocations: 136 kB / 1.434 GB, free: 352.6 MB / 0.9167 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02275/1.873, allocations: 6.342 MB / 1.441 GB, free: 349.5 MB / 0.9167 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.02467/1.897, allocations: 9.068 MB / 1.449 GB, free: 343.2 MB / 0.9167 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.007424/1.905, allocations: 2.733 MB / 1.452 GB, free: 340.4 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.005603/1.91, allocations: 3.316 MB / 1.455 GB, free: 337.1 MB / 0.9167 GB Notification: Performance of Backend: time 6.71e-07/1.91, allocations: 0 / 1.455 GB, free: 337.1 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.03095/1.941, allocations: 9.657 MB / 1.465 GB, free: 327.6 MB / 0.9167 GB Notification: Performance of SimCode: time 0.01298/1.954, allocations: 8.183 MB / 1.473 GB, free: 319.4 MB / 0.9167 GB Notification: Performance of Templates: time 0.1311/2.086, allocations: 111.7 MB / 1.582 GB, free: 207.9 MB / 0.9167 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.WaterCooled.Examples.VariableSpeed.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.WaterCooled.Examples.VariableSpeed.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.WaterCooled.Examples.VariableSpeed.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.WaterCooled.Examples.VariableSpeed.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.WaterCooled.Examples.VariableSpeed.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.WaterCooled.Examples.VariableSpeed -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.WaterCooled.Examples.VariableSpeed.pipe 2>&1)