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.001481/0.001481, allocations: 103.1 kB / 16.27 MB, free: 5.977 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.001648/0.001648, allocations: 189.9 kB / 17.2 MB, free: 5.602 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.413/1.413, allocations: 205.1 MB / 223.1 MB, free: 12.29 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.759/1.759, allocations: 292.3 MB / 0.5495 GB, free: 17.59 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.002331/0.002332, allocations: 70.41 kB / 0.6722 GB, free: 6.531 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2607/0.263, allocations: 114.6 MB / 0.784 GB, free: 3.863 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed): time 0.004861/0.2679, allocations: 2.935 MB / 0.7869 GB, free: 0.8984 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.4527/0.7207, allocations: 1.436 MB / 0.7883 GB, free: 45.88 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005498/0.7213, allocations: 13.62 kB / 0.7883 GB, free: 45.88 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0004578/0.7217, allocations: 100.4 kB / 0.7884 GB, free: 45.88 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.0004337/0.7222, allocations: 137 kB / 0.7885 GB, free: 45.88 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009103/0.7232, allocations: 392.7 kB / 0.7889 GB, free: 45.86 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.000476/0.7236, allocations: 0.5263 MB / 0.7894 GB, free: 45.86 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003165/0.724, allocations: 202 kB / 0.7896 GB, free: 45.85 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002317/0.7242, allocations: 205 kB / 0.7898 GB, free: 45.81 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002031/0.7244, allocations: 196.7 kB / 0.79 GB, free: 45.76 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 5.264e-05/0.7245, allocations: 42 kB / 0.79 GB, free: 45.76 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001853/0.7247, allocations: 96.81 kB / 0.7901 GB, free: 45.76 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001241/0.7248, allocations: 107.5 kB / 0.7902 GB, free: 45.74 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001579/0.725, allocations: 210 kB / 0.7904 GB, free: 45.67 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0005551/0.7255, allocations: 0.5857 MB / 0.791 GB, free: 45.58 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.369e-06/0.7255, allocations: 1.594 kB / 0.791 GB, free: 45.58 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.233e-06/0.7256, allocations: 0 / 0.791 GB, free: 45.58 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 8.626e-06/0.7256, allocations: 0 / 0.791 GB, free: 45.58 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.001106/0.7267, allocations: 0.7889 MB / 0.7918 GB, free: 45.02 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.04e-05/0.7267, allocations: 13.39 kB / 0.7918 GB, free: 45.02 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.392e-05/0.7268, allocations: 55.28 kB / 0.7919 GB, free: 44.99 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005034/0.7273, allocations: 429.2 kB / 0.7923 GB, free: 44.74 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.926e-05/0.7274, allocations: 27.59 kB / 0.7923 GB, free: 44.74 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.678e-05/0.7274, allocations: 30.09 kB / 0.7923 GB, free: 44.73 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000505/0.7279, allocations: 325.5 kB / 0.7926 GB, free: 44.64 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.234e-05/0.728, allocations: 3 kB / 0.7926 GB, free: 44.64 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.927e-05/0.728, allocations: 10.38 kB / 0.7926 GB, free: 44.64 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.987e-06/0.728, allocations: 6.219 kB / 0.7926 GB, free: 44.64 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004441/0.7285, allocations: 215.5 kB / 0.7929 GB, free: 44.64 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001167/0.7296, allocations: 1.106 MB / 0.7939 GB, free: 44.08 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005647/0.7302, allocations: 235.5 kB / 0.7942 GB, free: 44.05 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002096/0.7304, allocations: 115.2 kB / 0.7943 GB, free: 44.04 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.752e-05/0.7305, allocations: 8.188 kB / 0.7943 GB, free: 44.04 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003921/0.7309, allocations: 153.5 kB / 0.7944 GB, free: 44 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=23): time 1.603e-06/0.7309, allocations: 0.5938 kB / 0.7944 GB, free: 44 MB / 0.6544 GB Notification: Performance of matching and sorting (n=23): time 0.0007582/0.7317, allocations: 357.5 kB / 0.7948 GB, free: 43.93 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.778e-05/0.7317, allocations: 108.3 kB / 0.7949 GB, free: 43.81 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000474/0.7322, allocations: 452 kB / 0.7953 GB, free: 43.69 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.371e-05/0.7322, allocations: 31.92 kB / 0.7953 GB, free: 43.66 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001394/0.7324, allocations: 234.4 kB / 0.7956 GB, free: 43.55 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 5.121e-05/0.7324, allocations: 75.73 kB / 0.7956 GB, free: 43.5 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.41e-05/0.7325, allocations: 54.41 kB / 0.7957 GB, free: 43.49 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 7.773e-05/0.7326, allocations: 358.7 kB / 0.796 GB, free: 43.18 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001987/0.7328, allocations: 82.27 kB / 0.7961 GB, free: 43.18 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002295/0.7331, allocations: 156.1 kB / 0.7962 GB, free: 43.11 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000389/0.7335, allocations: 222.1 kB / 0.7965 GB, free: 43.06 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.776e-06/0.7335, allocations: 0 / 0.7965 GB, free: 43.06 MB / 0.6544 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005172/0.734, allocations: 296.4 kB / 0.7967 GB, free: 43 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.242e-05/0.734, allocations: 5.062 kB / 0.7967 GB, free: 43 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.734, allocations: 3.469 kB / 0.7967 GB, free: 43 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.803e-05/0.7341, allocations: 4 kB / 0.7968 GB, free: 43 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002436/0.7343, allocations: 58.89 kB / 0.7968 GB, free: 43 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.241e-05/0.7343, allocations: 3.5 kB / 0.7968 GB, free: 43 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001757/0.7345, allocations: 32.5 kB / 0.7968 GB, free: 42.98 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.062e-05/0.7345, allocations: 10.78 kB / 0.7969 GB, free: 42.98 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.0001824/0.7347, allocations: 178.4 kB / 0.797 GB, free: 42.87 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.337e-05/0.7348, allocations: 44.59 kB / 0.7971 GB, free: 42.84 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.163e-05/0.7349, allocations: 46.23 kB / 0.7971 GB, free: 42.83 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.257e-06/0.7349, allocations: 3.438 kB / 0.7971 GB, free: 42.83 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.035e-06/0.7349, allocations: 0 / 0.7971 GB, free: 42.83 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.693e-06/0.7349, allocations: 3.281 kB / 0.7971 GB, free: 42.83 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003354/0.7353, allocations: 414.9 kB / 0.7975 GB, free: 42.63 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.7353, allocations: 0 / 0.7975 GB, free: 42.63 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001981/0.7355, allocations: 42.22 kB / 0.7976 GB, free: 42.63 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.7355, allocations: 1.406 kB / 0.7976 GB, free: 42.63 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.125e-05/0.7355, allocations: 7.094 kB / 0.7976 GB, free: 42.63 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.026e-06/0.7355, allocations: 1.875 kB / 0.7976 GB, free: 42.63 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.7355, allocations: 0 / 0.7976 GB, free: 42.63 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008064/0.7363, allocations: 426.1 kB / 0.798 GB, free: 42.53 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001204/0.7365, allocations: 143.9 kB / 0.7981 GB, free: 42.39 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.454e-05/0.7365, allocations: 7.219 kB / 0.7981 GB, free: 42.39 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001464/0.7367, allocations: 14.17 kB / 0.7981 GB, free: 42.38 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.979e-05/0.7368, allocations: 20.78 kB / 0.7981 GB, free: 42.38 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.2e-05/0.7368, allocations: 5.672 kB / 0.7981 GB, free: 42.38 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0003155/0.7371, allocations: 323.2 kB / 0.7985 GB, free: 42.23 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.31e-07/0.7371, allocations: 0 / 0.7985 GB, free: 42.23 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003357/0.7375, allocations: 82.28 kB / 0.7985 GB, free: 42.2 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.001029/0.7385, allocations: 433.3 kB / 0.7989 GB, free: 42.09 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0005696/0.7391, allocations: 244.9 kB / 0.7992 GB, free: 42.01 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.7391, allocations: 0 / 0.7992 GB, free: 42.01 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0002382/0.7393, allocations: 112.4 kB / 0.7993 GB, free: 41.98 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000534/0.7399, allocations: 99.19 kB / 0.7994 GB, free: 41.95 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001204/0.7411, allocations: 0.7254 MB / 0.8001 GB, free: 41.52 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002588/0.7414, allocations: 0.8115 MB / 0.8009 GB, free: 40.81 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001013/0.7415, allocations: 39.84 kB / 0.8009 GB, free: 40.8 MB / 0.6544 GB Notification: Performance of SimCode: time 6.81e-07/0.7415, allocations: 0 / 0.8009 GB, free: 40.8 MB / 0.6544 GB Notification: Performance of Templates: time 0.01156/0.753, allocations: 5.627 MB / 0.8064 GB, free: 40.28 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 -lv LOG_STATS > Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe 2>&1)