Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001346/0.001346, 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.00147/0.00147, allocations: 216.9 kB / 23.04 MB, free: 5.074 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.487/1.487, allocations: 230.6 MB / 256.8 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.237/3.237, allocations: 0.49 GB / 0.7959 GB, free: 33.37 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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.Templates.Plants.Controls.Pumps.Primary.Validation.DisableDedicated,fileNamePrefix="Buildings_12_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_12_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.002006/0.002006, allocations: 64.94 kB / 1.155 GB, free: 25.68 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.359/0.361, allocations: 176.1 MB / 1.327 GB, free: 1.988 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Pumps.Primary.Validation.DisableDedicated): time 0.002901/0.3639, allocations: 1.114 MB / 1.328 GB, free: 0.8789 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.00291/0.3668, allocations: 1.576 MB / 1.329 GB, free: 15.29 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002241/0.367, allocations: 7.938 kB / 1.329 GB, free: 15.28 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001866/0.3672, allocations: 39.59 kB / 1.329 GB, free: 15.24 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001555/0.3673, allocations: 39.64 kB / 1.329 GB, free: 15.2 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001352/0.3687, allocations: 496.3 kB / 1.33 GB, free: 14.73 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0007781/0.3695, allocations: 0.5733 MB / 1.33 GB, free: 14.16 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002416/0.3697, allocations: 101.2 kB / 1.33 GB, free: 14.05 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003329/0.3701, allocations: 227.5 kB / 1.331 GB, free: 13.83 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004238/0.3705, allocations: 223.2 kB / 1.331 GB, free: 13.61 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.000123/0.3706, allocations: 60 kB / 1.331 GB, free: 13.55 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001589/0.3708, allocations: 68 kB / 1.331 GB, free: 13.48 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.000138/0.3709, allocations: 83.73 kB / 1.331 GB, free: 13.4 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002673/0.3712, allocations: 211.2 kB / 1.331 GB, free: 13.2 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0007783/0.3719, allocations: 0.5723 MB / 1.332 GB, free: 12.62 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.3719, allocations: 0 / 1.332 GB, free: 12.62 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.362e-06/0.3719, allocations: 0 / 1.332 GB, free: 12.62 MB / 1.029 GB Notification: Performance of Transformations before backend: time 2.066e-05/0.372, allocations: 0 / 1.332 GB, free: 12.62 MB / 1.029 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.001325/0.3733, allocations: 0.6426 MB / 1.333 GB, free: 11.92 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.849e-05/0.3733, allocations: 12.03 kB / 1.333 GB, free: 11.91 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.029e-05/0.3734, allocations: 8.688 kB / 1.333 GB, free: 11.9 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.105e-05/0.3734, allocations: 58.72 kB / 1.333 GB, free: 11.83 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001282/0.3736, allocations: 48.73 kB / 1.333 GB, free: 11.79 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005152/0.3741, allocations: 246.5 kB / 1.333 GB, free: 11.52 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.258e-05/0.3741, allocations: 32.86 kB / 1.333 GB, free: 11.49 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.305e-05/0.3742, allocations: 40.38 kB / 1.333 GB, free: 11.45 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000497/0.3747, allocations: 252.3 kB / 1.333 GB, free: 11.2 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.711e-05/0.3747, allocations: 4 kB / 1.333 GB, free: 11.2 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.081e-05/0.3748, allocations: 11.98 kB / 1.333 GB, free: 11.18 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.264e-05/0.3748, allocations: 8 kB / 1.333 GB, free: 11.18 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003467/0.3751, allocations: 161.9 kB / 1.333 GB, free: 11.02 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001702/0.3768, allocations: 0.8801 MB / 1.334 GB, free: 10.09 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000468/0.3773, allocations: 198.6 kB / 1.334 GB, free: 9.883 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001381/0.3774, allocations: 72.81 kB / 1.334 GB, free: 9.809 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.266e-05/0.3774, allocations: 7.922 kB / 1.334 GB, free: 9.801 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004735/0.3779, allocations: 261.3 kB / 1.335 GB, free: 9.531 MB / 1.029 GB Notification: Performance of pre-optimization done (n=34): time 1.603e-06/0.3779, allocations: 0 / 1.335 GB, free: 9.531 MB / 1.029 GB Notification: Performance of matching and sorting (n=34): time 0.0008892/0.3788, allocations: 434.8 kB / 1.335 GB, free: 9.102 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.999e-05/0.3789, allocations: 67.39 kB / 1.335 GB, free: 9.023 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003379/0.3792, allocations: 202.6 kB / 1.335 GB, free: 8.812 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 8.051e-05/0.3793, allocations: 49.7 kB / 1.335 GB, free: 8.758 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001591/0.3795, allocations: 156.8 kB / 1.336 GB, free: 8.602 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 8.118e-05/0.3795, allocations: 75.48 kB / 1.336 GB, free: 8.527 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002664/0.3798, allocations: 134 kB / 1.336 GB, free: 8.387 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002523/0.3801, allocations: 334.8 kB / 1.336 GB, free: 8.051 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003743/0.3804, allocations: 168.7 kB / 1.336 GB, free: 7.887 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004887/0.3809, allocations: 261.5 kB / 1.337 GB, free: 7.594 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005852/0.3815, allocations: 410.3 kB / 1.337 GB, free: 7.133 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.633e-06/0.3815, allocations: 7.938 kB / 1.337 GB, free: 7.125 MB / 1.029 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001213/0.3827, allocations: 0.6496 MB / 1.338 GB, free: 6.445 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001591/0.3829, allocations: 126.8 kB / 1.338 GB, free: 6.297 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.919e-06/0.3829, allocations: 4 kB / 1.338 GB, free: 6.293 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.077e-05/0.3829, allocations: 4 kB / 1.338 GB, free: 6.289 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.074e-05/0.383, allocations: 19.92 kB / 1.338 GB, free: 6.27 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.263e-05/0.383, allocations: 4 kB / 1.338 GB, free: 6.266 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007034/0.3837, allocations: 131.8 kB / 1.338 GB, free: 6.137 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.776e-05/0.3838, allocations: 31.98 kB / 1.338 GB, free: 6.105 MB / 1.029 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.0002575/0.3841, allocations: 177.7 kB / 1.338 GB, free: 5.926 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.436e-05/0.3841, allocations: 31.8 kB / 1.338 GB, free: 5.895 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.944e-05/0.3842, allocations: 22.64 kB / 1.338 GB, free: 5.871 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.651e-06/0.3842, allocations: 4 kB / 1.338 GB, free: 5.867 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.3842, allocations: 0 / 1.338 GB, free: 5.867 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.842e-06/0.3842, allocations: 4 kB / 1.338 GB, free: 5.863 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00115/0.3853, allocations: 0.7359 MB / 1.339 GB, free: 5.074 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.484e-06/0.3853, allocations: 0 / 1.339 GB, free: 5.074 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.493e-05/0.3854, allocations: 15.98 kB / 1.339 GB, free: 5.059 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.3854, allocations: 0 / 1.339 GB, free: 5.059 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.793e-05/0.3854, allocations: 15.98 kB / 1.339 GB, free: 5.043 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.3854, allocations: 0 / 1.339 GB, free: 5.043 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.3854, allocations: 3.938 kB / 1.339 GB, free: 5.039 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005951/0.386, allocations: 433.9 kB / 1.339 GB, free: 4.602 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.75e-05/0.3861, allocations: 23.8 kB / 1.339 GB, free: 4.578 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.423e-05/0.3861, allocations: 8 kB / 1.339 GB, free: 4.57 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001224/0.3862, allocations: 15.98 kB / 1.339 GB, free: 4.555 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.066e-05/0.3863, allocations: 35.94 kB / 1.339 GB, free: 4.52 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.798e-05/0.3864, allocations: 23.98 kB / 1.339 GB, free: 4.496 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001227/0.3865, allocations: 128.3 kB / 1.339 GB, free: 4.371 MB / 1.029 GB Notification: Performance of sort global known variables: time 7.1e-08/0.3865, allocations: 0 / 1.339 GB, free: 4.371 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004284/0.3869, allocations: 111.8 kB / 1.34 GB, free: 4.262 MB / 1.029 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.001145/0.3881, allocations: 0.9958 MB / 1.341 GB, free: 3.238 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000895/0.3889, allocations: 0.5637 MB / 1.341 GB, free: 2.625 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.3889, allocations: 0 / 1.341 GB, free: 2.625 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.000218/0.3892, allocations: 124.3 kB / 1.341 GB, free: 2.504 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004253/0.3896, allocations: 62.72 kB / 1.341 GB, free: 2.445 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005411/0.395, allocations: 3.356 MB / 1.345 GB, free: 14.91 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004537/0.3955, allocations: 0.7603 MB / 1.345 GB, free: 14.12 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0001161/0.3956, allocations: 30.28 kB / 1.345 GB, free: 14.09 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001456/0.3957, allocations: 91.41 kB / 1.345 GB, free: 14 MB / 1.045 GB Notification: Performance of SimCode: time 1.302e-06/0.3957, allocations: 0 / 1.345 GB, free: 14 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03331/0.429, allocations: 7.667 MB / 1.353 GB, free: 6.539 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.65/12.08, allocations: 2.438 kB / 1.353 GB, free: 6.539 MB / 1.045 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Templates.Plants.Controls.Pumps.Primary.Validation.DisableDedicated.pipe ; mkfifo Buildings_12_Buildings.Templates.Plants.Controls.Pumps.Primary.Validation.DisableDedicated.pipe ; head -c 1048576 < Buildings_12_Buildings.Templates.Plants.Controls.Pumps.Primary.Validation.DisableDedicated.pipe >> ../files/Buildings_12_Buildings.Templates.Plants.Controls.Pumps.Primary.Validation.DisableDedicated.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Templates.Plants.Controls.Pumps.Primary.Validation.DisableDedicated_res.mat --tempDir=temp_Buildings_12_Buildings_Templates_Plants_Controls_Pumps_Primary_Validation_DisableDedicated_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Templates_Plants_Controls_Pumps_Primary_Validation_DisableDedicated.fmu > Buildings_12_Buildings.Templates.Plants.Controls.Pumps.Primary.Validation.DisableDedicated.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 18.86626179300947] Failed to read output from testmodel.py, exit status != 0: 12.250948988017626 12.28366541 11.905760053 Calling exit ...