Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 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.CoolingTowerSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_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.001374/0.001374, allocations: 103.5 kB / 16.29 MB, free: 6.031 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.001556/0.001556, allocations: 187.3 kB / 17.22 MB, free: 5.633 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.424/1.424, allocations: 205.1 MB / 223.1 MB, free: 12.3 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.896/1.896, allocations: 292.3 MB / 0.5495 GB, free: 17.69 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.001444/0.001444, allocations: 63.89 kB / 0.6722 GB, free: 6.484 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2489/0.2504, allocations: 114.6 MB / 0.7841 GB, free: 3.812 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed): time 0.004443/0.2548, allocations: 2.93 MB / 0.7869 GB, free: 0.8555 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.4064/0.6613, allocations: 1.434 MB / 0.7883 GB, free: 45.97 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000459/0.6618, allocations: 13.19 kB / 0.7884 GB, free: 45.97 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0004489/0.6623, allocations: 100.9 kB / 0.7885 GB, free: 45.97 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.0003793/0.6627, allocations: 142.3 kB / 0.7886 GB, free: 45.96 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008173/0.6635, allocations: 384.7 kB / 0.789 GB, free: 45.95 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0004222/0.6639, allocations: 0.5347 MB / 0.7895 GB, free: 45.95 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002778/0.6642, allocations: 201.6 kB / 0.7897 GB, free: 45.94 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002248/0.6645, allocations: 205.3 kB / 0.7899 GB, free: 45.9 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001879/0.6647, allocations: 196 kB / 0.7901 GB, free: 45.85 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 6.242e-05/0.6647, allocations: 42.72 kB / 0.7901 GB, free: 45.85 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001931/0.6649, allocations: 105.3 kB / 0.7902 GB, free: 45.85 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001012/0.665, allocations: 110.6 kB / 0.7903 GB, free: 45.83 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001368/0.6652, allocations: 206.1 kB / 0.7905 GB, free: 45.76 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0005151/0.6657, allocations: 0.5935 MB / 0.7911 GB, free: 45.66 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 7.073e-06/0.6657, allocations: 6.594 kB / 0.7911 GB, free: 45.66 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.144e-06/0.6657, allocations: 0 / 0.7911 GB, free: 45.66 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 9.227e-06/0.6658, allocations: 2.625 kB / 0.7911 GB, free: 45.66 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: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.001161/0.6669, allocations: 0.7887 MB / 0.7919 GB, free: 45.1 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.821e-05/0.667, allocations: 11.67 kB / 0.7919 GB, free: 45.1 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001029/0.6671, allocations: 54.22 kB / 0.7919 GB, free: 45.07 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000535/0.6676, allocations: 433 kB / 0.7923 GB, free: 44.82 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.028e-05/0.6677, allocations: 23.38 kB / 0.7924 GB, free: 44.82 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.878e-05/0.6677, allocations: 32.34 kB / 0.7924 GB, free: 44.82 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005102/0.6682, allocations: 324.8 kB / 0.7927 GB, free: 44.72 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.535e-05/0.6683, allocations: 3.438 kB / 0.7927 GB, free: 44.72 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.064e-05/0.6683, allocations: 16.38 kB / 0.7927 GB, free: 44.72 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.115e-06/0.6683, allocations: 3.5 kB / 0.7927 GB, free: 44.72 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004539/0.6688, allocations: 212.3 kB / 0.7929 GB, free: 44.72 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001204/0.67, allocations: 1.093 MB / 0.794 GB, free: 44.16 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005892/0.6706, allocations: 237.4 kB / 0.7942 GB, free: 44.14 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002315/0.6708, allocations: 116 kB / 0.7943 GB, free: 44.13 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 3.739e-05/0.6709, allocations: 6.203 kB / 0.7943 GB, free: 44.13 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003669/0.6713, allocations: 158.2 kB / 0.7945 GB, free: 44.08 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=23): time 2.014e-06/0.6713, allocations: 0 / 0.7945 GB, free: 44.08 MB / 0.6544 GB Notification: Performance of matching and sorting (n=23): time 0.0007305/0.672, allocations: 355.1 kB / 0.7948 GB, free: 44.02 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.98e-05/0.6721, allocations: 108.9 kB / 0.7949 GB, free: 43.89 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004099/0.6725, allocations: 450.8 kB / 0.7954 GB, free: 43.78 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.237e-05/0.6725, allocations: 32.45 kB / 0.7954 GB, free: 43.75 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001262/0.6726, allocations: 234.7 kB / 0.7956 GB, free: 43.63 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 4.896e-05/0.6727, allocations: 73.98 kB / 0.7957 GB, free: 43.59 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.487e-05/0.6728, allocations: 56.02 kB / 0.7957 GB, free: 43.57 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 7.953e-05/0.6729, allocations: 351.7 kB / 0.7961 GB, free: 43.26 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001945/0.6731, allocations: 84.03 kB / 0.7961 GB, free: 43.26 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000232/0.6733, allocations: 163.8 kB / 0.7963 GB, free: 43.19 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000394/0.6737, allocations: 214.2 kB / 0.7965 GB, free: 43.14 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.6737, allocations: 0 / 0.7965 GB, free: 43.14 MB / 0.6544 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005274/0.6743, allocations: 306.9 kB / 0.7968 GB, free: 43.08 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.806e-05/0.6743, allocations: 7.438 kB / 0.7968 GB, free: 43.08 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.6743, allocations: 1.688 kB / 0.7968 GB, free: 43.08 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.79e-05/0.6743, allocations: 3.438 kB / 0.7968 GB, free: 43.08 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002262/0.6746, allocations: 53.44 kB / 0.7969 GB, free: 43.08 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.307e-06/0.6746, allocations: 4.688 kB / 0.7969 GB, free: 43.08 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001652/0.6748, allocations: 31.8 kB / 0.7969 GB, free: 43.07 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.031e-05/0.6748, allocations: 14.16 kB / 0.7969 GB, free: 43.07 MB / 0.6544 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.0001649/0.675, allocations: 177.8 kB / 0.7971 GB, free: 42.95 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.404e-05/0.675, allocations: 47.97 kB / 0.7971 GB, free: 42.93 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.487e-05/0.6751, allocations: 42.02 kB / 0.7972 GB, free: 42.91 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.456e-06/0.6751, allocations: 6.5 kB / 0.7972 GB, free: 42.91 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/0.6751, allocations: 0 / 0.7972 GB, free: 42.91 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.634e-06/0.6751, allocations: 5.016 kB / 0.7972 GB, free: 42.91 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003673/0.6755, allocations: 403.2 kB / 0.7976 GB, free: 42.73 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.6755, allocations: 3.938 kB / 0.7976 GB, free: 42.73 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001932/0.6757, allocations: 43.7 kB / 0.7976 GB, free: 42.72 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.6757, allocations: 0 / 0.7976 GB, free: 42.72 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.276e-05/0.6758, allocations: 9.453 kB / 0.7976 GB, free: 42.72 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.405e-06/0.6758, allocations: 1.031 kB / 0.7976 GB, free: 42.72 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.6758, allocations: 3.656 kB / 0.7976 GB, free: 42.72 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006945/0.6765, allocations: 420 kB / 0.798 GB, free: 42.55 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001043/0.6766, allocations: 150.5 kB / 0.7982 GB, free: 42.41 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.007e-05/0.6767, allocations: 6.844 kB / 0.7982 GB, free: 42.41 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001433/0.6768, allocations: 14.47 kB / 0.7982 GB, free: 42.4 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.107e-05/0.6769, allocations: 19.77 kB / 0.7982 GB, free: 42.4 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.414e-05/0.6769, allocations: 6.328 kB / 0.7982 GB, free: 42.4 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.000282/0.6772, allocations: 319.1 kB / 0.7985 GB, free: 42.25 MB / 0.6544 GB Notification: Performance of sort global known variables: time 7.11e-07/0.6772, allocations: 0 / 0.7985 GB, free: 42.25 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003115/0.6775, allocations: 84.88 kB / 0.7986 GB, free: 42.23 MB / 0.6544 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.001016/0.6785, allocations: 433.5 kB / 0.799 GB, free: 42.11 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0005028/0.6791, allocations: 219.7 kB / 0.7992 GB, free: 42.05 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.6791, allocations: 0 / 0.7992 GB, free: 42.05 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0002268/0.6793, allocations: 121 kB / 0.7993 GB, free: 42.02 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004999/0.6798, allocations: 105.8 kB / 0.7994 GB, free: 41.99 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001134/0.681, allocations: 0.6802 MB / 0.8001 GB, free: 41.59 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002689/0.6812, allocations: 0.8141 MB / 0.8009 GB, free: 40.89 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0001705/0.6814, allocations: 50.27 kB / 0.8009 GB, free: 40.88 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.409e-05/0.6815, allocations: 39.48 kB / 0.801 GB, free: 40.88 MB / 0.6544 GB Notification: Performance of SimCode: time 2.4e-07/0.6815, allocations: 3.938 kB / 0.801 GB, free: 40.87 MB / 0.6544 GB Notification: Performance of Templates: time 0.01258/0.6941, allocations: 4.753 MB / 0.8056 GB, free: 40.61 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.makefile (rm -f Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe ; mkfifo Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe ; head -c 1048576 < Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe >> ../files/Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.sim & ./Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe 2>&1)