Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Templates.Plants.Controls.Pumps.Primary.Validation.DisableDedicated.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.001512/0.001512, allocations: 97.92 kB / 19.73 MB, free: 2.133 MB / 14.72 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.001661/0.001661, allocations: 215.9 kB / 23.03 MB, free: 4.949 MB / 14.72 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 1.426/1.426, allocations: 230.6 MB / 256.8 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.106/3.106, allocations: 0.5003 GB / 0.8062 GB, free: 28.27 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.Templates.Plants.Controls.Pumps.Primary.Validation.DisableDedicated,fileNamePrefix="Buildings_latest_Buildings_Templates_Plants_Controls_Pumps_Primary_Validation_DisableDedicated",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Templates.Plants.Controls.Pumps.Primary.Validation.DisableDedicated,fileNamePrefix="Buildings_latest_Buildings_Templates_Plants_Controls_Pumps_Primary_Validation_DisableDedicated",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002073/0.002073, allocations: 70.73 kB / 1.17 GB, free: 19.65 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3113/0.3133, allocations: 179 MB / 1.345 GB, free: 15.98 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Pumps.Primary.Validation.DisableDedicated): time 0.002486/0.3158, allocations: 1.043 MB / 1.346 GB, free: 14.94 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.002145/0.318, allocations: 1.545 MB / 1.348 GB, free: 13.38 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001401/0.3181, allocations: 4 kB / 1.348 GB, free: 13.38 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0001421/0.3182, allocations: 31.59 kB / 1.348 GB, free: 13.34 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001328/0.3184, allocations: 55.58 kB / 1.348 GB, free: 13.29 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.001139/0.3195, allocations: 490.2 kB / 1.348 GB, free: 12.82 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0006864/0.3202, allocations: 0.5653 MB / 1.349 GB, free: 12.25 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002234/0.3204, allocations: 105.2 kB / 1.349 GB, free: 12.14 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003033/0.3207, allocations: 227.5 kB / 1.349 GB, free: 11.92 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003491/0.3211, allocations: 223.2 kB / 1.349 GB, free: 11.7 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0001231/0.3212, allocations: 60 kB / 1.35 GB, free: 11.64 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001435/0.3213, allocations: 68 kB / 1.35 GB, free: 11.58 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 8.942e-05/0.3214, allocations: 79.73 kB / 1.35 GB, free: 11.5 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0002273/0.3217, allocations: 187.4 kB / 1.35 GB, free: 11.32 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0006576/0.3223, allocations: 0.5762 MB / 1.35 GB, free: 10.74 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 6.242e-06/0.3223, allocations: 4 kB / 1.35 GB, free: 10.73 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.262e-06/0.3223, allocations: 0 / 1.35 GB, free: 10.73 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.113e-05/0.3223, allocations: 0 / 1.35 GB, free: 10.73 MB / 1.045 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 58 * Number of variables: 58 Notification: Performance of Generate backend data structure: time 0.001124/0.3235, allocations: 0.6393 MB / 1.351 GB, free: 10.04 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.415e-05/0.3235, allocations: 16.03 kB / 1.351 GB, free: 10.02 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.07e-05/0.3235, allocations: 4.688 kB / 1.351 GB, free: 10.02 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.139e-05/0.3236, allocations: 62.72 kB / 1.351 GB, free: 9.945 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001249/0.3237, allocations: 48.73 kB / 1.351 GB, free: 9.898 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004817/0.3242, allocations: 238.5 kB / 1.351 GB, free: 9.641 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.159e-05/0.3243, allocations: 40.86 kB / 1.351 GB, free: 9.602 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.732e-05/0.3243, allocations: 40.38 kB / 1.351 GB, free: 9.562 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004557/0.3248, allocations: 252.3 kB / 1.352 GB, free: 9.309 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.3248, allocations: 0 / 1.352 GB, free: 9.309 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.895e-05/0.3248, allocations: 7.984 kB / 1.352 GB, free: 9.301 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.063e-06/0.3248, allocations: 12 kB / 1.352 GB, free: 9.289 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003033/0.3251, allocations: 169.8 kB / 1.352 GB, free: 9.125 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001333/0.3265, allocations: 0.7555 MB / 1.353 GB, free: 8.316 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004503/0.3269, allocations: 210.5 kB / 1.353 GB, free: 8.102 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001393/0.3271, allocations: 68.83 kB / 1.353 GB, free: 8.031 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.414e-05/0.3271, allocations: 11.92 kB / 1.353 GB, free: 8.02 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004412/0.3275, allocations: 265.2 kB / 1.353 GB, free: 7.746 MB / 1.045 GB Notification: Performance of pre-optimization done (n=34): time 1.793e-06/0.3275, allocations: 0 / 1.353 GB, free: 7.746 MB / 1.045 GB Notification: Performance of matching and sorting (n=34): time 0.000821/0.3284, allocations: 446.9 kB / 1.354 GB, free: 7.305 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.272e-05/0.3284, allocations: 59.41 kB / 1.354 GB, free: 7.234 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00022/0.3286, allocations: 211.9 kB / 1.354 GB, free: 7.016 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 6.803e-05/0.3287, allocations: 45.7 kB / 1.354 GB, free: 6.965 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001384/0.3288, allocations: 156.8 kB / 1.354 GB, free: 6.809 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 7.336e-05/0.3289, allocations: 75.42 kB / 1.354 GB, free: 6.734 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002359/0.3291, allocations: 142 kB / 1.354 GB, free: 6.586 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001419/0.3293, allocations: 334.8 kB / 1.355 GB, free: 6.25 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004391/0.3297, allocations: 287.5 kB / 1.355 GB, free: 5.945 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004966/0.3302, allocations: 384.1 kB / 1.355 GB, free: 5.508 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005699/0.3308, allocations: 420.3 kB / 1.356 GB, free: 5.039 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/0.3308, allocations: 0 / 1.356 GB, free: 5.039 MB / 1.045 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.00117/0.332, allocations: 0.7501 MB / 1.356 GB, free: 4.234 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001014/0.3321, allocations: 130.8 kB / 1.356 GB, free: 4.082 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.814e-06/0.3321, allocations: 0 / 1.356 GB, free: 4.082 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.037e-05/0.3321, allocations: 8.281 kB / 1.356 GB, free: 4.074 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.903e-05/0.3322, allocations: 27.92 kB / 1.356 GB, free: 4.047 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.308e-05/0.3322, allocations: 7.938 kB / 1.356 GB, free: 4.039 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006382/0.3328, allocations: 127.7 kB / 1.357 GB, free: 3.914 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.631e-05/0.3329, allocations: 39.92 kB / 1.357 GB, free: 3.875 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 43 ($whenCondition14,$whenCondition15,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,enaDedReq.ini.y,enaDedReq.lat.y,enaDed.ini.y,enaDed.lat.y,y1.y,$PRE.y1.y,$whenCondition10,$whenCondition11,$whenCondition13,y1EquLea.y,$PRE.y1EquLea.y,y1ReqEquLea.y,$PRE.y1ReqEquLea.y,enaDedReq.edg.y,enaDedReq.edg.u,$PRE.enaDedReq.edg.u,enaDedReq.timOff.passed,$PRE.enaDedReq.timOff.passed,enaDedReq.offOrNotReq.y,enaDed.edg.y,enaDed.edg.u,$PRE.enaDed.edg.u,enaDed.timOff.passed,$PRE.enaDed.timOff.passed,y1EquLea_actual.y,$PRE.y1EquLea_actual.y,enaDedReq.timOff.entryTime,$PRE.enaDedReq.timOff.entryTime,enaDed.timOff.entryTime,$PRE.enaDed.timOff.entryTime,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition12,enaDed.fal.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 4 * 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.0002219/0.3331, allocations: 165.8 kB / 1.357 GB, free: 3.703 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.084e-05/0.3332, allocations: 27.8 kB / 1.357 GB, free: 3.676 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.79e-05/0.3333, allocations: 30.64 kB / 1.357 GB, free: 3.645 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.691e-06/0.3333, allocations: 4 kB / 1.357 GB, free: 3.641 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.062e-06/0.3333, allocations: 0 / 1.357 GB, free: 3.641 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.3333, allocations: 0 / 1.357 GB, free: 3.641 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001032/0.3343, allocations: 0.7176 MB / 1.358 GB, free: 2.875 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.3343, allocations: 0 / 1.358 GB, free: 2.875 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.628e-05/0.3344, allocations: 15.94 kB / 1.358 GB, free: 2.859 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/0.3344, allocations: 0 / 1.358 GB, free: 2.859 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.551e-05/0.3344, allocations: 11.98 kB / 1.358 GB, free: 2.848 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.188e-06/0.3344, allocations: 4 kB / 1.358 GB, free: 2.844 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.067e-06/0.3344, allocations: 4 kB / 1.358 GB, free: 2.84 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005681/0.335, allocations: 444.7 kB / 1.358 GB, free: 2.391 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 3.51e-05/0.335, allocations: 23.8 kB / 1.358 GB, free: 2.367 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.671e-05/0.335, allocations: 11.98 kB / 1.358 GB, free: 2.355 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001285/0.3352, allocations: 15.98 kB / 1.358 GB, free: 2.34 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.476e-05/0.3353, allocations: 39.94 kB / 1.358 GB, free: 2.301 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.438e-05/0.3353, allocations: 19.98 kB / 1.358 GB, free: 2.281 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0001031/0.3354, allocations: 127.4 kB / 1.358 GB, free: 2.156 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.3354, allocations: 0 / 1.358 GB, free: 2.156 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0004184/0.3358, allocations: 115.8 kB / 1.358 GB, free: 2.043 MB / 1.045 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 32 (enaDed.ini.y,enaDedReq.ini.y,$whenCondition14,$whenCondition15,$whenCondition13,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,y1.y,enaDed.lat.y,enaDed.timOff.passed,enaDed.timOff.entryTime,enaDed.edg.u,enaDed.edg.y,enaDedReq.lat.y,enaDedReq.offOrNotReq.y,enaDedReq.timOff.passed,enaDedReq.timOff.entryTime,enaDedReq.edg.u,enaDedReq.edg.y,y1ReqEquLea.y,y1EquLea.y,y1EquLea_actual.y) * Number of discrete states: 4 (enaDedReq.timOff.entryTime,enaDed.timOff.entryTime,enaDedReq.edg.u,enaDed.edg.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.0009501/0.3368, allocations: 0.9996 MB / 1.359 GB, free: 1.02 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0009165/0.3377, allocations: 0.6802 MB / 1.36 GB, free: 272 kB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.3377, allocations: 0 / 1.36 GB, free: 272 kB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0002095/0.3379, allocations: 131.8 kB / 1.36 GB, free: 140 kB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003963/0.3383, allocations: 45.59 kB / 1.36 GB, free: 96 kB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00486/0.3432, allocations: 3.855 MB / 1.364 GB, free: 11.96 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001466/0.3433, allocations: 155.5 kB / 1.364 GB, free: 11.79 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 9.206e-05/0.3434, allocations: 22.3 kB / 1.364 GB, free: 11.77 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001379/0.3435, allocations: 87.39 kB / 1.364 GB, free: 11.68 MB / 1.061 GB Notification: Performance of SimCode: time 4.81e-07/0.3435, allocations: 0 / 1.364 GB, free: 11.68 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03075/0.3743, allocations: 8.033 MB / 1.372 GB, free: 3.883 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.08/11.46, allocations: 8 kB / 1.372 GB, free: 3.875 MB / 1.061 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Templates.Plants.Controls.Pumps.Primary.Validation.DisableDedicated.pipe ; mkfifo Buildings_latest_Buildings.Templates.Plants.Controls.Pumps.Primary.Validation.DisableDedicated.pipe ; head -c 1048576 < Buildings_latest_Buildings.Templates.Plants.Controls.Pumps.Primary.Validation.DisableDedicated.pipe >> ../files/Buildings_latest_Buildings.Templates.Plants.Controls.Pumps.Primary.Validation.DisableDedicated.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Templates.Plants.Controls.Pumps.Primary.Validation.DisableDedicated_res.mat --tempDir=temp_Buildings_latest_Buildings_Templates_Plants_Controls_Pumps_Primary_Validation_DisableDedicated_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Templates_Plants_Controls_Pumps_Primary_Validation_DisableDedicated.fmu > Buildings_latest_Buildings.Templates.Plants.Controls.Pumps.Primary.Validation.DisableDedicated.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 17.834468079032376] Failed to read output from testmodel.py, exit status != 0: 11.618322832975537 11.63559298 11.309980344 Calling exit ...