Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.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 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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.CoolingTowerSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed") translateModel(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007586/0.007586, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.002662/0.002662, allocations: 194.7 kB / 16.67 MB, free: 5.52 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.524/1.524, allocations: 205.1 MB / 222.5 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.393/1.393, allocations: 251.7 MB / 0.5094 GB, free: 416 kB / 430.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.002501/0.002501, allocations: 63.91 kB / 0.7258 GB, free: 4.68 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6966/0.6991, allocations: 104.7 MB / 0.828 GB, free: 2.598 MB / 0.6231 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed): time 0.004995/0.7042, allocations: 2.998 MB / 0.831 GB, free: 15.58 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.002661/0.7068, allocations: 1.439 MB / 0.8324 GB, free: 14.13 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003179/0.7072, allocations: 11.94 kB / 0.8324 GB, free: 14.12 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0005024/0.7077, allocations: 111.1 kB / 0.8325 GB, free: 14.01 MB / 0.6387 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.0004167/0.7081, allocations: 154.9 kB / 0.8326 GB, free: 13.86 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009126/0.7091, allocations: 382.7 kB / 0.833 GB, free: 13.49 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0005731/0.7097, allocations: 0.5421 MB / 0.8335 GB, free: 12.95 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003396/0.71, allocations: 204.6 kB / 0.8337 GB, free: 12.75 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003115/0.7103, allocations: 215.1 kB / 0.8339 GB, free: 12.54 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002823/0.7106, allocations: 206.9 kB / 0.8341 GB, free: 12.34 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 6.928e-05/0.7107, allocations: 40 kB / 0.8342 GB, free: 12.3 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001998/0.7109, allocations: 95.95 kB / 0.8342 GB, free: 12.2 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0001444/0.7111, allocations: 103.6 kB / 0.8343 GB, free: 12.1 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0002076/0.7113, allocations: 222.7 kB / 0.8346 GB, free: 11.88 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0007844/0.7121, allocations: 0.6017 MB / 0.8351 GB, free: 11.28 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 6.622e-06/0.7121, allocations: 4 kB / 0.8351 GB, free: 11.28 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.523e-06/0.7121, allocations: 0 / 0.8351 GB, free: 11.28 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.028e-05/0.7121, allocations: 4 kB / 0.8352 GB, free: 11.27 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.001349/0.7135, allocations: 0.7959 MB / 0.8359 GB, free: 10.42 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.495e-05/0.7135, allocations: 8.031 kB / 0.8359 GB, free: 10.41 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001166/0.7136, allocations: 60.28 kB / 0.836 GB, free: 10.36 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007487/0.7144, allocations: 458.3 kB / 0.8364 GB, free: 9.867 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.062e-05/0.7144, allocations: 16.94 kB / 0.8364 GB, free: 9.848 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.486e-05/0.7145, allocations: 31.94 kB / 0.8365 GB, free: 9.816 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006468/0.7151, allocations: 331.9 kB / 0.8368 GB, free: 9.469 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.414e-05/0.7152, allocations: 0 / 0.8368 GB, free: 9.469 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.551e-05/0.7152, allocations: 12 kB / 0.8368 GB, free: 9.457 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.215e-05/0.7152, allocations: 8 kB / 0.8368 GB, free: 9.449 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004992/0.7157, allocations: 210.1 kB / 0.837 GB, free: 9.246 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001372/0.7171, allocations: 1.1 MB / 0.8381 GB, free: 8.078 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005944/0.7177, allocations: 238.9 kB / 0.8383 GB, free: 7.836 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002382/0.718, allocations: 108.8 kB / 0.8384 GB, free: 7.727 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 3.319e-05/0.718, allocations: 4 kB / 0.8384 GB, free: 7.723 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003262/0.7183, allocations: 155.3 kB / 0.8386 GB, free: 7.559 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=23): time 2.083e-06/0.7183, allocations: 0 / 0.8386 GB, free: 7.559 MB / 0.6387 GB Notification: Performance of matching and sorting (n=23): time 0.0008109/0.7192, allocations: 352.7 kB / 0.8389 GB, free: 7.207 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.086e-05/0.7192, allocations: 106.8 kB / 0.839 GB, free: 7.078 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005694/0.7198, allocations: 469.8 kB / 0.8395 GB, free: 6.609 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 4.521e-05/0.7199, allocations: 29.7 kB / 0.8395 GB, free: 6.574 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002358/0.7201, allocations: 244.4 kB / 0.8397 GB, free: 6.332 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 7.061e-05/0.7202, allocations: 74.94 kB / 0.8398 GB, free: 6.258 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001095/0.7203, allocations: 53.69 kB / 0.8398 GB, free: 6.199 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0002268/0.7206, allocations: 354.8 kB / 0.8402 GB, free: 5.844 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002128/0.7208, allocations: 79.95 kB / 0.8403 GB, free: 5.766 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003041/0.7211, allocations: 169.4 kB / 0.8404 GB, free: 5.574 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004568/0.7216, allocations: 219.7 kB / 0.8406 GB, free: 5.344 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.791e-06/0.7216, allocations: 4 kB / 0.8406 GB, free: 5.34 MB / 0.6387 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006059/0.7222, allocations: 308.8 kB / 0.8409 GB, free: 5.031 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.274e-05/0.7222, allocations: 4 kB / 0.8409 GB, free: 5.027 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.417e-06/0.7222, allocations: 4 kB / 0.8409 GB, free: 5.023 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.095e-05/0.7223, allocations: 0 / 0.8409 GB, free: 5.023 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002416/0.7225, allocations: 51.91 kB / 0.841 GB, free: 4.973 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.009e-05/0.7225, allocations: 4 kB / 0.841 GB, free: 4.969 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002068/0.7227, allocations: 31.67 kB / 0.841 GB, free: 4.938 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.491e-05/0.7228, allocations: 12 kB / 0.841 GB, free: 4.926 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.cooMod.combiTimeTable.nextTimeEvent,$whenCondition1,cooMod.combiTimeTable.nextTimeEventScaled,$PRE.cooMod.combiTimeTable.nextTimeEventScaled,cooMod.combiTimeTable.nextTimeEvent,cooMod.y,cooTowSpeCon.fmcMod.y,cooTowSpeCon.pmcMod.y,cooTowSpeCon.conPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * 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.0002163/0.723, allocations: 181.9 kB / 0.8412 GB, free: 4.738 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.551e-05/0.7231, allocations: 43.47 kB / 0.8412 GB, free: 4.695 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001052/0.7232, allocations: 47.91 kB / 0.8413 GB, free: 4.648 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.5e-06/0.7232, allocations: 4 kB / 0.8413 GB, free: 4.645 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.007e-06/0.7232, allocations: 0 / 0.8413 GB, free: 4.645 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/0.7232, allocations: 0 / 0.8413 GB, free: 4.645 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004936/0.7237, allocations: 417.2 kB / 0.8417 GB, free: 4.188 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.963e-06/0.7237, allocations: 11.92 kB / 0.8417 GB, free: 4.176 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002046/0.724, allocations: 35.92 kB / 0.8417 GB, free: 4.141 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.387e-06/0.724, allocations: 4 kB / 0.8417 GB, free: 4.137 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.356e-05/0.724, allocations: 7.984 kB / 0.8417 GB, free: 4.129 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.357e-06/0.724, allocations: 4 kB / 0.8418 GB, free: 4.125 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.724, allocations: 0 / 0.8418 GB, free: 4.125 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008609/0.7249, allocations: 416.8 kB / 0.8421 GB, free: 3.703 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001776/0.7251, allocations: 148.5 kB / 0.8423 GB, free: 3.539 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.962e-05/0.7251, allocations: 8 kB / 0.8423 GB, free: 3.531 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001441/0.7253, allocations: 7.984 kB / 0.8423 GB, free: 3.523 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.348e-05/0.7254, allocations: 27.91 kB / 0.8423 GB, free: 3.496 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.982e-05/0.7254, allocations: 8 kB / 0.8423 GB, free: 3.488 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0003567/0.7258, allocations: 323.1 kB / 0.8426 GB, free: 3.176 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.803e-06/0.7258, allocations: 0 / 0.8426 GB, free: 3.176 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0004532/0.7262, allocations: 87.72 kB / 0.8427 GB, free: 3.09 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (cooTowSpeCon.conPID.I.y) * Number of discrete variables: 6 ($whenCondition1,cooTowSpeCon.pmcMod.y,cooTowSpeCon.fmcMod.y,cooMod.y,cooMod.combiTimeTable.nextTimeEvent,cooMod.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (cooMod.combiTimeTable.nextTimeEventScaled,cooMod.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001011/0.7272, allocations: 439.2 kB / 0.8432 GB, free: 2.812 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0006438/0.7279, allocations: 223.6 kB / 0.8434 GB, free: 2.594 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.7279, allocations: 0 / 0.8434 GB, free: 2.594 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0002598/0.7282, allocations: 112.2 kB / 0.8435 GB, free: 2.484 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005589/0.7288, allocations: 126 kB / 0.8436 GB, free: 2.367 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00153/0.7303, allocations: 0.6794 MB / 0.8443 GB, free: 1.664 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006228/0.7309, allocations: 0.8303 MB / 0.8451 GB, free: 0.8086 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0002558/0.7312, allocations: 47.27 kB / 0.8451 GB, free: 0.7617 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001/0.7313, allocations: 35.42 kB / 0.8451 GB, free: 0.7266 MB / 0.6387 GB Notification: Performance of SimCode: time 2.5e-07/0.7313, allocations: 0 / 0.8451 GB, free: 0.7266 MB / 0.6387 GB Notification: Performance of Templates: time 0.01291/0.7442, allocations: 5.016 MB / 0.85 GB, free: 11.82 MB / 0.6544 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.makefile (rm -f Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.sim & ./Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe 2>&1)