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.00105/0.00105, allocations: 108 kB / 15.6 MB, free: 132 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.001095/0.001096, allocations: 192.8 kB / 16.53 MB, free: 6.391 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.387/1.387, allocations: 205.1 MB / 222.4 MB, free: 4.574 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.699/1.699, allocations: 292.3 MB / 0.5489 GB, free: 12.86 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.002439/0.002439, allocations: 69.48 kB / 0.6716 GB, free: 26.2 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2478/0.2502, allocations: 114.5 MB / 0.7835 GB, free: 13.41 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed): time 0.005228/0.2555, allocations: 2.94 MB / 0.7863 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002588/0.2581, allocations: 1.435 MB / 0.7877 GB, free: 8.996 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002616/0.2584, allocations: 11.94 kB / 0.7878 GB, free: 8.984 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0004172/0.2589, allocations: 107.1 kB / 0.7879 GB, free: 8.879 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.0004037/0.2593, allocations: 143 kB / 0.788 GB, free: 8.738 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008504/0.2601, allocations: 373 kB / 0.7884 GB, free: 8.379 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0005467/0.2607, allocations: 0.5266 MB / 0.7889 GB, free: 7.852 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003581/0.261, allocations: 217.3 kB / 0.7891 GB, free: 7.633 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002645/0.2613, allocations: 203.1 kB / 0.7893 GB, free: 7.434 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00025/0.2616, allocations: 199 kB / 0.7895 GB, free: 7.238 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 6.57e-05/0.2617, allocations: 40 kB / 0.7895 GB, free: 7.199 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001888/0.2618, allocations: 95.95 kB / 0.7896 GB, free: 7.105 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001338/0.262, allocations: 103.6 kB / 0.7897 GB, free: 7.004 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002122/0.2622, allocations: 218.7 kB / 0.7899 GB, free: 6.789 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0007047/0.2629, allocations: 0.5763 MB / 0.7905 GB, free: 6.211 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.532e-06/0.2629, allocations: 4 kB / 0.7905 GB, free: 6.207 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.176e-06/0.2629, allocations: 0 / 0.7905 GB, free: 6.207 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.421e-05/0.263, allocations: 0 / 0.7905 GB, free: 6.207 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.001295/0.2643, allocations: 0.7959 MB / 0.7912 GB, free: 5.355 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.43e-05/0.2643, allocations: 8.031 kB / 0.7912 GB, free: 5.348 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.529e-05/0.2644, allocations: 62.73 kB / 0.7913 GB, free: 5.277 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.724e-05/0.2645, allocations: 56.22 kB / 0.7914 GB, free: 5.223 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000623/0.2651, allocations: 434.5 kB / 0.7918 GB, free: 4.758 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.147e-05/0.2652, allocations: 24.69 kB / 0.7918 GB, free: 4.734 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.923e-05/0.2652, allocations: 28 kB / 0.7918 GB, free: 4.707 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005967/0.2659, allocations: 327.9 kB / 0.7921 GB, free: 4.355 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/0.2659, allocations: 0 / 0.7921 GB, free: 4.355 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.281e-05/0.2659, allocations: 12 kB / 0.7921 GB, free: 4.344 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.376e-06/0.2659, allocations: 4 kB / 0.7922 GB, free: 4.34 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004948/0.2664, allocations: 214.1 kB / 0.7924 GB, free: 4.133 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001568/0.268, allocations: 1.108 MB / 0.7934 GB, free: 2.961 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006399/0.2687, allocations: 246.9 kB / 0.7937 GB, free: 2.711 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002535/0.2689, allocations: 111.2 kB / 0.7938 GB, free: 2.602 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.69e-05/0.269, allocations: 4 kB / 0.7938 GB, free: 2.598 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004354/0.2694, allocations: 162.3 kB / 0.7939 GB, free: 2.43 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=23): time 1.823e-06/0.2694, allocations: 0 / 0.7939 GB, free: 2.43 MB / 0.6075 GB Notification: Performance of matching and sorting (n=23): time 0.0009169/0.2703, allocations: 352.7 kB / 0.7943 GB, free: 2.078 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.577e-05/0.2704, allocations: 106.8 kB / 0.7944 GB, free: 1.949 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005019/0.2709, allocations: 445.9 kB / 0.7948 GB, free: 1.508 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.523e-05/0.271, allocations: 37.7 kB / 0.7948 GB, free: 1.465 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001922/0.2712, allocations: 228.5 kB / 0.7951 GB, free: 1.234 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 6.78e-05/0.2713, allocations: 74.84 kB / 0.7951 GB, free: 1.16 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.971e-05/0.2714, allocations: 65.62 kB / 0.7952 GB, free: 1.09 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001734/0.2715, allocations: 346.8 kB / 0.7955 GB, free: 0.7422 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000221/0.2718, allocations: 87.95 kB / 0.7956 GB, free: 0.6562 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002769/0.2721, allocations: 167.6 kB / 0.7958 GB, free: 476 kB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004571/0.2725, allocations: 219.3 kB / 0.796 GB, free: 240 kB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.2725, allocations: 0 / 0.796 GB, free: 240 kB / 0.6075 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005972/0.2731, allocations: 303.9 kB / 0.7963 GB, free: 15.93 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.672e-05/0.2732, allocations: 4 kB / 0.7963 GB, free: 15.93 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.709e-06/0.2732, allocations: 4 kB / 0.7963 GB, free: 15.93 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.967e-05/0.2732, allocations: 0 / 0.7963 GB, free: 15.93 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002402/0.2735, allocations: 55.91 kB / 0.7963 GB, free: 15.87 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.026e-05/0.2735, allocations: 4 kB / 0.7963 GB, free: 15.87 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001718/0.2737, allocations: 27.73 kB / 0.7964 GB, free: 15.84 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.915e-05/0.2737, allocations: 8 kB / 0.7964 GB, free: 15.83 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.000209/0.2739, allocations: 187.1 kB / 0.7965 GB, free: 15.64 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.352e-05/0.274, allocations: 47.38 kB / 0.7966 GB, free: 15.59 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.518e-05/0.2741, allocations: 51.77 kB / 0.7966 GB, free: 15.54 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.971e-06/0.2741, allocations: 4 kB / 0.7966 GB, free: 15.54 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.2741, allocations: 0 / 0.7966 GB, free: 15.54 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.2741, allocations: 0 / 0.7966 GB, free: 15.54 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004/0.2745, allocations: 409.2 kB / 0.797 GB, free: 15.09 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.2745, allocations: 0 / 0.797 GB, free: 15.09 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002033/0.2747, allocations: 43.91 kB / 0.7971 GB, free: 15.05 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.2747, allocations: 4 kB / 0.7971 GB, free: 15.04 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.025e-05/0.2748, allocations: 4 kB / 0.7971 GB, free: 15.04 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.397e-06/0.2748, allocations: 3.984 kB / 0.7971 GB, free: 15.04 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.2748, allocations: 0 / 0.7971 GB, free: 15.04 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008312/0.2756, allocations: 416.2 kB / 0.7975 GB, free: 14.61 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001614/0.2758, allocations: 148.6 kB / 0.7976 GB, free: 14.45 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.401e-05/0.2759, allocations: 4 kB / 0.7976 GB, free: 14.44 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001487/0.276, allocations: 15.92 kB / 0.7976 GB, free: 14.43 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.28e-05/0.2761, allocations: 15.98 kB / 0.7977 GB, free: 14.41 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.664e-05/0.2761, allocations: 15.98 kB / 0.7977 GB, free: 14.39 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0003432/0.2765, allocations: 319.1 kB / 0.798 GB, free: 14.08 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2765, allocations: 0 / 0.798 GB, free: 14.08 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003393/0.2768, allocations: 83.73 kB / 0.7981 GB, free: 14 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.002023/0.2789, allocations: 1.288 MB / 0.7993 GB, free: 12.85 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0006045/0.2795, allocations: 223.8 kB / 0.7995 GB, free: 12.63 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.2795, allocations: 0 / 0.7995 GB, free: 12.63 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002513/0.2797, allocations: 123 kB / 0.7996 GB, free: 12.51 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005352/0.2803, allocations: 110.8 kB / 0.7997 GB, free: 12.41 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004608/0.2849, allocations: 3.469 MB / 0.8031 GB, free: 8.836 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000393/0.2853, allocations: 0.8225 MB / 0.8039 GB, free: 7.988 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002063/0.2855, allocations: 47.27 kB / 0.804 GB, free: 7.941 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001983/0.2857, allocations: 147.3 kB / 0.8041 GB, free: 7.797 MB / 0.6231 GB Notification: Performance of SimCode: time 4.81e-07/0.2857, allocations: 0 / 0.8041 GB, free: 7.797 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02976/0.3155, allocations: 8.836 MB / 0.8128 GB, free: 15.19 MB / 0.6388 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.872/8.187, allocations: 15.48 kB / 0.8128 GB, free: 15.18 MB / 0.6388 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)