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.01067/0.01067, allocations: 99.45 kB / 15.73 MB, free: 6.059 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.002439/0.002439, allocations: 194.3 kB / 16.68 MB, free: 5.969 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.509/1.509, allocations: 205.1 MB / 222.6 MB, free: 4.52 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.589/1.589, allocations: 251.7 MB / 0.5094 GB, free: 3.047 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.001476/0.001476, allocations: 65.78 kB / 0.7258 GB, free: 9.008 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2259/0.2274, allocations: 104.7 MB / 0.828 GB, free: 200 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed): time 0.004864/0.2323, allocations: 2.982 MB / 0.8309 GB, free: 13.19 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.002817/0.2351, allocations: 1.443 MB / 0.8324 GB, free: 11.74 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004198/0.2356, allocations: 15.88 kB / 0.8324 GB, free: 11.73 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0004841/0.2361, allocations: 103.2 kB / 0.8325 GB, free: 11.62 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.0005549/0.2367, allocations: 143 kB / 0.8326 GB, free: 11.48 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.001076/0.2377, allocations: 385.2 kB / 0.833 GB, free: 11.11 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0007515/0.2385, allocations: 0.5458 MB / 0.8335 GB, free: 10.57 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003884/0.2389, allocations: 209.1 kB / 0.8337 GB, free: 10.36 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004011/0.2393, allocations: 211.1 kB / 0.8339 GB, free: 10.15 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003377/0.2397, allocations: 207 kB / 0.8341 GB, free: 9.945 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 8.763e-05/0.2398, allocations: 40 kB / 0.8341 GB, free: 9.906 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002482/0.24, allocations: 91.97 kB / 0.8342 GB, free: 9.816 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001386/0.2402, allocations: 111.5 kB / 0.8343 GB, free: 9.707 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0002175/0.2404, allocations: 218.6 kB / 0.8345 GB, free: 9.492 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.00086/0.2413, allocations: 0.6069 MB / 0.8351 GB, free: 8.883 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.748e-06/0.2413, allocations: 0 / 0.8351 GB, free: 8.883 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.573e-06/0.2413, allocations: 0 / 0.8351 GB, free: 8.883 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 2.461e-05/0.2413, allocations: 0 / 0.8351 GB, free: 8.883 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.00155/0.2429, allocations: 0.8343 MB / 0.836 GB, free: 7.992 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.478e-05/0.2429, allocations: 8.031 kB / 0.836 GB, free: 7.984 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001249/0.243, allocations: 60.56 kB / 0.836 GB, free: 7.926 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007912/0.2438, allocations: 446.8 kB / 0.8364 GB, free: 7.453 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.183e-05/0.2439, allocations: 20.94 kB / 0.8365 GB, free: 7.43 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.168e-05/0.2439, allocations: 31.94 kB / 0.8365 GB, free: 7.398 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006436/0.2446, allocations: 327.9 kB / 0.8368 GB, free: 7.055 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.208e-05/0.2446, allocations: 0 / 0.8368 GB, free: 7.055 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.598e-05/0.2447, allocations: 15.98 kB / 0.8368 GB, free: 7.039 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.286e-06/0.2447, allocations: 4 kB / 0.8368 GB, free: 7.035 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005566/0.2452, allocations: 210.1 kB / 0.837 GB, free: 6.832 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001576/0.2468, allocations: 1.112 MB / 0.8381 GB, free: 5.652 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006636/0.2475, allocations: 241.8 kB / 0.8383 GB, free: 5.41 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002538/0.2478, allocations: 112.8 kB / 0.8385 GB, free: 5.297 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 3.655e-05/0.2478, allocations: 4 kB / 0.8385 GB, free: 5.293 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003563/0.2482, allocations: 155.3 kB / 0.8386 GB, free: 5.129 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=23): time 3.367e-06/0.2482, allocations: 0 / 0.8386 GB, free: 5.129 MB / 0.6544 GB Notification: Performance of matching and sorting (n=23): time 0.000919/0.2491, allocations: 354.2 kB / 0.8389 GB, free: 4.777 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.479e-05/0.2492, allocations: 106.8 kB / 0.839 GB, free: 4.648 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005704/0.2498, allocations: 465.9 kB / 0.8395 GB, free: 4.184 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.79e-05/0.2498, allocations: 33.7 kB / 0.8395 GB, free: 4.145 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001918/0.25, allocations: 236.7 kB / 0.8397 GB, free: 3.91 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 8.296e-05/0.2501, allocations: 75.38 kB / 0.8398 GB, free: 3.836 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001017/0.2502, allocations: 61.62 kB / 0.8399 GB, free: 3.77 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001418/0.2504, allocations: 350.8 kB / 0.8402 GB, free: 3.418 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002421/0.2506, allocations: 87.95 kB / 0.8403 GB, free: 3.332 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002889/0.2509, allocations: 159.6 kB / 0.8404 GB, free: 3.148 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004898/0.2514, allocations: 223.3 kB / 0.8407 GB, free: 2.914 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.2514, allocations: 0 / 0.8407 GB, free: 2.914 MB / 0.6544 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000658/0.2521, allocations: 311.3 kB / 0.841 GB, free: 2.605 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.677e-05/0.2521, allocations: 4 kB / 0.841 GB, free: 2.602 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.2521, allocations: 0 / 0.841 GB, free: 2.602 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.758e-05/0.2521, allocations: 4 kB / 0.841 GB, free: 2.598 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000256/0.2524, allocations: 55.91 kB / 0.841 GB, free: 2.543 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.027e-06/0.2524, allocations: 0 / 0.841 GB, free: 2.543 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002142/0.2526, allocations: 35.77 kB / 0.8411 GB, free: 2.508 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.138e-05/0.2527, allocations: 8 kB / 0.8411 GB, free: 2.5 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.0002095/0.2529, allocations: 181.7 kB / 0.8412 GB, free: 2.312 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.46e-05/0.253, allocations: 51.66 kB / 0.8413 GB, free: 2.262 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001036/0.2531, allocations: 47.91 kB / 0.8413 GB, free: 2.211 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/0.2531, allocations: 4 kB / 0.8413 GB, free: 2.207 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.884e-06/0.2531, allocations: 4 kB / 0.8413 GB, free: 2.203 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.2531, allocations: 0 / 0.8413 GB, free: 2.203 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004088/0.2535, allocations: 417.2 kB / 0.8417 GB, free: 1.746 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/0.2535, allocations: 7.938 kB / 0.8417 GB, free: 1.738 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002132/0.2537, allocations: 35.91 kB / 0.8418 GB, free: 1.703 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.26e-06/0.2538, allocations: 4 kB / 0.8418 GB, free: 1.699 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.194e-05/0.2538, allocations: 11.98 kB / 0.8418 GB, free: 1.688 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.2538, allocations: 0 / 0.8418 GB, free: 1.688 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.2538, allocations: 0 / 0.8418 GB, free: 1.688 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008637/0.2547, allocations: 423.6 kB / 0.8422 GB, free: 1.258 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001477/0.2548, allocations: 152.8 kB / 0.8423 GB, free: 1.09 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.231e-05/0.2549, allocations: 8.047 kB / 0.8423 GB, free: 1.082 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001648/0.2551, allocations: 15.97 kB / 0.8424 GB, free: 1.066 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.664e-05/0.2552, allocations: 23.91 kB / 0.8424 GB, free: 1.043 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.467e-05/0.2552, allocations: 8 kB / 0.8424 GB, free: 1.035 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0003604/0.2556, allocations: 323.1 kB / 0.8427 GB, free: 0.7266 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.61e-07/0.2556, allocations: 0 / 0.8427 GB, free: 0.7266 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003443/0.2559, allocations: 71.89 kB / 0.8428 GB, free: 0.6562 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.000989/0.2569, allocations: 441 kB / 0.8432 GB, free: 384 kB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0005674/0.2575, allocations: 223.6 kB / 0.8434 GB, free: 160 kB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.2575, allocations: 0 / 0.8434 GB, free: 160 kB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0002515/0.2578, allocations: 108.2 kB / 0.8435 GB, free: 52 kB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006001/0.2584, allocations: 129.3 kB / 0.8436 GB, free: 15.93 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001253/0.2596, allocations: 0.6976 MB / 0.8443 GB, free: 15.21 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004003/0.2601, allocations: 0.8303 MB / 0.8451 GB, free: 14.35 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0002066/0.2603, allocations: 47.27 kB / 0.8452 GB, free: 14.3 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.671e-05/0.2604, allocations: 39.42 kB / 0.8452 GB, free: 14.27 MB / 0.67 GB Notification: Performance of SimCode: time 4.51e-07/0.2604, allocations: 0 / 0.8452 GB, free: 14.27 MB / 0.67 GB Notification: Performance of Templates: time 0.01036/0.2707, allocations: 5.017 MB / 0.8501 GB, free: 9.344 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)