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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) 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) 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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.911/1.911, allocations: 292.3 MB / 308.1 MB, free: 4.25 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001436/0.001436, allocations: 188.5 kB / 376.9 MB, free: 1.816 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.519/1.519, allocations: 205.1 MB / 0.6354 GB, free: 9.797 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009567/0.0009568, allocations: 96.05 kB / 0.7479 GB, free: 61.07 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001037/0.001037, allocations: 55.92 kB / 0.8704 GB, free: 13.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2339/0.2349, allocations: 114.5 MB / 0.9822 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed): time 0.004964/0.2399, allocations: 2.967 MB / 0.9851 GB, free: 7.391 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.002622/0.2426, allocations: 1.423 MB / 0.9865 GB, free: 5.961 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004091/0.243, allocations: 11.94 kB / 0.9865 GB, free: 5.949 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.000557/0.2436, allocations: 87.45 kB / 0.9866 GB, free: 5.863 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0004843/0.2441, allocations: 123.3 kB / 0.9867 GB, free: 5.742 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.001018/0.2452, allocations: 355.4 kB / 0.9871 GB, free: 5.395 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0006283/0.2458, allocations: 0.4915 MB / 0.9875 GB, free: 4.898 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003501/0.2462, allocations: 201.4 kB / 0.9877 GB, free: 4.703 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003129/0.2465, allocations: 171 kB / 0.9879 GB, free: 4.535 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002876/0.2468, allocations: 187 kB / 0.9881 GB, free: 4.352 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 6.049e-05/0.2468, allocations: 20 kB / 0.9881 GB, free: 4.332 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001996/0.2471, allocations: 63.97 kB / 0.9882 GB, free: 4.27 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0001266/0.2472, allocations: 87.55 kB / 0.9882 GB, free: 4.184 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0002015/0.2474, allocations: 186.8 kB / 0.9884 GB, free: 4 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0005998/0.248, allocations: 0.5567 MB / 0.989 GB, free: 3.441 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.248, allocations: 0 / 0.989 GB, free: 3.441 MB / 0.7136 GB Notification: Performance of FrontEnd: time 9.72e-07/0.248, allocations: 0 / 0.989 GB, free: 3.441 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.713e-05/0.2481, allocations: 0 / 0.989 GB, free: 3.441 MB / 0.7136 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.001551/0.2496, allocations: 0.7999 MB / 0.9897 GB, free: 2.582 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.618e-05/0.2497, allocations: 8.031 kB / 0.9897 GB, free: 2.574 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001551/0.2498, allocations: 52.28 kB / 0.9898 GB, free: 2.523 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008487/0.2507, allocations: 434.5 kB / 0.9902 GB, free: 2.059 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.227e-05/0.2507, allocations: 16.94 kB / 0.9902 GB, free: 2.043 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.054e-05/0.2508, allocations: 39.92 kB / 0.9903 GB, free: 2.004 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006603/0.2515, allocations: 327.9 kB / 0.9906 GB, free: 1.66 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.605e-05/0.2515, allocations: 0 / 0.9906 GB, free: 1.66 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.18e-05/0.2515, allocations: 12 kB / 0.9906 GB, free: 1.648 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.048e-05/0.2515, allocations: 8 kB / 0.9906 GB, free: 1.641 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005118/0.2521, allocations: 210.1 kB / 0.9908 GB, free: 1.434 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001573/0.2536, allocations: 1.112 MB / 0.9919 GB, free: 268 kB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006713/0.2543, allocations: 234 kB / 0.9921 GB, free: 28 kB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002703/0.2546, allocations: 120.7 kB / 0.9922 GB, free: 15.91 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 4.069e-05/0.2547, allocations: 4 kB / 0.9922 GB, free: 15.9 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00045/0.2551, allocations: 162.4 kB / 0.9924 GB, free: 15.73 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=23): time 3.928e-06/0.2551, allocations: 3.938 kB / 0.9924 GB, free: 15.73 MB / 0.7292 GB Notification: Performance of matching and sorting (n=23): time 0.0009093/0.2561, allocations: 352.7 kB / 0.9927 GB, free: 15.38 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.454e-05/0.2561, allocations: 106.8 kB / 0.9928 GB, free: 15.25 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005158/0.2567, allocations: 446 kB / 0.9932 GB, free: 14.8 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.609e-05/0.2567, allocations: 29.7 kB / 0.9933 GB, free: 14.77 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001714/0.2569, allocations: 232.4 kB / 0.9935 GB, free: 14.54 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 8.633e-05/0.257, allocations: 78.98 kB / 0.9936 GB, free: 14.46 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001013/0.2571, allocations: 57.69 kB / 0.9936 GB, free: 14.4 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001649/0.2573, allocations: 346.8 kB / 0.994 GB, free: 14.05 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002199/0.2575, allocations: 83.95 kB / 0.994 GB, free: 13.97 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000273/0.2578, allocations: 163.6 kB / 0.9942 GB, free: 13.78 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004922/0.2583, allocations: 214.9 kB / 0.9944 GB, free: 13.55 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.387e-06/0.2583, allocations: 0 / 0.9944 GB, free: 13.55 MB / 0.7292 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006114/0.2589, allocations: 298.4 kB / 0.9947 GB, free: 13.26 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.062e-05/0.2589, allocations: 12.14 kB / 0.9947 GB, free: 13.25 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/0.2589, allocations: 4 kB / 0.9947 GB, free: 13.24 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.741e-05/0.259, allocations: 4 kB / 0.9947 GB, free: 13.24 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002304/0.2592, allocations: 47.91 kB / 0.9948 GB, free: 13.19 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.278e-05/0.2592, allocations: 4 kB / 0.9948 GB, free: 13.19 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002245/0.2595, allocations: 35.67 kB / 0.9948 GB, free: 13.15 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.866e-05/0.2595, allocations: 12 kB / 0.9948 GB, free: 13.14 MB / 0.7292 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.0002456/0.2598, allocations: 181.8 kB / 0.995 GB, free: 12.95 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.591e-05/0.2599, allocations: 51.38 kB / 0.995 GB, free: 12.9 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001047/0.26, allocations: 39.84 kB / 0.9951 GB, free: 12.86 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.448e-06/0.26, allocations: 7.984 kB / 0.9951 GB, free: 12.86 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.205e-06/0.26, allocations: 0 / 0.9951 GB, free: 12.86 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.26, allocations: 0 / 0.9951 GB, free: 12.86 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004734/0.2605, allocations: 413.2 kB / 0.9955 GB, free: 12.4 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.532e-06/0.2605, allocations: 3.938 kB / 0.9955 GB, free: 12.4 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002073/0.2607, allocations: 39.91 kB / 0.9955 GB, free: 12.36 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.737e-06/0.2607, allocations: 0 / 0.9955 GB, free: 12.36 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.926e-05/0.2608, allocations: 11.94 kB / 0.9955 GB, free: 12.35 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.477e-06/0.2608, allocations: 4 kB / 0.9955 GB, free: 12.34 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.2608, allocations: 0 / 0.9955 GB, free: 12.34 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004438/0.2652, allocations: 2.628 MB / 0.9981 GB, free: 9.535 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002039/0.2655, allocations: 128.6 kB / 0.9982 GB, free: 9.391 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.624e-05/0.2655, allocations: 11.98 kB / 0.9982 GB, free: 9.379 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001506/0.2657, allocations: 12 kB / 0.9982 GB, free: 9.367 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.23e-05/0.2658, allocations: 23.91 kB / 0.9983 GB, free: 9.344 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.864e-05/0.2658, allocations: 7.984 kB / 0.9983 GB, free: 9.336 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0003594/0.2662, allocations: 319.2 kB / 0.9986 GB, free: 9.027 MB / 0.7292 GB Notification: Performance of sort global known variables: time 3.6e-07/0.2662, allocations: 4 kB / 0.9986 GB, free: 9.023 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0004869/0.2667, allocations: 107.8 kB / 0.9987 GB, free: 8.918 MB / 0.7292 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.0009764/0.2677, allocations: 423.5 kB / 0.9991 GB, free: 8.602 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0005759/0.2682, allocations: 223.4 kB / 0.9993 GB, free: 8.387 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.038e-06/0.2683, allocations: 0 / 0.9993 GB, free: 8.387 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0002751/0.2685, allocations: 119.8 kB / 0.9994 GB, free: 8.27 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005401/0.2691, allocations: 97.88 kB / 0.9995 GB, free: 8.176 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001636/0.2707, allocations: 1.003 MB / 1 GB, free: 7.133 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000494/0.2712, allocations: 0.8189 MB / 1.001 GB, free: 6.289 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0002541/0.2715, allocations: 55.25 kB / 1.001 GB, free: 6.238 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001079/0.2716, allocations: 35.42 kB / 1.001 GB, free: 6.203 MB / 0.7292 GB Notification: Performance of SimCode: time 3.3e-07/0.2716, allocations: 0 / 1.001 GB, free: 6.203 MB / 0.7292 GB Notification: Performance of Templates: time 0.01026/0.2819, allocations: 4.92 MB / 1.006 GB, free: 1.328 MB / 0.7292 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)