Running: ./testmodel.py --libraries=/home/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 (/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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed,fileNamePrefix="Buildings_7_0_0_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingTowerSpeed",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.181/2.181, allocations: 248.7 MB / 256.2 MB, free: 7.027 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001519/0.001519, allocations: 184.2 kB / 315.4 MB, free: 3.992 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.088/2.088, allocations: 205.3 MB / 0.5662 GB, free: 0.5391 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001148/0.001148, allocations: 100 kB / 0.6704 GB, free: 5.746 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.784e-05/2.785e-05, allocations: 4 kB / 0.7804 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2067/0.2068, allocations: 106.3 MB / 0.8841 GB, free: 12.98 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9053/1.112, allocations: 142.4 MB / 1.023 GB, free: 12.58 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003143/1.112, allocations: 91.06 kB / 1.023 GB, free: 12.53 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.04508/1.158, allocations: 10.55 MB / 1.034 GB, free: 3.867 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.974e-06/1.158, allocations: 7.938 kB / 1.034 GB, free: 3.859 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 5.541e-05/1.158, allocations: 8 kB / 1.034 GB, free: 3.852 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.001525/1.159, allocations: 0.6912 MB / 1.034 GB, free: 3.137 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.909e-05/1.159, allocations: 8.031 kB / 1.034 GB, free: 3.129 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001607/1.159, allocations: 63.3 kB / 1.034 GB, free: 3.066 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009661/1.16, allocations: 430.5 kB / 1.035 GB, free: 2.672 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.457e-05/1.16, allocations: 15.5 kB / 1.035 GB, free: 2.66 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.694e-05/1.161, allocations: 16 kB / 1.035 GB, free: 2.645 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005312/1.161, allocations: 178.4 kB / 1.035 GB, free: 2.543 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006489/1.162, allocations: 285.9 kB / 1.035 GB, free: 2.297 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.652e-05/1.162, allocations: 0 / 1.035 GB, free: 2.297 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.982e-05/1.162, allocations: 11.94 kB / 1.035 GB, free: 2.285 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.141e-05/1.162, allocations: 4 kB / 1.035 GB, free: 2.281 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002113/1.164, allocations: 1.105 MB / 1.036 GB, free: 1.336 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000618/1.165, allocations: 222.8 kB / 1.037 GB, free: 1.188 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002172/1.165, allocations: 90.03 kB / 1.037 GB, free: 1.133 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 3.768e-05/1.165, allocations: 8.172 kB / 1.037 GB, free: 1.125 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003478/1.165, allocations: 139 kB / 1.037 GB, free: 1.016 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=23): time 3.416e-06/1.165, allocations: 0 / 1.037 GB, free: 1.016 MB / 0.6511 GB Notification: Performance of matching and sorting (n=23): time 0.0006875/1.166, allocations: 238.9 kB / 1.037 GB, free: 0.832 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.417e-05/1.166, allocations: 170.1 kB / 1.037 GB, free: 0.6289 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006503/1.167, allocations: 371 kB / 1.037 GB, free: 352 kB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 4.894e-05/1.167, allocations: 29.7 kB / 1.038 GB, free: 316 kB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002712/1.167, allocations: 230.6 kB / 1.038 GB, free: 156 kB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 9.194e-05/1.167, allocations: 67.75 kB / 1.038 GB, free: 96 kB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.049e-05/1.167, allocations: 0 / 1.038 GB, free: 96 kB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0002196/1.168, allocations: 352.9 kB / 1.038 GB, free: 15.76 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002031/1.168, allocations: 78.3 kB / 1.038 GB, free: 15.71 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002972/1.168, allocations: 154.5 kB / 1.038 GB, free: 15.57 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002239/1.168, allocations: 78.86 kB / 1.038 GB, free: 15.53 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.447e-06/1.168, allocations: 0 / 1.038 GB, free: 15.53 MB / 0.6667 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006496/1.169, allocations: 264.9 kB / 1.039 GB, free: 15.32 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.992e-05/1.169, allocations: 4 kB / 1.039 GB, free: 15.32 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.022e-05/1.169, allocations: 4 kB / 1.039 GB, free: 15.32 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.908e-05/1.169, allocations: 0 / 1.039 GB, free: 15.32 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004891/1.17, allocations: 59.89 kB / 1.039 GB, free: 15.26 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.016e-05/1.17, allocations: 4 kB / 1.039 GB, free: 15.25 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003889/1.17, allocations: 35.91 kB / 1.039 GB, free: 15.22 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.255e-05/1.17, allocations: 11.25 kB / 1.039 GB, free: 15.21 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.000148/1.17, allocations: 117 kB / 1.039 GB, free: 15.09 MB / 0.6667 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005691/1.171, allocations: 238.2 kB / 1.039 GB, free: 14.91 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.116e-05/1.171, allocations: 43.44 kB / 1.039 GB, free: 14.87 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007/1.172, allocations: 252 kB / 1.039 GB, free: 14.68 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.484e-06/1.172, allocations: 8 kB / 1.039 GB, free: 14.68 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.999e-06/1.172, allocations: 3.953 kB / 1.039 GB, free: 14.67 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.007e-05/1.172, allocations: 3.984 kB / 1.039 GB, free: 14.67 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005899/1.172, allocations: 394 kB / 1.04 GB, free: 14.34 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/1.172, allocations: 0 / 1.04 GB, free: 14.34 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004453/1.173, allocations: 51.84 kB / 1.04 GB, free: 14.29 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.334e-06/1.173, allocations: 0 / 1.04 GB, free: 14.29 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.396e-05/1.173, allocations: 7.984 kB / 1.04 GB, free: 14.28 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.587e-06/1.173, allocations: 0 / 1.04 GB, free: 14.28 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.981e-06/1.173, allocations: 4 kB / 1.04 GB, free: 14.28 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009537/1.174, allocations: 399.8 kB / 1.04 GB, free: 13.99 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000265/1.174, allocations: 157.1 kB / 1.04 GB, free: 13.84 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.433e-05/1.174, allocations: 3.25 kB / 1.04 GB, free: 13.84 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003638/1.175, allocations: 19.98 kB / 1.04 GB, free: 13.82 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.098e-05/1.175, allocations: 23.03 kB / 1.04 GB, free: 13.8 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.184e-05/1.175, allocations: 7.984 kB / 1.04 GB, free: 13.79 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0005121/1.175, allocations: 293.3 kB / 1.041 GB, free: 13.57 MB / 0.6667 GB Notification: Performance of sort global known variables: time 6.01e-07/1.175, allocations: 0 / 1.041 GB, free: 13.57 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0005881/1.176, allocations: 83.72 kB / 1.041 GB, free: 13.49 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.002242/1.178, allocations: 1.209 MB / 1.042 GB, free: 12.47 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0006401/1.179, allocations: 192.5 kB / 1.042 GB, free: 12.35 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 3.937e-06/1.179, allocations: 0 / 1.042 GB, free: 12.35 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0002699/1.179, allocations: 108.4 kB / 1.042 GB, free: 12.28 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009561/1.18, allocations: 101.2 kB / 1.042 GB, free: 12.21 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001979/1.182, allocations: 0.5942 MB / 1.043 GB, free: 11.64 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004794/1.183, allocations: 0.8292 MB / 1.044 GB, free: 10.79 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0004163/1.183, allocations: 55.25 kB / 1.044 GB, free: 10.74 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003298/1.183, allocations: 145.6 kB / 1.044 GB, free: 10.7 MB / 0.6667 GB Notification: Performance of SimCode: time 1.343e-06/1.183, allocations: 0 / 1.044 GB, free: 10.7 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.053/1.236, allocations: 8.174 MB / 1.052 GB, free: 2.598 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003214/1.237, allocations: 220.5 kB / 1.052 GB, free: 2.305 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.627/3.864, allocations: 0 / 1.052 GB, free: 2.305 MB / 0.6667 GB