Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_3.0.0_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_3.0.0_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.00143/0.00143, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001872/0.001872, allocations: 193.5 kB / 16.13 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.417/1.417, allocations: 222.9 MB / 239.8 MB, free: 4.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.836/2.836, allocations: 472.6 MB / 0.7447 GB, free: 4.992 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001265/0.001265, allocations: 70.25 kB / 0.9114 GB, free: 33.67 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3649/0.3661, allocations: 159.9 MB / 1.068 GB, free: 10.95 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed): time 0.004307/0.3705, allocations: 2.981 MB / 1.07 GB, free: 7.949 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002454/0.373, allocations: 1.477 MB / 1.072 GB, free: 6.469 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002459/0.3732, allocations: 15.94 kB / 1.072 GB, free: 6.453 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0004069/0.3737, allocations: 87.45 kB / 1.072 GB, free: 6.367 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0003037/0.374, allocations: 107.4 kB / 1.072 GB, free: 6.262 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008256/0.3748, allocations: 378.9 kB / 1.072 GB, free: 5.895 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0005035/0.3753, allocations: 499.2 kB / 1.073 GB, free: 5.406 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002987/0.3757, allocations: 193.1 kB / 1.073 GB, free: 5.211 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002416/0.3759, allocations: 175 kB / 1.073 GB, free: 5.039 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002108/0.3761, allocations: 183 kB / 1.073 GB, free: 4.859 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 4.556e-05/0.3762, allocations: 16 kB / 1.073 GB, free: 4.844 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001633/0.3763, allocations: 71.95 kB / 1.074 GB, free: 4.773 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001191/0.3765, allocations: 79.62 kB / 1.074 GB, free: 4.695 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001635/0.3766, allocations: 190.8 kB / 1.074 GB, free: 4.508 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0005356/0.3772, allocations: 0.5647 MB / 1.074 GB, free: 3.941 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.3772, allocations: 4 kB / 1.074 GB, free: 3.938 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.874e-06/0.3772, allocations: 3.938 kB / 1.074 GB, free: 3.934 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 9.268e-06/0.3772, allocations: 0 / 1.074 GB, free: 3.934 MB / 0.8262 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.001266/0.3785, allocations: 0.7881 MB / 1.075 GB, free: 3.09 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.747e-05/0.3785, allocations: 12.03 kB / 1.075 GB, free: 3.078 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.374e-05/0.3786, allocations: 52.38 kB / 1.075 GB, free: 3.027 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005769/0.3792, allocations: 426.5 kB / 1.076 GB, free: 2.574 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.489e-05/0.3793, allocations: 20.94 kB / 1.076 GB, free: 2.551 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.741e-05/0.3793, allocations: 35.94 kB / 1.076 GB, free: 2.516 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006064/0.38, allocations: 331.9 kB / 1.076 GB, free: 2.168 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.115e-05/0.38, allocations: 0 / 1.076 GB, free: 2.168 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.252e-05/0.38, allocations: 15.98 kB / 1.076 GB, free: 2.152 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.117e-06/0.38, allocations: 4 kB / 1.076 GB, free: 2.148 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005076/0.3805, allocations: 210.1 kB / 1.076 GB, free: 1.945 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001406/0.382, allocations: 1.112 MB / 1.077 GB, free: 0.7695 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006396/0.3826, allocations: 238.9 kB / 1.077 GB, free: 0.5273 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002476/0.3829, allocations: 112.8 kB / 1.078 GB, free: 424 kB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.428e-05/0.3829, allocations: 4 kB / 1.078 GB, free: 420 kB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004812/0.3834, allocations: 158.1 kB / 1.078 GB, free: 252 kB / 0.8262 GB Notification: Performance of pre-optimization done (n=23): time 1.713e-06/0.3834, allocations: 0 / 1.078 GB, free: 252 kB / 0.8262 GB Notification: Performance of matching and sorting (n=23): time 0.0008827/0.3843, allocations: 344.9 kB / 1.078 GB, free: 15.9 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.126e-05/0.3844, allocations: 110.8 kB / 1.078 GB, free: 15.77 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004773/0.3849, allocations: 449.8 kB / 1.079 GB, free: 15.32 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.691e-05/0.3849, allocations: 33.7 kB / 1.079 GB, free: 15.29 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001669/0.3851, allocations: 228.4 kB / 1.079 GB, free: 15.05 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 6.759e-05/0.3852, allocations: 71 kB / 1.079 GB, free: 14.98 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.196e-05/0.3853, allocations: 69.53 kB / 1.079 GB, free: 14.91 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001373/0.3854, allocations: 350.8 kB / 1.079 GB, free: 14.56 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000229/0.3856, allocations: 83.95 kB / 1.079 GB, free: 14.48 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00026/0.3859, allocations: 156.2 kB / 1.08 GB, free: 14.3 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004491/0.3864, allocations: 223.1 kB / 1.08 GB, free: 14.06 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.3864, allocations: 0 / 1.08 GB, free: 14.06 MB / 0.8419 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005948/0.387, allocations: 303.4 kB / 1.08 GB, free: 13.76 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.782e-05/0.387, allocations: 4 kB / 1.08 GB, free: 13.76 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.665e-06/0.387, allocations: 4 kB / 1.08 GB, free: 13.75 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.467e-05/0.387, allocations: 160 / 1.08 GB, free: 13.75 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002516/0.3873, allocations: 55.91 kB / 1.08 GB, free: 13.7 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.436e-06/0.3873, allocations: 4 kB / 1.08 GB, free: 13.7 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001866/0.3875, allocations: 35.61 kB / 1.08 GB, free: 13.66 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.222e-05/0.3875, allocations: 15.94 kB / 1.08 GB, free: 13.64 MB / 0.8419 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.0001969/0.3877, allocations: 173.8 kB / 1.08 GB, free: 13.46 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.636e-05/0.3878, allocations: 43.47 kB / 1.08 GB, free: 13.42 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.236e-05/0.3879, allocations: 43.83 kB / 1.08 GB, free: 13.38 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.04e-06/0.3879, allocations: 8 kB / 1.08 GB, free: 13.37 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.103e-05/0.3879, allocations: 0 / 1.08 GB, free: 13.37 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.137e-06/0.388, allocations: 3.938 kB / 1.08 GB, free: 13.37 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003956/0.3884, allocations: 413.2 kB / 1.081 GB, free: 12.91 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.394e-05/0.3884, allocations: 7.938 kB / 1.081 GB, free: 12.91 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002101/0.3886, allocations: 35.97 kB / 1.081 GB, free: 12.87 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.524e-06/0.3886, allocations: 0 / 1.081 GB, free: 12.87 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.505e-05/0.3886, allocations: 8 kB / 1.081 GB, free: 12.86 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.3886, allocations: 0 / 1.081 GB, free: 12.86 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.347e-06/0.3886, allocations: 3.984 kB / 1.081 GB, free: 12.86 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008569/0.3895, allocations: 419.1 kB / 1.081 GB, free: 12.43 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001375/0.3897, allocations: 148.5 kB / 1.081 GB, free: 12.27 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.595e-05/0.3897, allocations: 11.94 kB / 1.081 GB, free: 12.26 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001564/0.3899, allocations: 11.98 kB / 1.081 GB, free: 12.25 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.032e-05/0.39, allocations: 28.03 kB / 1.081 GB, free: 12.22 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.406e-05/0.39, allocations: 4 kB / 1.081 GB, free: 12.21 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.000337/0.3903, allocations: 315.1 kB / 1.082 GB, free: 11.91 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3904, allocations: 0 / 1.082 GB, free: 11.91 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003288/0.3907, allocations: 79.83 kB / 1.082 GB, free: 11.83 MB / 0.8419 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.0009939/0.3917, allocations: 436.2 kB / 1.082 GB, free: 11.55 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0005528/0.3923, allocations: 219.7 kB / 1.082 GB, free: 11.34 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.3923, allocations: 0 / 1.082 GB, free: 11.34 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002584/0.3925, allocations: 111.9 kB / 1.083 GB, free: 11.23 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005346/0.3931, allocations: 103.6 kB / 1.083 GB, free: 11.13 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001237/0.3943, allocations: 0.8204 MB / 1.083 GB, free: 10.28 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003615/0.3947, allocations: 0.8151 MB / 1.084 GB, free: 9.438 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.000198/0.3949, allocations: 55.23 kB / 1.084 GB, free: 9.387 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.921e-05/0.395, allocations: 27.44 kB / 1.084 GB, free: 9.359 MB / 0.8419 GB Notification: Performance of SimCode: time 2.41e-07/0.395, allocations: 0 / 1.084 GB, free: 9.359 MB / 0.8419 GB Notification: Performance of Templates: time 0.009559/0.4046, allocations: 4.532 MB / 1.089 GB, free: 4.914 MB / 0.8419 GB make -j1 -f Buildings_3.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.makefile (rm -f Buildings_3.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe ; mkfifo Buildings_3.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe >> ../files/Buildings_3.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.sim & ./Buildings_3.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe 2>&1)