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.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Templates.Plants.Controls.Pumps.Primary.Validation.DisableDedicated,fileNamePrefix="Buildings_latest_Buildings_Templates_Plants_Controls_Pumps_Primary_Validation_DisableDedicated",fmuType="me",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="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.001537/0.001537, 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.001481/0.001481, allocations: 193.8 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.405/1.405, allocations: 222.9 MB / 240.2 MB, free: 4.254 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.813/2.813, allocations: 482.2 MB / 0.7545 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00183/0.00183, allocations: 64.34 kB / 0.9237 GB, free: 29.45 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2817/0.2836, allocations: 162.2 MB / 1.082 GB, free: 13.39 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Pumps.Primary.Validation.DisableDedicated): time 0.002715/0.2863, allocations: 1.096 MB / 1.083 GB, free: 12.29 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.002232/0.2886, allocations: 1.54 MB / 1.085 GB, free: 10.74 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001669/0.2888, allocations: 4 kB / 1.085 GB, free: 10.73 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0001557/0.2889, allocations: 31.59 kB / 1.085 GB, free: 10.7 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0001431/0.2891, allocations: 43.58 kB / 1.085 GB, free: 10.66 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.001294/0.2904, allocations: 499.4 kB / 1.085 GB, free: 10.18 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0007543/0.2912, allocations: 0.5809 MB / 1.086 GB, free: 9.602 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002918/0.2915, allocations: 148.5 kB / 1.086 GB, free: 9.453 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003307/0.2918, allocations: 219.5 kB / 1.086 GB, free: 9.238 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003073/0.2921, allocations: 183.3 kB / 1.086 GB, free: 9.059 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0001321/0.2923, allocations: 60 kB / 1.086 GB, free: 9 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001623/0.2924, allocations: 71.98 kB / 1.086 GB, free: 8.93 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 9.968e-05/0.2926, allocations: 83.67 kB / 1.087 GB, free: 8.848 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0002596/0.2928, allocations: 219.2 kB / 1.087 GB, free: 8.633 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0006835/0.2935, allocations: 0.5495 MB / 1.087 GB, free: 8.082 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.626e-06/0.2935, allocations: 0 / 1.087 GB, free: 8.082 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.002e-06/0.2935, allocations: 4 kB / 1.087 GB, free: 8.078 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.336e-05/0.2936, allocations: 3.984 kB / 1.087 GB, free: 8.074 MB / 0.8419 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.001195/0.2948, allocations: 0.7144 MB / 1.088 GB, free: 7.281 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.505e-05/0.2948, allocations: 8.031 kB / 1.088 GB, free: 7.273 MB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.829e-05/0.2949, allocations: 58.72 kB / 1.088 GB, free: 7.207 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001257/0.295, allocations: 44.56 kB / 1.088 GB, free: 7.164 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004432/0.2955, allocations: 300.3 kB / 1.088 GB, free: 6.832 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.523e-05/0.2955, allocations: 36.92 kB / 1.088 GB, free: 6.797 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.863e-05/0.2956, allocations: 44.38 kB / 1.088 GB, free: 6.754 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004532/0.2961, allocations: 245.4 kB / 1.089 GB, free: 6.508 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.406e-05/0.2961, allocations: 11.88 kB / 1.089 GB, free: 6.496 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.982e-05/0.2962, allocations: 11.98 kB / 1.089 GB, free: 6.484 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.467e-06/0.2962, allocations: 8 kB / 1.089 GB, free: 6.477 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000347/0.2965, allocations: 170.1 kB / 1.089 GB, free: 6.312 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00161/0.2981, allocations: 0.9305 MB / 1.09 GB, free: 5.32 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004924/0.2987, allocations: 226.6 kB / 1.09 GB, free: 5.09 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001539/0.2988, allocations: 84.81 kB / 1.09 GB, free: 5.004 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.859e-05/0.2988, allocations: 4 kB / 1.09 GB, free: 5 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004265/0.2993, allocations: 249.3 kB / 1.09 GB, free: 4.742 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=34): time 1.783e-06/0.2993, allocations: 0 / 1.09 GB, free: 4.742 MB / 0.8419 GB Notification: Performance of matching and sorting (n=34): time 0.0008679/0.3002, allocations: 439.7 kB / 1.091 GB, free: 4.309 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.536e-05/0.3002, allocations: 63.39 kB / 1.091 GB, free: 4.234 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002088/0.3005, allocations: 202.4 kB / 1.091 GB, free: 4.027 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 7.231e-05/0.3005, allocations: 49.7 kB / 1.091 GB, free: 3.973 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001321/0.3007, allocations: 152.6 kB / 1.091 GB, free: 3.82 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 7.626e-05/0.3008, allocations: 75.06 kB / 1.091 GB, free: 3.746 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002239/0.301, allocations: 130 kB / 1.091 GB, free: 3.609 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001535/0.3011, allocations: 338.8 kB / 1.092 GB, free: 3.27 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003987/0.3016, allocations: 164.7 kB / 1.092 GB, free: 3.109 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004274/0.302, allocations: 261.5 kB / 1.092 GB, free: 2.82 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005789/0.3026, allocations: 419.6 kB / 1.093 GB, free: 2.355 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.438e-06/0.3026, allocations: 3.938 kB / 1.093 GB, free: 2.352 MB / 0.8419 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001128/0.3037, allocations: 0.6362 MB / 1.093 GB, free: 1.684 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 9.251e-05/0.3038, allocations: 128.8 kB / 1.093 GB, free: 1.535 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.458e-06/0.3038, allocations: 4 kB / 1.093 GB, free: 1.531 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.551e-05/0.3039, allocations: 4 kB / 1.093 GB, free: 1.527 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.522e-05/0.3039, allocations: 19.92 kB / 1.093 GB, free: 1.508 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.073e-05/0.304, allocations: 8 kB / 1.093 GB, free: 1.5 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007786/0.3047, allocations: 135.9 kB / 1.093 GB, free: 1.367 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.819e-05/0.3048, allocations: 27.98 kB / 1.093 GB, free: 1.34 MB / 0.8419 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.0002077/0.305, allocations: 189.6 kB / 1.094 GB, free: 1.148 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.499e-05/0.3051, allocations: 23.75 kB / 1.094 GB, free: 1.125 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.644e-05/0.3051, allocations: 26.64 kB / 1.094 GB, free: 1.098 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.143e-06/0.3052, allocations: 4 kB / 1.094 GB, free: 1.094 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.98e-06/0.3052, allocations: 0 / 1.094 GB, free: 1.094 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/0.3052, allocations: 0 / 1.094 GB, free: 1.094 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001004/0.3062, allocations: 0.7677 MB / 1.094 GB, free: 276 kB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.3062, allocations: 4 kB / 1.094 GB, free: 272 kB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.691e-05/0.3062, allocations: 11.98 kB / 1.094 GB, free: 260 kB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.3063, allocations: 0 / 1.094 GB, free: 260 kB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.697e-05/0.3063, allocations: 11.98 kB / 1.094 GB, free: 248 kB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.828e-06/0.3063, allocations: 7.938 kB / 1.094 GB, free: 240 kB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.3063, allocations: 0 / 1.094 GB, free: 240 kB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005645/0.3069, allocations: 434.9 kB / 1.095 GB, free: 15.79 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 6.661e-05/0.3069, allocations: 100.8 kB / 1.095 GB, free: 15.68 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.662e-05/0.307, allocations: 16 kB / 1.095 GB, free: 15.66 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001203/0.3071, allocations: 11.98 kB / 1.095 GB, free: 15.65 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.476e-05/0.3072, allocations: 31.95 kB / 1.095 GB, free: 15.62 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.868e-05/0.3073, allocations: 19.98 kB / 1.095 GB, free: 15.6 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001108/0.3074, allocations: 140.3 kB / 1.095 GB, free: 15.46 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2e-07/0.3074, allocations: 0 / 1.095 GB, free: 15.46 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0004047/0.3078, allocations: 103.8 kB / 1.095 GB, free: 15.36 MB / 0.8575 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.0009916/0.3088, allocations: 0.9958 MB / 1.096 GB, free: 14.34 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0009722/0.3098, allocations: 0.634 MB / 1.097 GB, free: 13.66 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.3098, allocations: 0.8438 kB / 1.097 GB, free: 13.66 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0002378/0.31, allocations: 159.8 kB / 1.097 GB, free: 13.5 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004039/0.3104, allocations: 47.89 kB / 1.097 GB, free: 13.45 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004621/0.3151, allocations: 3.329 MB / 1.1 GB, free: 9.957 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003872/0.3155, allocations: 0.7564 MB / 1.101 GB, free: 9.176 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0001002/0.3156, allocations: 34.27 kB / 1.101 GB, free: 9.145 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001365/0.3157, allocations: 87.41 kB / 1.101 GB, free: 9.059 MB / 0.8575 GB Notification: Performance of SimCode: time 3.31e-07/0.3157, allocations: 4 kB / 1.101 GB, free: 9.055 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0307/0.3464, allocations: 7.26 MB / 1.108 GB, free: 1.965 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.927/9.273, allocations: 8.359 kB / 1.108 GB, free: 1.957 MB / 0.8575 GB (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 --timeout=50 --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)