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.001735/0.001735, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.002412/0.002412, allocations: 216.8 kB / 23.04 MB, free: 5.078 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.489/1.489, allocations: 230.6 MB / 256.8 MB, free: 8.008 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.34/3.34, allocations: 0.5002 GB / 0.8061 GB, free: 26.82 MB / 0.6231 GB " [Timeout remaining time 176] 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.002132/0.002132, allocations: 61.81 kB / 1.171 GB, free: 19.81 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3609/0.363, allocations: 179 MB / 1.345 GB, free: 484 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Pumps.Primary.Validation.DisableDedicated): time 0.00295/0.3659, allocations: 1.1 MB / 1.346 GB, free: 15.37 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.00238/0.3683, allocations: 1.576 MB / 1.348 GB, free: 13.78 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001503/0.3685, allocations: 7.938 kB / 1.348 GB, free: 13.77 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0001874/0.3687, allocations: 31.61 kB / 1.348 GB, free: 13.74 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001292/0.3688, allocations: 43.64 kB / 1.348 GB, free: 13.7 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.001282/0.3701, allocations: 0.4945 MB / 1.348 GB, free: 13.21 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0007025/0.3708, allocations: 0.5614 MB / 1.349 GB, free: 12.65 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002411/0.371, allocations: 109.2 kB / 1.349 GB, free: 12.54 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000268/0.3713, allocations: 223.5 kB / 1.349 GB, free: 12.32 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003116/0.3716, allocations: 215.3 kB / 1.35 GB, free: 12.11 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 9.693e-05/0.3717, allocations: 60 kB / 1.35 GB, free: 12.05 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001369/0.3718, allocations: 71.98 kB / 1.35 GB, free: 11.98 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 7.884e-05/0.3719, allocations: 79.75 kB / 1.35 GB, free: 11.9 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0002331/0.3721, allocations: 211.2 kB / 1.35 GB, free: 11.69 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0006977/0.3728, allocations: 0.5762 MB / 1.351 GB, free: 11.11 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/0.3728, allocations: 4 kB / 1.351 GB, free: 11.11 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.555e-06/0.3728, allocations: 0 / 1.351 GB, free: 11.11 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.305e-05/0.3729, allocations: 0 / 1.351 GB, free: 11.11 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.001103/0.374, allocations: 0.6462 MB / 1.351 GB, free: 10.41 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.748e-05/0.374, allocations: 12.03 kB / 1.351 GB, free: 10.39 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.06e-05/0.374, allocations: 4.688 kB / 1.351 GB, free: 10.39 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.803e-05/0.3741, allocations: 62.72 kB / 1.351 GB, free: 10.32 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001232/0.3742, allocations: 44.75 kB / 1.351 GB, free: 10.28 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005584/0.3748, allocations: 242.5 kB / 1.352 GB, free: 10.02 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.343e-05/0.3748, allocations: 32.86 kB / 1.352 GB, free: 9.984 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.288e-05/0.3749, allocations: 44.36 kB / 1.352 GB, free: 9.941 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004751/0.3754, allocations: 248.3 kB / 1.352 GB, free: 9.691 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.405e-05/0.3754, allocations: 3.984 kB / 1.352 GB, free: 9.688 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.269e-05/0.3754, allocations: 15.98 kB / 1.352 GB, free: 9.672 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.427e-05/0.3754, allocations: 8 kB / 1.352 GB, free: 9.664 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003248/0.3758, allocations: 157.9 kB / 1.352 GB, free: 9.512 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00165/0.3774, allocations: 0.884 MB / 1.353 GB, free: 8.574 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005256/0.3779, allocations: 202.5 kB / 1.353 GB, free: 8.367 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002009/0.3782, allocations: 80.78 kB / 1.353 GB, free: 8.285 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.863e-05/0.3782, allocations: 3.938 kB / 1.353 GB, free: 8.281 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004849/0.3787, allocations: 249.4 kB / 1.353 GB, free: 8.023 MB / 1.045 GB Notification: Performance of pre-optimization done (n=34): time 2.715e-06/0.3787, allocations: 0 / 1.353 GB, free: 8.023 MB / 1.045 GB Notification: Performance of matching and sorting (n=34): time 0.0009145/0.3796, allocations: 442.8 kB / 1.354 GB, free: 7.586 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.852e-05/0.3796, allocations: 59.41 kB / 1.354 GB, free: 7.516 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002466/0.3799, allocations: 215.9 kB / 1.354 GB, free: 7.293 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 9.176e-05/0.38, allocations: 57.56 kB / 1.354 GB, free: 7.23 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001578/0.3801, allocations: 148.9 kB / 1.354 GB, free: 7.082 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 8.72e-05/0.3802, allocations: 79.42 kB / 1.354 GB, free: 7.004 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002286/0.3805, allocations: 134 kB / 1.354 GB, free: 6.863 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001722/0.3806, allocations: 334.8 kB / 1.355 GB, free: 6.527 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003482/0.381, allocations: 160.7 kB / 1.355 GB, free: 6.371 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004454/0.3814, allocations: 269.2 kB / 1.355 GB, free: 6.07 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005794/0.382, allocations: 426.3 kB / 1.356 GB, free: 5.598 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.382, allocations: 4 kB / 1.356 GB, free: 5.594 MB / 1.045 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001131/0.3831, allocations: 0.6298 MB / 1.356 GB, free: 4.934 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001119/0.3832, allocations: 134.8 kB / 1.356 GB, free: 4.777 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.198e-05/0.3833, allocations: 4 kB / 1.356 GB, free: 4.773 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.951e-05/0.3833, allocations: 4 kB / 1.356 GB, free: 4.77 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001022/0.3834, allocations: 23.92 kB / 1.356 GB, free: 4.746 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.254e-05/0.3834, allocations: 8.266 kB / 1.356 GB, free: 4.738 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006956/0.3841, allocations: 123.7 kB / 1.357 GB, free: 4.617 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.248e-05/0.3842, allocations: 35.97 kB / 1.357 GB, free: 4.582 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.0002756/0.3844, allocations: 181.7 kB / 1.357 GB, free: 4.395 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.288e-05/0.3845, allocations: 27.8 kB / 1.357 GB, free: 4.367 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.235e-05/0.3845, allocations: 22.66 kB / 1.357 GB, free: 4.344 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.122e-06/0.3846, allocations: 4 kB / 1.357 GB, free: 4.34 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.273e-06/0.3846, allocations: 0 / 1.357 GB, free: 4.34 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.444e-06/0.3846, allocations: 3.984 kB / 1.357 GB, free: 4.336 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001136/0.3857, allocations: 0.7488 MB / 1.358 GB, free: 3.539 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.3857, allocations: 0 / 1.358 GB, free: 3.539 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.337e-05/0.3858, allocations: 7.938 kB / 1.358 GB, free: 3.531 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.951e-06/0.3858, allocations: 4 kB / 1.358 GB, free: 3.527 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.723e-05/0.3858, allocations: 11.98 kB / 1.358 GB, free: 3.516 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.3858, allocations: 0 / 1.358 GB, free: 3.516 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.3858, allocations: 0 / 1.358 GB, free: 3.516 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005801/0.3864, allocations: 436.7 kB / 1.358 GB, free: 3.074 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 3.624e-05/0.3864, allocations: 27.8 kB / 1.358 GB, free: 3.047 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.814e-05/0.3865, allocations: 15.98 kB / 1.358 GB, free: 3.031 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001176/0.3866, allocations: 7.984 kB / 1.358 GB, free: 3.023 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.133e-05/0.3867, allocations: 35.94 kB / 1.358 GB, free: 2.988 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.57e-05/0.3867, allocations: 19.98 kB / 1.358 GB, free: 2.969 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0001295/0.3868, allocations: 131.5 kB / 1.358 GB, free: 2.84 MB / 1.045 GB Notification: Performance of sort global known variables: time 9e-08/0.3868, allocations: 0 / 1.358 GB, free: 2.84 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0004598/0.3873, allocations: 107.8 kB / 1.358 GB, free: 2.734 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.001031/0.3883, allocations: 0.9997 MB / 1.359 GB, free: 1.711 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0009265/0.3893, allocations: 0.5634 MB / 1.36 GB, free: 1.102 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.3893, allocations: 64 / 1.36 GB, free: 1.102 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0002182/0.3895, allocations: 127.8 kB / 1.36 GB, free: 0.9766 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004136/0.3899, allocations: 49.83 kB / 1.36 GB, free: 0.9297 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004809/0.3947, allocations: 3.36 MB / 1.363 GB, free: 13.39 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003963/0.3951, allocations: 0.7564 MB / 1.364 GB, free: 12.61 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001031/0.3952, allocations: 30.28 kB / 1.364 GB, free: 12.58 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001396/0.3953, allocations: 87.41 kB / 1.364 GB, free: 12.5 MB / 1.061 GB Notification: Performance of SimCode: time 1.022e-06/0.3953, allocations: 0 / 1.364 GB, free: 12.5 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03237/0.4277, allocations: 7.66 MB / 1.372 GB, free: 5.027 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.8/12.23, allocations: 6.125 kB / 1.372 GB, free: 5.023 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: 19.12393748300383] Failed to read output from testmodel.py, exit status != 0: 12.401709006982855 12.423699199 12.047116212 Calling exit ...