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.001214/0.001214, allocations: 109.4 kB / 15.69 MB, free: 128 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.001492/0.001492, allocations: 187.9 kB / 16.62 MB, free: 6.613 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.323/1.323, allocations: 205.1 MB / 222.5 MB, free: 4.555 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.647/1.647, allocations: 292.3 MB / 0.549 GB, free: 12.77 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.002479/0.002479, allocations: 70.53 kB / 0.6718 GB, free: 26.25 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2261/0.2286, allocations: 114.5 MB / 0.7836 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed): time 0.004446/0.2331, allocations: 2.935 MB / 0.7865 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002231/0.2354, allocations: 1.439 MB / 0.7879 GB, free: 8.859 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002206/0.2356, allocations: 11.94 kB / 0.7879 GB, free: 8.848 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0003671/0.236, allocations: 107.2 kB / 0.788 GB, free: 8.742 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.000384/0.2364, allocations: 135.1 kB / 0.7882 GB, free: 8.609 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008043/0.2372, allocations: 389.4 kB / 0.7885 GB, free: 8.234 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0005316/0.2377, allocations: 0.5383 MB / 0.789 GB, free: 7.695 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00031/0.2381, allocations: 209.4 kB / 0.7892 GB, free: 7.484 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002395/0.2383, allocations: 199.1 kB / 0.7894 GB, free: 7.289 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002123/0.2385, allocations: 195 kB / 0.7896 GB, free: 7.098 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 6.757e-05/0.2386, allocations: 44 kB / 0.7897 GB, free: 7.055 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001726/0.2388, allocations: 91.97 kB / 0.7898 GB, free: 6.965 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001092/0.2389, allocations: 107.6 kB / 0.7899 GB, free: 6.859 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.000174/0.2391, allocations: 214.7 kB / 0.7901 GB, free: 6.648 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0005817/0.2397, allocations: 0.6073 MB / 0.7907 GB, free: 6.039 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.2397, allocations: 0 / 0.7907 GB, free: 6.039 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.222e-06/0.2397, allocations: 0 / 0.7907 GB, free: 6.039 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.334e-06/0.2397, allocations: 0 / 0.7907 GB, free: 6.039 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.001155/0.2409, allocations: 0.7843 MB / 0.7914 GB, free: 5.199 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.877e-05/0.2409, allocations: 16.03 kB / 0.7914 GB, free: 5.184 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.038e-05/0.241, allocations: 62.73 kB / 0.7915 GB, free: 5.113 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.428e-05/0.2411, allocations: 52.28 kB / 0.7915 GB, free: 5.062 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006236/0.2417, allocations: 434.5 kB / 0.792 GB, free: 4.598 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.794e-05/0.2417, allocations: 24.69 kB / 0.792 GB, free: 4.574 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.607e-05/0.2418, allocations: 28 kB / 0.792 GB, free: 4.547 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000538/0.2423, allocations: 335.8 kB / 0.7923 GB, free: 4.188 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.2424, allocations: 0 / 0.7923 GB, free: 4.188 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.736e-05/0.2424, allocations: 12 kB / 0.7923 GB, free: 4.176 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.767e-06/0.2424, allocations: 8 kB / 0.7923 GB, free: 4.168 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004577/0.2429, allocations: 218.1 kB / 0.7926 GB, free: 3.957 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001278/0.2442, allocations: 1.1 MB / 0.7936 GB, free: 2.789 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005875/0.2448, allocations: 230.9 kB / 0.7939 GB, free: 2.555 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002335/0.245, allocations: 120.8 kB / 0.794 GB, free: 2.434 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.178e-05/0.245, allocations: 3.984 kB / 0.794 GB, free: 2.43 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003212/0.2454, allocations: 154.2 kB / 0.7941 GB, free: 2.27 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=23): time 1.613e-06/0.2454, allocations: 4 kB / 0.7941 GB, free: 2.266 MB / 0.6075 GB Notification: Performance of matching and sorting (n=23): time 0.0008021/0.2462, allocations: 352.7 kB / 0.7945 GB, free: 1.914 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.197e-05/0.2463, allocations: 118.7 kB / 0.7946 GB, free: 1.773 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004731/0.2468, allocations: 442 kB / 0.795 GB, free: 1.336 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.723e-05/0.2468, allocations: 33.7 kB / 0.795 GB, free: 1.297 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001775/0.247, allocations: 228.5 kB / 0.7952 GB, free: 1.066 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 6.073e-05/0.2471, allocations: 74.86 kB / 0.7953 GB, free: 0.9922 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.935e-05/0.2471, allocations: 53.69 kB / 0.7954 GB, free: 0.9336 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001562/0.2473, allocations: 354.8 kB / 0.7957 GB, free: 0.5781 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002061/0.2475, allocations: 87.95 kB / 0.7958 GB, free: 0.4922 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002563/0.2478, allocations: 159.7 kB / 0.7959 GB, free: 316 kB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004482/0.2482, allocations: 223.4 kB / 0.7962 GB, free: 76 kB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.2483, allocations: 0 / 0.7962 GB, free: 76 kB / 0.6075 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005955/0.2489, allocations: 303.9 kB / 0.7964 GB, free: 15.77 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.776e-05/0.2489, allocations: 7.984 kB / 0.7965 GB, free: 15.76 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.902e-06/0.2489, allocations: 4 kB / 0.7965 GB, free: 15.76 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.642e-05/0.2489, allocations: 0 / 0.7965 GB, free: 15.76 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002366/0.2492, allocations: 55.84 kB / 0.7965 GB, free: 15.7 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.067e-06/0.2492, allocations: 4 kB / 0.7965 GB, free: 15.7 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001729/0.2494, allocations: 31.89 kB / 0.7965 GB, free: 15.67 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.228e-05/0.2494, allocations: 12 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.0001939/0.2496, allocations: 178.4 kB / 0.7967 GB, free: 15.47 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.926e-05/0.2497, allocations: 47.38 kB / 0.7968 GB, free: 15.43 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.989e-05/0.2497, allocations: 43.83 kB / 0.7968 GB, free: 15.38 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.64e-06/0.2498, allocations: 8.031 kB / 0.7968 GB, free: 15.38 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.64e-06/0.2498, allocations: 0 / 0.7968 GB, free: 15.38 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.2498, allocations: 0 / 0.7968 GB, free: 15.38 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004148/0.2502, allocations: 421.2 kB / 0.7972 GB, free: 14.92 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.2502, allocations: 0 / 0.7972 GB, free: 14.92 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001925/0.2504, allocations: 35.97 kB / 0.7973 GB, free: 14.88 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.365e-06/0.2504, allocations: 0 / 0.7973 GB, free: 14.88 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.17e-05/0.2504, allocations: 8 kB / 0.7973 GB, free: 14.88 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.2504, allocations: 0 / 0.7973 GB, free: 14.88 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.2505, allocations: 0 / 0.7973 GB, free: 14.88 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007923/0.2512, allocations: 424.2 kB / 0.7977 GB, free: 14.44 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001386/0.2514, allocations: 144.6 kB / 0.7978 GB, free: 14.28 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.783e-05/0.2515, allocations: 8 kB / 0.7978 GB, free: 14.27 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001441/0.2516, allocations: 11.98 kB / 0.7978 GB, free: 14.26 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.812e-05/0.2517, allocations: 19.97 kB / 0.7978 GB, free: 14.24 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.477e-05/0.2517, allocations: 11.98 kB / 0.7979 GB, free: 14.23 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0003169/0.252, allocations: 323.2 kB / 0.7982 GB, free: 13.91 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.4e-07/0.252, allocations: 0 / 0.7982 GB, free: 13.91 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003187/0.2524, allocations: 79.75 kB / 0.7982 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.001956/0.2543, allocations: 1.285 MB / 0.7995 GB, free: 12.69 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0005119/0.2548, allocations: 215.8 kB / 0.7997 GB, free: 12.48 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.2549, allocations: 0 / 0.7997 GB, free: 12.48 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002419/0.2551, allocations: 119.1 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.0004946/0.2556, allocations: 112.7 kB / 0.7999 GB, free: 12.25 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004592/0.2602, allocations: 3.41 MB / 0.8033 GB, free: 8.734 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004487/0.2607, allocations: 0.807 MB / 0.804 GB, free: 7.902 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002087/0.2609, allocations: 51.25 kB / 0.8041 GB, free: 7.855 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002374/0.2611, allocations: 151.4 kB / 0.8042 GB, free: 7.707 MB / 0.6231 GB Notification: Performance of SimCode: time 6.92e-07/0.2612, allocations: 0 / 0.8042 GB, free: 7.707 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02789/0.289, allocations: 8.857 MB / 0.8129 GB, free: 15.1 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.633/7.922, allocations: 5.938 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingTowerSpeed_fmu --startTime=0 --stopTime=1080 --timeout=50 --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)