Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.VariableSpeedPumpStage.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.Applications.DataCenters.ChillerCooled.Controls.Validation.VariableSpeedPumpStage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.VariableSpeedPumpStage") translateModel(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.VariableSpeedPumpStage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.VariableSpeedPumpStage") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001397/0.001397, allocations: 115.2 kB / 16.38 MB, free: 5.992 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.001377/0.001377, allocations: 185.6 kB / 17.31 MB, free: 5.609 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.48/1.48, allocations: 205.1 MB / 223.2 MB, free: 12.25 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.894/1.894, allocations: 292.3 MB / 0.5496 GB, free: 17.53 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.001455/0.001455, allocations: 63.89 kB / 0.6729 GB, free: 5.844 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2748/0.2762, allocations: 114.6 MB / 0.7848 GB, free: 3.172 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.VariableSpeedPumpStage): time 0.004828/0.2811, allocations: 2.405 MB / 0.7872 GB, free: 0.75 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.5216/0.8027, allocations: 1.187 MB / 0.7883 GB, free: 46.51 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004222/0.8032, allocations: 6.375 kB / 0.7883 GB, free: 46.51 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.000379/0.8037, allocations: 113.3 kB / 0.7884 GB, free: 46.51 MB / 0.6544 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.0003585/0.804, allocations: 106.5 kB / 0.7885 GB, free: 46.51 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007457/0.8048, allocations: 317.6 kB / 0.7888 GB, free: 46.51 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0006952/0.8055, allocations: 0.7178 MB / 0.7895 GB, free: 46.5 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005237/0.806, allocations: 457.7 kB / 0.79 GB, free: 46.48 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002686/0.8063, allocations: 255 kB / 0.7902 GB, free: 46.44 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002644/0.8066, allocations: 279.4 kB / 0.7905 GB, free: 46.39 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 7.435e-05/0.8067, allocations: 69.16 kB / 0.7905 GB, free: 46.39 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001459/0.8068, allocations: 106 kB / 0.7906 GB, free: 46.39 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001324/0.807, allocations: 157 kB / 0.7908 GB, free: 46.37 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001756/0.8071, allocations: 271.6 kB / 0.7911 GB, free: 46.29 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0006142/0.8078, allocations: 0.7883 MB / 0.7918 GB, free: 46.2 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.471e-06/0.8078, allocations: 0 / 0.7918 GB, free: 46.2 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.883e-06/0.8078, allocations: 0 / 0.7918 GB, free: 46.2 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 9.748e-06/0.8078, allocations: 1.969 kB / 0.7918 GB, free: 46.2 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 115 * Number of variables: 115 Notification: Performance of Generate backend data structure: time 0.001258/0.8091, allocations: 0.8384 MB / 0.7926 GB, free: 45.65 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.177e-05/0.8091, allocations: 11.31 kB / 0.7927 GB, free: 45.65 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001178/0.8092, allocations: 55.91 kB / 0.7927 GB, free: 45.62 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004198/0.8097, allocations: 391.7 kB / 0.7931 GB, free: 45.38 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.07e-05/0.8097, allocations: 47.59 kB / 0.7931 GB, free: 45.38 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.471e-05/0.8098, allocations: 51.75 kB / 0.7932 GB, free: 45.38 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008376/0.8106, allocations: 0.5158 MB / 0.7937 GB, free: 45.32 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.295e-05/0.8107, allocations: 2.625 kB / 0.7937 GB, free: 45.32 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.339e-05/0.8107, allocations: 17.66 kB / 0.7937 GB, free: 45.32 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.118e-05/0.8107, allocations: 15.56 kB / 0.7937 GB, free: 45.32 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008705/0.8116, allocations: 443.7 kB / 0.7941 GB, free: 45.31 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001883/0.8135, allocations: 1.402 MB / 0.7955 GB, free: 44.89 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008797/0.8144, allocations: 473.4 kB / 0.796 GB, free: 44.8 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003757/0.8148, allocations: 227.8 kB / 0.7962 GB, free: 44.72 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 4.285e-05/0.8148, allocations: 4.594 kB / 0.7962 GB, free: 44.72 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000528/0.8154, allocations: 287.7 kB / 0.7965 GB, free: 44.6 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=58): time 2.124e-06/0.8154, allocations: 0 / 0.7965 GB, free: 44.6 MB / 0.6544 GB Notification: Performance of matching and sorting (n=58): time 0.001225/0.8166, allocations: 0.6007 MB / 0.797 GB, free: 44.38 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.314e-05/0.8166, allocations: 64.11 kB / 0.7971 GB, free: 44.31 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003113/0.817, allocations: 355.6 kB / 0.7974 GB, free: 44.12 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 4.982e-05/0.817, allocations: 50.92 kB / 0.7975 GB, free: 44.07 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001282/0.8172, allocations: 210.7 kB / 0.7977 GB, free: 43.91 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 9.748e-05/0.8173, allocations: 150 kB / 0.7978 GB, free: 43.8 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001784/0.8174, allocations: 147.3 kB / 0.798 GB, free: 43.73 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 8.854e-05/0.8175, allocations: 352.6 kB / 0.7983 GB, free: 43.4 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003727/0.8179, allocations: 187.9 kB / 0.7985 GB, free: 43.34 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004163/0.8183, allocations: 269.6 kB / 0.7987 GB, free: 43.2 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006821/0.819, allocations: 421 kB / 0.7992 GB, free: 42.96 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.819, allocations: 0 / 0.7992 GB, free: 42.96 MB / 0.6544 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001115/0.8202, allocations: 0.5649 MB / 0.7997 GB, free: 42.72 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 6.826e-05/0.8203, allocations: 33.8 kB / 0.7997 GB, free: 42.69 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.231e-05/0.8203, allocations: 2.062 kB / 0.7997 GB, free: 42.69 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.93e-05/0.8203, allocations: 4.969 kB / 0.7997 GB, free: 42.69 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003718/0.8207, allocations: 75.94 kB / 0.7998 GB, free: 42.69 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.805e-05/0.8207, allocations: 8.094 kB / 0.7998 GB, free: 42.69 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000387/0.8211, allocations: 78.02 kB / 0.7999 GB, free: 42.65 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.131e-05/0.8212, allocations: 26.3 kB / 0.7999 GB, free: 42.64 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 62 ($PRE.varSpePumSta.con1.enableFire,$PRE.varSpePumSta.con2.enableFire,$PRE.varSpePumSta.con3.enableFire,$PRE.varSpePumSta.con4.enableFire,speSig.count,$PRE.speSig.count,speSig.T_start,$PRE.speSig.T_start,varSpePumSta.addInt.y,varSpePumSta.booToInt1.y,varSpePumSta.booToInt.y,varSpePumSta.stateGraphRoot.activeSteps,varSpePumSta.con4.t_start,$PRE.varSpePumSta.con4.t_start,varSpePumSta.con4.fire,varSpePumSta.con4.enableFire,varSpePumSta.con4.localCondition,varSpePumSta.con3.t_start,$PRE.varSpePumSta.con3.t_start,varSpePumSta.con3.fire,varSpePumSta.con3.enableFire,varSpePumSta.con3.localCondition,varSpePumSta.con2.t_start,$PRE.varSpePumSta.con2.t_start,varSpePumSta.con2.fire,varSpePumSta.con2.enableFire,varSpePumSta.con2.localCondition,varSpePumSta.twoOn.active,varSpePumSta.twoOn.oldActive,$PRE.varSpePumSta.twoOn.oldActive,varSpePumSta.twoOn.newActive,$PRE.varSpePumSta.twoOn.newActive,varSpePumSta.twoOn.localActive,$PRE.varSpePumSta.twoOn.localActive,varSpePumSta.off.oldActive,$PRE.varSpePumSta.off.oldActive,varSpePumSta.off.newActive,$PRE.varSpePumSta.off.newActive,varSpePumSta.off.localActive,$PRE.varSpePumSta.off.localActive,varSpePumSta.off.active,varSpePumSta.oneOn.active,varSpePumSta.oneOn.oldActive,$PRE.varSpePumSta.oneOn.oldActive,varSpePumSta.oneOn.newActive,$PRE.varSpePumSta.oneOn.newActive,varSpePumSta.oneOn.outPort[2].available,varSpePumSta.oneOn.inPort[2].occupied,varSpePumSta.oneOn.localActive,$PRE.varSpePumSta.oneOn.localActive,varSpePumSta.con1.t_start,$PRE.varSpePumSta.con1.t_start,varSpePumSta.con1.fire,varSpePumSta.con1.enableFire,varSpePumSta.con1.localCondition,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,varSpePumSta.stateGraphRoot.resume,varSpePumSta.stateGraphRoot.suspend) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (80): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002827/0.8215, allocations: 243.7 kB / 0.8002 GB, free: 42.46 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.999e-05/0.8216, allocations: 39.42 kB / 0.8002 GB, free: 42.45 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001135/0.8227, allocations: 0.522 MB / 0.8007 GB, free: 42.23 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.748e-06/0.8227, allocations: 3.312 kB / 0.8007 GB, free: 42.23 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.983e-06/0.8227, allocations: 0 / 0.8007 GB, free: 42.23 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 5.772e-05/0.8228, allocations: 117.3 kB / 0.8008 GB, free: 42.11 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.027e-05/0.8229, allocations: 14.08 kB / 0.8008 GB, free: 42.11 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003088/0.8232, allocations: 45.39 kB / 0.8009 GB, free: 42.1 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001966/0.8234, allocations: 85.84 kB / 0.801 GB, free: 42.07 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001196/0.8246, allocations: 0.5906 MB / 0.8015 GB, free: 41.82 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001008/0.8256, allocations: 0.6567 MB / 0.8022 GB, free: 41.46 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004656/0.8261, allocations: 255.4 kB / 0.8024 GB, free: 41.36 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0002326/0.8263, allocations: 223.3 kB / 0.8026 GB, free: 41.24 MB / 0.6544 GB Notification: Performance of Backend: time 3.71e-07/0.8263, allocations: 0 / 0.8026 GB, free: 41.24 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.002021/0.8284, allocations: 0.7762 MB / 0.8034 GB, free: 41 MB / 0.6544 GB Notification: Performance of SimCode: time 0.001428/0.8298, allocations: 1.159 MB / 0.8045 GB, free: 40.12 MB / 0.6544 GB Notification: Performance of Templates: time 0.01585/0.8457, allocations: 6.702 MB / 0.8111 GB, free: 39.8 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.VariableSpeedPumpStage.makefile (rm -f Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.VariableSpeedPumpStage.pipe ; mkfifo Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.VariableSpeedPumpStage.pipe ; head -c 1048576 < Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.VariableSpeedPumpStage.pipe >> ../files/Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.VariableSpeedPumpStage.sim & ./Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.VariableSpeedPumpStage -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.VariableSpeedPumpStage.pipe 2>&1)