Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.279/2.279, allocations: 253.1 MB / 260.6 MB, free: 7.469 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001478/0.001478, allocations: 178 kB / 319.9 MB, free: 3.102 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.144/2.144, allocations: 205.5 MB / 0.5708 GB, free: 15.27 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001109/0.001109, allocations: 93.25 kB / 0.6751 GB, free: 4.633 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.266e-05/2.271e-05, allocations: 4 kB / 0.7849 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2327/0.2328, allocations: 106.2 MB / 0.8887 GB, free: 11.87 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9263/1.159, allocations: 142.4 MB / 1.028 GB, free: 11.09 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003405/1.16, allocations: 90.75 kB / 1.028 GB, free: 11.04 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.047/1.207, allocations: 10.55 MB / 1.038 GB, free: 2.371 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.704e-06/1.207, allocations: 7.938 kB / 1.038 GB, free: 2.363 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 6.298e-05/1.207, allocations: 11.94 kB / 1.038 GB, free: 2.352 MB / 0.6511 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.001577/1.208, allocations: 0.6867 MB / 1.039 GB, free: 1.645 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.72e-05/1.208, allocations: 12.02 kB / 1.039 GB, free: 1.633 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002223/1.209, allocations: 55.3 kB / 1.039 GB, free: 1.578 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001071/1.21, allocations: 431.3 kB / 1.039 GB, free: 1.184 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.657e-05/1.21, allocations: 8 kB / 1.039 GB, free: 1.176 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.404e-05/1.21, allocations: 16 kB / 1.039 GB, free: 1.16 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005592/1.21, allocations: 182.7 kB / 1.039 GB, free: 1.055 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000672/1.211, allocations: 287.2 kB / 1.04 GB, free: 0.8125 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.559e-05/1.211, allocations: 0 / 1.04 GB, free: 0.8125 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.855e-05/1.211, allocations: 3.953 kB / 1.04 GB, free: 0.8086 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.125e-05/1.211, allocations: 8.844 kB / 1.04 GB, free: 0.8008 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002384/1.214, allocations: 1.111 MB / 1.041 GB, free: 15.85 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006611/1.214, allocations: 226.7 kB / 1.041 GB, free: 15.7 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002243/1.215, allocations: 90.09 kB / 1.041 GB, free: 15.64 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 4.109e-05/1.215, allocations: 4.188 kB / 1.041 GB, free: 15.64 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003573/1.215, allocations: 150.7 kB / 1.041 GB, free: 15.52 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=23): time 2.926e-06/1.215, allocations: 0 / 1.041 GB, free: 15.52 MB / 0.6667 GB Notification: Performance of matching and sorting (n=23): time 0.0007353/1.216, allocations: 241.7 kB / 1.042 GB, free: 15.33 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001218/1.216, allocations: 162.2 kB / 1.042 GB, free: 15.14 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007059/1.217, allocations: 375.2 kB / 1.042 GB, free: 14.85 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 7.402e-05/1.217, allocations: 25.7 kB / 1.042 GB, free: 14.82 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002571/1.217, allocations: 235.9 kB / 1.042 GB, free: 14.66 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 9.608e-05/1.217, allocations: 66.62 kB / 1.042 GB, free: 14.6 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.092e-05/1.217, allocations: 0 / 1.042 GB, free: 14.6 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.000196/1.217, allocations: 356.4 kB / 1.043 GB, free: 14.26 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002021/1.218, allocations: 72.75 kB / 1.043 GB, free: 14.22 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003104/1.218, allocations: 155.9 kB / 1.043 GB, free: 14.08 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002354/1.218, allocations: 85.34 kB / 1.043 GB, free: 14.03 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.957e-06/1.218, allocations: 0 / 1.043 GB, free: 14.03 MB / 0.6667 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007008/1.219, allocations: 255.3 kB / 1.043 GB, free: 13.83 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.303e-05/1.219, allocations: 4 kB / 1.043 GB, free: 13.83 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.015e-05/1.219, allocations: 4 kB / 1.043 GB, free: 13.82 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.917e-05/1.219, allocations: 0 / 1.043 GB, free: 13.82 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005062/1.219, allocations: 64.02 kB / 1.043 GB, free: 13.76 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.587e-06/1.219, allocations: 0 / 1.043 GB, free: 13.76 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004537/1.22, allocations: 35.78 kB / 1.043 GB, free: 13.73 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.509e-05/1.22, allocations: 7.938 kB / 1.043 GB, free: 13.72 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,$PRE.cooMod.combiTimeTable.nextTimeEvent,cooTowSpeCon.pmcMod.y,cooTowSpeCon.fmcMod.y,cooMod.y,cooMod.combiTimeTable.nextTimeEvent,$PRE.cooMod.combiTimeTable.nextTimeEventScaled,cooMod.combiTimeTable.nextTimeEventScaled,cooTowSpeCon.conPID.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001594/1.22, allocations: 116.8 kB / 1.043 GB, free: 13.6 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000103/1.22, allocations: 47.52 kB / 1.043 GB, free: 13.55 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007584/1.221, allocations: 253 kB / 1.044 GB, free: 13.37 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.925e-06/1.221, allocations: 4 kB / 1.044 GB, free: 13.37 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/1.221, allocations: 0 / 1.044 GB, free: 13.37 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.807e-06/1.221, allocations: 3.984 kB / 1.044 GB, free: 13.36 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006483/1.222, allocations: 397.3 kB / 1.044 GB, free: 13.03 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.15e-06/1.222, allocations: 0 / 1.044 GB, free: 13.03 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004563/1.222, allocations: 51.78 kB / 1.044 GB, free: 12.98 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.643e-06/1.222, allocations: 0 / 1.044 GB, free: 12.98 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.372e-05/1.222, allocations: 3.984 kB / 1.044 GB, free: 12.98 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.821e-06/1.222, allocations: 7.938 kB / 1.044 GB, free: 12.97 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.796e-06/1.222, allocations: 0 / 1.044 GB, free: 12.97 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009711/1.223, allocations: 399.8 kB / 1.045 GB, free: 12.68 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002627/1.224, allocations: 155.7 kB / 1.045 GB, free: 12.53 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.459e-05/1.224, allocations: 4 kB / 1.045 GB, free: 12.53 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004013/1.224, allocations: 24.05 kB / 1.045 GB, free: 12.5 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.989e-05/1.224, allocations: 19.72 kB / 1.045 GB, free: 12.49 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.41e-05/1.224, allocations: 7.984 kB / 1.045 GB, free: 12.48 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.000497/1.225, allocations: 291.8 kB / 1.045 GB, free: 12.27 MB / 0.6667 GB Notification: Performance of sort global known variables: time 6.62e-07/1.225, allocations: 0 / 1.045 GB, free: 12.27 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0006071/1.225, allocations: 91.44 kB / 1.045 GB, free: 12.18 MB / 0.6667 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.nextTimeEvent,cooMod.combiTimeTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001146/1.227, allocations: 378.3 kB / 1.045 GB, free: 11.89 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0006543/1.227, allocations: 201 kB / 1.046 GB, free: 11.76 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 5.68e-06/1.227, allocations: 0 / 1.046 GB, free: 11.76 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0002632/1.228, allocations: 110.2 kB / 1.046 GB, free: 11.69 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009043/1.228, allocations: 98.5 kB / 1.046 GB, free: 11.61 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001556/1.23, allocations: 0.4994 MB / 1.046 GB, free: 11.16 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004768/1.231, allocations: 0.8264 MB / 1.047 GB, free: 10.3 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0003948/1.231, allocations: 55.23 kB / 1.047 GB, free: 10.25 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001584/1.231, allocations: 31.38 kB / 1.047 GB, free: 10.22 MB / 0.6667 GB Notification: Performance of SimCode: time 1.042e-06/1.231, allocations: 4 kB / 1.047 GB, free: 10.22 MB / 0.6667 GB Notification: Performance of Templates: time 0.01639/1.248, allocations: 4.65 MB / 1.052 GB, free: 5.66 MB / 0.6667 GB