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/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 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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: "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed,fileNamePrefix="Buildings_8_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingTowerSpeed",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed,fileNamePrefix="Buildings_8_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001651/0.001651, allocations: 105.4 kB / 15.7 MB, free: 24 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001852/0.001852, allocations: 192.7 kB / 16.64 MB, free: 6.594 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.42/1.42, allocations: 205.1 MB / 222.5 MB, free: 4.551 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.771/1.771, allocations: 292.3 MB / 0.549 GB, free: 12.75 MB / 462.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.002508/0.002508, allocations: 71.31 kB / 0.6718 GB, free: 26.39 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3192/0.3217, allocations: 114.6 MB / 0.7837 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed): time 0.005149/0.3269, allocations: 2.927 MB / 0.7865 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003104/0.3301, allocations: 1.435 MB / 0.7879 GB, free: 8.875 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003901/0.3305, allocations: 11.94 kB / 0.7879 GB, free: 8.863 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0005699/0.3311, allocations: 107.1 kB / 0.788 GB, free: 8.758 MB / 0.6075 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.0004306/0.3316, allocations: 147 kB / 0.7882 GB, free: 8.613 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009569/0.3325, allocations: 385.6 kB / 0.7885 GB, free: 8.242 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0005988/0.3331, allocations: 0.5305 MB / 0.7891 GB, free: 7.711 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003418/0.3335, allocations: 209.4 kB / 0.7893 GB, free: 7.5 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002704/0.3338, allocations: 207.1 kB / 0.7894 GB, free: 7.297 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002404/0.334, allocations: 191 kB / 0.7896 GB, free: 7.109 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 5.857e-05/0.3341, allocations: 44 kB / 0.7897 GB, free: 7.066 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002049/0.3343, allocations: 107.9 kB / 0.7898 GB, free: 6.961 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001199/0.3344, allocations: 103.6 kB / 0.7899 GB, free: 6.859 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001799/0.3346, allocations: 210.8 kB / 0.7901 GB, free: 6.652 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0007331/0.3354, allocations: 0.5994 MB / 0.7907 GB, free: 6.051 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 8.305e-06/0.3354, allocations: 3.984 kB / 0.7907 GB, free: 6.047 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.924e-06/0.3354, allocations: 4 kB / 0.7907 GB, free: 6.043 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.406e-05/0.3354, allocations: 0 / 0.7907 GB, free: 6.043 MB / 0.6075 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.001331/0.3367, allocations: 0.792 MB / 0.7914 GB, free: 5.195 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 6.08e-05/0.3368, allocations: 8.031 kB / 0.7914 GB, free: 5.188 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.999e-05/0.3369, allocations: 66.72 kB / 0.7915 GB, free: 5.113 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000101/0.337, allocations: 52.28 kB / 0.7916 GB, free: 5.062 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007025/0.3377, allocations: 438.5 kB / 0.792 GB, free: 4.594 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.128e-05/0.3378, allocations: 24.69 kB / 0.792 GB, free: 4.57 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.64e-05/0.3378, allocations: 24 kB / 0.792 GB, free: 4.547 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005785/0.3384, allocations: 335.9 kB / 0.7923 GB, free: 4.188 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.281e-05/0.3384, allocations: 3.938 kB / 0.7924 GB, free: 4.184 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.939e-05/0.3385, allocations: 15.94 kB / 0.7924 GB, free: 4.168 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.744e-06/0.3385, allocations: 4 kB / 0.7924 GB, free: 4.164 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004834/0.339, allocations: 214.1 kB / 0.7926 GB, free: 3.957 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001399/0.3404, allocations: 1.093 MB / 0.7936 GB, free: 2.797 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006323/0.341, allocations: 239 kB / 0.7939 GB, free: 2.555 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002385/0.3413, allocations: 112.8 kB / 0.794 GB, free: 2.441 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.214e-05/0.3413, allocations: 4 kB / 0.794 GB, free: 2.438 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003462/0.3417, allocations: 150.2 kB / 0.7941 GB, free: 2.281 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=23): time 1.633e-06/0.3417, allocations: 4 kB / 0.7941 GB, free: 2.277 MB / 0.6075 GB Notification: Performance of matching and sorting (n=23): time 0.000862/0.3425, allocations: 352.7 kB / 0.7945 GB, free: 1.926 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.295e-05/0.3426, allocations: 114.7 kB / 0.7946 GB, free: 1.789 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005268/0.3432, allocations: 450 kB / 0.795 GB, free: 1.344 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.958e-05/0.3432, allocations: 29.7 kB / 0.795 GB, free: 1.309 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001965/0.3434, allocations: 232.4 kB / 0.7953 GB, free: 1.074 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 7.909e-05/0.3435, allocations: 86.83 kB / 0.7953 GB, free: 0.9883 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.655e-05/0.3436, allocations: 49.7 kB / 0.7954 GB, free: 0.9336 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001587/0.3438, allocations: 358.8 kB / 0.7957 GB, free: 0.5742 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002291/0.344, allocations: 79.95 kB / 0.7958 GB, free: 0.4961 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002785/0.3443, allocations: 167.7 kB / 0.796 GB, free: 312 kB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000456/0.3447, allocations: 215.5 kB / 0.7962 GB, free: 80 kB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.3448, allocations: 0 / 0.7962 GB, free: 80 kB / 0.6075 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000624/0.3454, allocations: 303.9 kB / 0.7965 GB, free: 15.78 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.131e-05/0.3454, allocations: 7.938 kB / 0.7965 GB, free: 15.77 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.934e-06/0.3454, allocations: 4.156 kB / 0.7965 GB, free: 15.77 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.732e-05/0.3455, allocations: 4 kB / 0.7965 GB, free: 15.76 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002386/0.3457, allocations: 51.97 kB / 0.7965 GB, free: 15.71 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.799e-06/0.3457, allocations: 7.922 kB / 0.7965 GB, free: 15.7 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001768/0.3459, allocations: 27.75 kB / 0.7966 GB, free: 15.68 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.463e-05/0.3459, allocations: 15.98 kB / 0.7966 GB, free: 15.66 MB / 0.6231 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.0002025/0.3461, allocations: 171.1 kB / 0.7967 GB, free: 15.48 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.024e-05/0.3462, allocations: 51.36 kB / 0.7968 GB, free: 15.43 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001037/0.3463, allocations: 51.84 kB / 0.7968 GB, free: 15.38 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.466e-06/0.3463, allocations: 0 / 0.7968 GB, free: 15.38 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.3463, allocations: 0 / 0.7968 GB, free: 15.38 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/0.3464, allocations: 0 / 0.7968 GB, free: 15.38 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004209/0.3468, allocations: 417.2 kB / 0.7972 GB, free: 14.93 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.23e-06/0.3468, allocations: 3.984 kB / 0.7972 GB, free: 14.92 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002022/0.347, allocations: 31.92 kB / 0.7973 GB, free: 14.89 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.35e-06/0.347, allocations: 4 kB / 0.7973 GB, free: 14.89 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.407e-05/0.347, allocations: 7.984 kB / 0.7973 GB, free: 14.88 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.3471, allocations: 0 / 0.7973 GB, free: 14.88 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.3471, allocations: 8 kB / 0.7973 GB, free: 14.87 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008758/0.3479, allocations: 420.2 kB / 0.7977 GB, free: 14.44 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001421/0.3481, allocations: 140.6 kB / 0.7978 GB, free: 14.29 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.87e-05/0.3482, allocations: 4 kB / 0.7978 GB, free: 14.28 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001486/0.3483, allocations: 20.05 kB / 0.7978 GB, free: 14.26 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.928e-05/0.3484, allocations: 19.97 kB / 0.7979 GB, free: 14.24 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.713e-05/0.3484, allocations: 8 kB / 0.7979 GB, free: 14.23 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0003708/0.3488, allocations: 327.1 kB / 0.7982 GB, free: 13.91 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3488, allocations: 0 / 0.7982 GB, free: 13.91 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003397/0.3492, allocations: 79.75 kB / 0.7983 GB, free: 13.84 MB / 0.6231 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.002046/0.3512, allocations: 1.28 MB / 0.7995 GB, free: 12.69 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.000573/0.3518, allocations: 220 kB / 0.7997 GB, free: 12.48 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/0.3518, allocations: 0 / 0.7997 GB, free: 12.48 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002614/0.3521, allocations: 118.8 kB / 0.7998 GB, free: 12.36 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005327/0.3526, allocations: 103.8 kB / 0.7999 GB, free: 12.27 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004835/0.3575, allocations: 3.41 MB / 0.8033 GB, free: 8.746 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005458/0.3581, allocations: 0.8188 MB / 0.8041 GB, free: 7.902 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002269/0.3583, allocations: 55.19 kB / 0.8041 GB, free: 7.852 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002525/0.3586, allocations: 143.4 kB / 0.8042 GB, free: 7.711 MB / 0.6231 GB Notification: Performance of SimCode: time 1.192e-06/0.3586, allocations: 0 / 0.8042 GB, free: 7.711 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03102/0.3896, allocations: 8.858 MB / 0.8129 GB, free: 15.1 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.512/8.901, allocations: 6.781 kB / 0.8129 GB, free: 15.09 MB / 0.6387 GB (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 & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed_res.csv --start-time 0 --stop-time 1080 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingTowerSpeed.fmu > Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe 2>&1)