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.007694/0.007694, allocations: 100.5 kB / 15.73 MB, free: 6.039 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.00164/0.00164, allocations: 202.1 kB / 16.68 MB, free: 5.973 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.539/1.539, allocations: 205.1 MB / 222.6 MB, free: 4.527 MB / 174.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.569/1.569, allocations: 251.7 MB / 0.5094 GB, free: 3.055 MB / 414.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.002582/0.002582, allocations: 67.91 kB / 0.7258 GB, free: 9.035 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3071/0.3097, allocations: 104.7 MB / 0.828 GB, free: 232 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed): time 0.005208/0.3149, allocations: 2.993 MB / 0.831 GB, free: 13.21 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.002719/0.3177, allocations: 1.439 MB / 0.8324 GB, free: 11.77 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004572/0.3182, allocations: 15.94 kB / 0.8324 GB, free: 11.75 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.000496/0.3187, allocations: 111.1 kB / 0.8325 GB, free: 11.64 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.0006574/0.3193, allocations: 138.9 kB / 0.8326 GB, free: 11.51 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.001091/0.3204, allocations: 388 kB / 0.833 GB, free: 11.13 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0007518/0.3212, allocations: 0.5497 MB / 0.8335 GB, free: 10.58 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003927/0.3216, allocations: 205.1 kB / 0.8337 GB, free: 10.38 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003595/0.322, allocations: 207.1 kB / 0.8339 GB, free: 10.17 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002962/0.3223, allocations: 203 kB / 0.8341 GB, free: 9.973 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 7.886e-05/0.3224, allocations: 40 kB / 0.8341 GB, free: 9.934 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002523/0.3226, allocations: 95.97 kB / 0.8342 GB, free: 9.84 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001798/0.3228, allocations: 111.5 kB / 0.8343 GB, free: 9.73 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0002673/0.3231, allocations: 222.6 kB / 0.8346 GB, free: 9.512 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0007991/0.3239, allocations: 0.5995 MB / 0.8351 GB, free: 8.91 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/0.3239, allocations: 0 / 0.8351 GB, free: 8.91 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.014e-06/0.3239, allocations: 4 kB / 0.8351 GB, free: 8.906 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.888e-05/0.324, allocations: 4 kB / 0.8351 GB, free: 8.902 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.001589/0.3256, allocations: 0.8036 MB / 0.8359 GB, free: 8.043 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.35e-05/0.3256, allocations: 8.031 kB / 0.8359 GB, free: 8.035 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001379/0.3257, allocations: 56.28 kB / 0.836 GB, free: 7.98 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008076/0.3266, allocations: 438.4 kB / 0.8364 GB, free: 7.516 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.063e-05/0.3266, allocations: 28.92 kB / 0.8364 GB, free: 7.484 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.882e-05/0.3267, allocations: 31.94 kB / 0.8365 GB, free: 7.453 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006473/0.3273, allocations: 327.9 kB / 0.8368 GB, free: 7.109 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.335e-05/0.3274, allocations: 0 / 0.8368 GB, free: 7.109 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.444e-05/0.3274, allocations: 12 kB / 0.8368 GB, free: 7.098 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.904e-06/0.3274, allocations: 4 kB / 0.8368 GB, free: 7.094 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005441/0.328, allocations: 218.1 kB / 0.837 GB, free: 6.883 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001503/0.3295, allocations: 1.108 MB / 0.8381 GB, free: 5.707 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006333/0.3301, allocations: 234.9 kB / 0.8383 GB, free: 5.469 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002589/0.3304, allocations: 112.8 kB / 0.8384 GB, free: 5.355 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 3.478e-05/0.3305, allocations: 4 kB / 0.8384 GB, free: 5.352 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004296/0.3309, allocations: 155.3 kB / 0.8386 GB, free: 5.188 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=23): time 1.943e-06/0.3309, allocations: 0 / 0.8386 GB, free: 5.188 MB / 0.6544 GB Notification: Performance of matching and sorting (n=23): time 0.0008951/0.3318, allocations: 354.4 kB / 0.8389 GB, free: 4.836 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.15e-05/0.3319, allocations: 106.8 kB / 0.839 GB, free: 4.707 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000602/0.3325, allocations: 465.9 kB / 0.8395 GB, free: 4.242 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 3.418e-05/0.3326, allocations: 29.7 kB / 0.8395 GB, free: 4.207 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002149/0.3328, allocations: 236.4 kB / 0.8397 GB, free: 3.973 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 7.893e-05/0.3329, allocations: 86.86 kB / 0.8398 GB, free: 3.887 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.979e-05/0.333, allocations: 53.64 kB / 0.8398 GB, free: 3.828 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0002225/0.3332, allocations: 358.8 kB / 0.8402 GB, free: 3.469 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002356/0.3334, allocations: 83.95 kB / 0.8403 GB, free: 3.387 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003314/0.3338, allocations: 163.6 kB / 0.8404 GB, free: 3.199 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005062/0.3343, allocations: 218.1 kB / 0.8406 GB, free: 2.969 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.3343, allocations: 0 / 0.8406 GB, free: 2.969 MB / 0.6544 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006941/0.335, allocations: 311.2 kB / 0.8409 GB, free: 2.66 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.062e-05/0.335, allocations: 4 kB / 0.8409 GB, free: 2.656 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.974e-05/0.3351, allocations: 7.984 kB / 0.8409 GB, free: 2.648 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.721e-05/0.3351, allocations: 0 / 0.8409 GB, free: 2.648 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002574/0.3354, allocations: 51.91 kB / 0.841 GB, free: 2.598 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.032e-05/0.3354, allocations: 0 / 0.841 GB, free: 2.598 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00022/0.3356, allocations: 27.83 kB / 0.841 GB, free: 2.57 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.474e-05/0.3356, allocations: 8 kB / 0.841 GB, free: 2.562 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.0002287/0.3359, allocations: 181.9 kB / 0.8412 GB, free: 2.375 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.032e-05/0.336, allocations: 51.38 kB / 0.8412 GB, free: 2.324 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001105/0.3361, allocations: 43.92 kB / 0.8413 GB, free: 2.277 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.385e-06/0.3361, allocations: 7.984 kB / 0.8413 GB, free: 2.27 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.665e-06/0.3361, allocations: 0 / 0.8413 GB, free: 2.27 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.3361, allocations: 0 / 0.8413 GB, free: 2.27 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004934/0.3366, allocations: 417.2 kB / 0.8417 GB, free: 1.812 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.669e-06/0.3366, allocations: 3.938 kB / 0.8417 GB, free: 1.809 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002126/0.3369, allocations: 39.91 kB / 0.8417 GB, free: 1.77 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.992e-06/0.3369, allocations: 4 kB / 0.8417 GB, free: 1.766 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.282e-05/0.3369, allocations: 4 kB / 0.8417 GB, free: 1.762 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.3369, allocations: 0 / 0.8417 GB, free: 1.762 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.3369, allocations: 7.984 kB / 0.8417 GB, free: 1.754 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008785/0.3378, allocations: 418.3 kB / 0.8421 GB, free: 1.328 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001771/0.338, allocations: 148.4 kB / 0.8423 GB, free: 1.164 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.741e-05/0.338, allocations: 8 kB / 0.8423 GB, free: 1.156 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001581/0.3382, allocations: 11.98 kB / 0.8423 GB, free: 1.145 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.514e-05/0.3383, allocations: 20.02 kB / 0.8423 GB, free: 1.125 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.803e-05/0.3383, allocations: 15.92 kB / 0.8423 GB, free: 1.109 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0003566/0.3387, allocations: 327.1 kB / 0.8427 GB, free: 0.7969 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3387, allocations: 0 / 0.8427 GB, free: 0.7969 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003761/0.3391, allocations: 75.84 kB / 0.8427 GB, free: 0.7227 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.001178/0.3403, allocations: 433.2 kB / 0.8431 GB, free: 464 kB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0006778/0.341, allocations: 223.6 kB / 0.8434 GB, free: 240 kB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.341, allocations: 0 / 0.8434 GB, free: 240 kB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0002747/0.3413, allocations: 116.2 kB / 0.8435 GB, free: 124 kB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006183/0.3419, allocations: 127.1 kB / 0.8436 GB, free: 4 kB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001471/0.3434, allocations: 0.688 MB / 0.8443 GB, free: 15.29 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000544/0.3439, allocations: 0.8186 MB / 0.8451 GB, free: 14.44 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.000217/0.3442, allocations: 55.19 kB / 0.8451 GB, free: 14.39 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.438e-05/0.3443, allocations: 35.42 kB / 0.8451 GB, free: 14.35 MB / 0.67 GB Notification: Performance of SimCode: time 4.6e-07/0.3443, allocations: 0 / 0.8451 GB, free: 14.35 MB / 0.67 GB Notification: Performance of Templates: time 0.01264/0.3569, allocations: 5.023 MB / 0.85 GB, free: 9.43 MB / 0.67 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)