Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001088/0.001088, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.000871/0.000871, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8873/0.8873, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.755/1.755, allocations: 377.8 MB / 0.6221 GB, free: 8.664 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed,fileNamePrefix="Buildings_12_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingTowerSpeed",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed,fileNamePrefix="Buildings_12_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingTowerSpeed",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 0.9809 GB, free: 2.594 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.71e-05/1.854e-05, allocations: 2.281 kB / 0.9809 GB, free: 2.59 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed): time 0.003155/0.003174, allocations: 2.776 MB / 0.9837 GB, free: 15.79 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.002162/0.005335, allocations: 1.644 MB / 0.9853 GB, free: 14.14 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002375/0.005573, allocations: 19.88 kB / 0.9853 GB, free: 14.12 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0003529/0.005926, allocations: 107.1 kB / 0.9854 GB, free: 14.02 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.0003704/0.006296, allocations: 198.7 kB / 0.9856 GB, free: 13.82 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006258/0.006922, allocations: 404.2 kB / 0.986 GB, free: 13.43 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0004557/0.007378, allocations: 0.5615 MB / 0.9865 GB, free: 12.87 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002009/0.007579, allocations: 129.7 kB / 0.9866 GB, free: 12.74 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003136/0.007892, allocations: 299.2 kB / 0.9869 GB, free: 12.45 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001653/0.008057, allocations: 155.5 kB / 0.9871 GB, free: 12.3 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 4.223e-05/0.0081, allocations: 44 kB / 0.9871 GB, free: 12.25 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001487/0.008248, allocations: 111.8 kB / 0.9872 GB, free: 12.14 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 9.838e-05/0.008347, allocations: 107.5 kB / 0.9873 GB, free: 12.04 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 9.323e-05/0.00844, allocations: 127.6 kB / 0.9874 GB, free: 11.91 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0004859/0.008926, allocations: 0.6346 MB / 0.9881 GB, free: 11.28 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.883e-06/0.008928, allocations: 0 / 0.9881 GB, free: 11.28 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.442e-06/0.008929, allocations: 3.938 kB / 0.9881 GB, free: 11.27 MB / 0.948 GB Notification: Performance of Transformations before backend: time 6.432e-06/0.008936, allocations: 0 / 0.9881 GB, free: 11.27 MB / 0.948 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.0008678/0.009803, allocations: 0.7358 MB / 0.9888 GB, free: 10.5 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.356e-05/0.009837, allocations: 12.03 kB / 0.9888 GB, free: 10.49 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.868e-05/0.009886, allocations: 66.72 kB / 0.9889 GB, free: 10.41 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001565/0.01004, allocations: 68.59 kB / 0.9889 GB, free: 10.35 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004723/0.01051, allocations: 391 kB / 0.9893 GB, free: 9.941 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.144e-05/0.01054, allocations: 21.03 kB / 0.9893 GB, free: 9.922 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.267e-05/0.01057, allocations: 32.31 kB / 0.9893 GB, free: 9.891 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003833/0.01095, allocations: 379.7 kB / 0.9897 GB, free: 9.484 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.867e-06/0.01096, allocations: 0 / 0.9897 GB, free: 9.484 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.926e-05/0.01098, allocations: 12 kB / 0.9897 GB, free: 9.473 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.683e-06/0.01099, allocations: 8 kB / 0.9897 GB, free: 9.465 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003049/0.01129, allocations: 209.8 kB / 0.9899 GB, free: 9.262 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008853/0.01218, allocations: 0.9954 MB / 0.9909 GB, free: 8.203 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003792/0.01256, allocations: 226.9 kB / 0.9911 GB, free: 7.973 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001374/0.01269, allocations: 108.7 kB / 0.9912 GB, free: 7.863 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.971e-05/0.01271, allocations: 4 kB / 0.9912 GB, free: 7.859 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002184/0.01293, allocations: 165.7 kB / 0.9914 GB, free: 7.688 MB / 0.948 GB Notification: Performance of pre-optimization done (n=23): time 1.674e-06/0.01293, allocations: 0 / 0.9914 GB, free: 7.688 MB / 0.948 GB Notification: Performance of matching and sorting (n=23): time 0.0005098/0.01344, allocations: 352 kB / 0.9917 GB, free: 7.34 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.724e-05/0.01348, allocations: 85.05 kB / 0.9918 GB, free: 7.238 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003442/0.01382, allocations: 469.9 kB / 0.9922 GB, free: 6.766 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 2.049e-05/0.01385, allocations: 29.7 kB / 0.9923 GB, free: 6.73 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000126/0.01397, allocations: 236.7 kB / 0.9925 GB, free: 6.496 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 4.183e-05/0.01401, allocations: 75.36 kB / 0.9926 GB, free: 6.422 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.391e-05/0.01408, allocations: 57.66 kB / 0.9926 GB, free: 6.359 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.323e-05/0.01417, allocations: 354.8 kB / 0.993 GB, free: 6.004 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001348/0.0143, allocations: 91.89 kB / 0.9931 GB, free: 5.914 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001659/0.01447, allocations: 202.2 kB / 0.9932 GB, free: 5.68 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002675/0.01474, allocations: 216.9 kB / 0.9935 GB, free: 5.449 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.01474, allocations: 4 kB / 0.9935 GB, free: 5.445 MB / 0.948 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003526/0.01509, allocations: 303.7 kB / 0.9937 GB, free: 5.145 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/0.01511, allocations: 19.06 kB / 0.9938 GB, free: 5.129 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.01511, allocations: 0 / 0.9938 GB, free: 5.129 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.162e-05/0.01512, allocations: 4 kB / 0.9938 GB, free: 5.125 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001307/0.01525, allocations: 51.91 kB / 0.9938 GB, free: 5.074 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.121e-06/0.01526, allocations: 4 kB / 0.9938 GB, free: 5.07 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.938e-05/0.01535, allocations: 27.83 kB / 0.9938 GB, free: 5.043 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.338e-05/0.01536, allocations: 8 kB / 0.9939 GB, free: 5.035 MB / 0.948 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.0001361/0.0155, allocations: 179.2 kB / 0.994 GB, free: 4.852 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.569e-05/0.01554, allocations: 43.72 kB / 0.9941 GB, free: 4.809 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003894/0.01592, allocations: 305.3 kB / 0.9944 GB, free: 4.504 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.01593, allocations: 4 kB / 0.9944 GB, free: 4.5 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.01593, allocations: 0 / 0.9944 GB, free: 4.5 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.01594, allocations: 0 / 0.9944 GB, free: 4.5 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002509/0.01619, allocations: 356.4 kB / 0.9947 GB, free: 4.109 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.01619, allocations: 0 / 0.9947 GB, free: 4.109 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001066/0.0163, allocations: 39.97 kB / 0.9947 GB, free: 4.07 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.0163, allocations: 4 kB / 0.9947 GB, free: 4.066 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.493e-05/0.01631, allocations: 7.938 kB / 0.9948 GB, free: 4.059 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.01632, allocations: 4 kB / 0.9948 GB, free: 4.055 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.01632, allocations: 0 / 0.9948 GB, free: 4.055 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005041/0.01682, allocations: 433.7 kB / 0.9952 GB, free: 3.613 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 8.548e-05/0.01691, allocations: 67.66 kB / 0.9952 GB, free: 3.547 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.127e-05/0.01694, allocations: 8 kB / 0.9952 GB, free: 3.539 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.133e-05/0.01701, allocations: 23.92 kB / 0.9953 GB, free: 3.516 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.257e-05/0.01706, allocations: 19.97 kB / 0.9953 GB, free: 3.496 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.788e-05/0.01708, allocations: 7.984 kB / 0.9953 GB, free: 3.488 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0002418/0.01732, allocations: 331.1 kB / 0.9956 GB, free: 3.168 MB / 0.948 GB Notification: Performance of sort global known variables: time 8.1e-08/0.01732, allocations: 0 / 0.9956 GB, free: 3.168 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0002331/0.01755, allocations: 79.78 kB / 0.9957 GB, free: 3.09 MB / 0.948 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) * Number of clocked states: 0 () * 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 (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.001314/0.01887, allocations: 1.319 MB / 0.997 GB, free: 1.934 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0005112/0.01938, allocations: 223.6 kB / 0.9972 GB, free: 1.715 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.889e-06/0.01938, allocations: 0 / 0.9972 GB, free: 1.715 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002053/0.01959, allocations: 110.8 kB / 0.9973 GB, free: 1.609 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004113/0.02, allocations: 111.6 kB / 0.9974 GB, free: 1.504 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003976/0.02398, allocations: 3.494 MB / 1.001 GB, free: 13.89 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000148/0.02413, allocations: 215.4 kB / 1.001 GB, free: 13.66 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.0001674/0.02429, allocations: 55.25 kB / 1.001 GB, free: 13.6 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001677/0.02446, allocations: 156.4 kB / 1.001 GB, free: 13.45 MB / 0.9636 GB Notification: Performance of SimCode: time 9.71e-07/0.02446, allocations: 0 / 1.001 GB, free: 13.45 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02847/0.05293, allocations: 10.22 MB / 1.011 GB, free: 3.457 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.498/7.551, allocations: 2.812 kB / 1.011 GB, free: 3.457 MB / 0.9636 GB " [Timeout remaining time 292] (rm -f Buildings_12_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe ; mkfifo Buildings_12_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe ; head -c 1048576 < Buildings_12_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe >> ../files/Buildings_12_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed_res.csv --start-time 0 --stop-time 1080 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.432 Buildings_12_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingTowerSpeed.fmu > Buildings_12_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 11.778488928452134] Failed to read output from testmodel.py, exit status != 0: 7.656015080399811 7.668839091 7.657127063 Calling exit ...