Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.ChillerSwitch.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.000782/0.000782, allocations: 101.5 kB / 18.95 MB, free: 1.184 MB / 13.93 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.0007998/0.0007998, allocations: 213.2 kB / 22.25 MB, free: 3.586 MB / 13.93 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 0.997/0.997, allocations: 230.6 MB / 256 MB, free: 9.598 MB / 202.7 MB " [Timeout remaining time 179] 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 2.446/2.446, allocations: 0.5556 GB / 0.8607 GB, free: 30.76 MB / 0.6667 GB " [Timeout remaining time 177] Using package Buildings with version 14.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.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.ChillerSwitch,fileNamePrefix="Buildings_latest_Buildings_Examples_ChillerPlant_DataCenter_BaseClasses_Controls_Examples_ChillerSwitch",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.ChillerSwitch,fileNamePrefix="Buildings_latest_Buildings_Examples_ChillerPlant_DataCenter_BaseClasses_Controls_Examples_ChillerSwitch",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001366/0.001366, allocations: 60.7 kB / 1.253 GB, free: 22.65 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3523/0.3537, allocations: 193.3 MB / 1.442 GB, free: 10.79 MB / 1.12 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.ChillerSwitch): time 0.002792/0.3565, allocations: 1.689 MB / 1.443 GB, free: 9.086 MB / 1.12 GB Notification: Performance of NFInst.instExpressions: time 0.0007773/0.3572, allocations: 0.5071 MB / 1.444 GB, free: 8.574 MB / 1.12 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.188e-05/0.3573, allocations: 0 / 1.444 GB, free: 8.574 MB / 1.12 GB Notification: Performance of NFTyping.typeComponents: time 5.046e-05/0.3574, allocations: 11.81 kB / 1.444 GB, free: 8.562 MB / 1.12 GB Notification: Performance of NFTyping.typeBindings: time 0.0001064/0.3575, allocations: 15.8 kB / 1.444 GB, free: 8.547 MB / 1.12 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003046/0.3578, allocations: 43.94 kB / 1.444 GB, free: 8.504 MB / 1.12 GB Notification: Performance of NFFlatten.flatten: time 0.0001478/0.3579, allocations: 91.66 kB / 1.444 GB, free: 8.414 MB / 1.12 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001306/0.3581, allocations: 20.48 kB / 1.444 GB, free: 8.391 MB / 1.12 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001578/0.3582, allocations: 35.92 kB / 1.444 GB, free: 8.355 MB / 1.12 GB Notification: Performance of NFSimplifyModel.simplify: time 7.657e-05/0.3583, allocations: 35.78 kB / 1.444 GB, free: 8.32 MB / 1.12 GB Notification: Performance of NFPackage.collectConstants: time 1.81e-05/0.3583, allocations: 8 kB / 1.444 GB, free: 8.312 MB / 1.12 GB Notification: Performance of NFFlatten.collectFunctions: time 4.806e-05/0.3584, allocations: 12 kB / 1.444 GB, free: 8.301 MB / 1.12 GB Notification: Performance of NFScalarize.scalarize: time 2.692e-05/0.3584, allocations: 23.91 kB / 1.444 GB, free: 8.277 MB / 1.12 GB Notification: Performance of NFVerifyModel.verify: time 3.327e-05/0.3584, allocations: 31.8 kB / 1.444 GB, free: 8.246 MB / 1.12 GB Notification: Performance of NFConvertDAE.convert: time 0.0001776/0.3586, allocations: 99.55 kB / 1.444 GB, free: 8.148 MB / 1.12 GB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.3586, allocations: 0 / 1.444 GB, free: 8.148 MB / 1.12 GB Notification: Performance of FrontEnd: time 2.315e-06/0.3586, allocations: 4 kB / 1.444 GB, free: 8.145 MB / 1.12 GB Notification: Performance of Transformations before backend: time 7.044e-06/0.3586, allocations: 0 / 1.444 GB, free: 8.145 MB / 1.12 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0004584/0.3591, allocations: 321.9 kB / 1.445 GB, free: 7.801 MB / 1.12 GB Notification: Performance of prepare preOptimizeDAE: time 4.631e-05/0.3591, allocations: 8.031 kB / 1.445 GB, free: 7.793 MB / 1.12 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.521e-05/0.3592, allocations: 38.73 kB / 1.445 GB, free: 7.746 MB / 1.12 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001615/0.3593, allocations: 24.88 kB / 1.445 GB, free: 7.723 MB / 1.12 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002517/0.3596, allocations: 140.1 kB / 1.445 GB, free: 7.562 MB / 1.12 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.361e-05/0.3596, allocations: 8.312 kB / 1.445 GB, free: 7.555 MB / 1.12 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.129e-05/0.3596, allocations: 8.375 kB / 1.445 GB, free: 7.547 MB / 1.12 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001988/0.3598, allocations: 117.2 kB / 1.445 GB, free: 7.414 MB / 1.12 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.504e-06/0.3598, allocations: 0 / 1.445 GB, free: 7.414 MB / 1.12 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.475e-05/0.3598, allocations: 4 kB / 1.445 GB, free: 7.41 MB / 1.12 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.3598, allocations: 0 / 1.445 GB, free: 7.41 MB / 1.12 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001018/0.3599, allocations: 51.91 kB / 1.445 GB, free: 7.359 MB / 1.12 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004027/0.3603, allocations: 279.8 kB / 1.445 GB, free: 7.043 MB / 1.12 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001214/0.3605, allocations: 58.58 kB / 1.445 GB, free: 6.977 MB / 1.12 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.946e-05/0.3605, allocations: 24.94 kB / 1.445 GB, free: 6.949 MB / 1.12 GB Notification: Performance of preOpt evalFunc (simulation): time 1.874e-05/0.3605, allocations: 0 / 1.445 GB, free: 6.949 MB / 1.12 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.301e-05/0.3606, allocations: 38.56 kB / 1.445 GB, free: 6.902 MB / 1.12 GB Notification: Performance of pre-optimization done (n=4): time 1.332e-06/0.3606, allocations: 0 / 1.445 GB, free: 6.902 MB / 1.12 GB Notification: Performance of matching and sorting (n=4): time 0.0002486/0.3608, allocations: 97.59 kB / 1.445 GB, free: 6.801 MB / 1.12 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.398e-05/0.3609, allocations: 85.11 kB / 1.446 GB, free: 6.699 MB / 1.12 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.07e-05/0.3609, allocations: 143.6 kB / 1.446 GB, free: 6.551 MB / 1.12 GB Notification: Performance of collectPreVariables (initialization): time 1.657e-05/0.361, allocations: 29.7 kB / 1.446 GB, free: 6.516 MB / 1.12 GB Notification: Performance of collectInitialEqns (initialization): time 5.586e-05/0.361, allocations: 104 kB / 1.446 GB, free: 6.41 MB / 1.12 GB Notification: Performance of collectInitialBindings (initialization): time 1.603e-05/0.361, allocations: 7.953 kB / 1.446 GB, free: 6.402 MB / 1.12 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.282e-05/0.3611, allocations: 21.66 kB / 1.446 GB, free: 6.375 MB / 1.12 GB Notification: Performance of setup shared object (initialization): time 8.459e-05/0.3611, allocations: 318.8 kB / 1.446 GB, free: 6.055 MB / 1.12 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.227e-05/0.3612, allocations: 27.98 kB / 1.446 GB, free: 6.027 MB / 1.12 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.099e-05/0.3613, allocations: 63.41 kB / 1.446 GB, free: 5.953 MB / 1.12 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.292e-05/0.3613, allocations: 52.98 kB / 1.446 GB, free: 5.898 MB / 1.12 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.3613, allocations: 0 / 1.446 GB, free: 5.898 MB / 1.12 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001208/0.3615, allocations: 89.61 kB / 1.446 GB, free: 5.805 MB / 1.12 GB Notification: Performance of prepare postOptimizeDAE: time 1.442e-05/0.3615, allocations: 7.938 kB / 1.446 GB, free: 5.797 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.206e-06/0.3615, allocations: 0 / 1.446 GB, free: 5.797 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.631e-05/0.3615, allocations: 4 kB / 1.446 GB, free: 5.793 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.973e-05/0.3616, allocations: 11.92 kB / 1.446 GB, free: 5.781 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.661e-06/0.3616, allocations: 0 / 1.446 GB, free: 5.781 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.236e-05/0.3616, allocations: 23.88 kB / 1.446 GB, free: 5.758 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.996e-06/0.3616, allocations: 4 kB / 1.446 GB, free: 5.754 MB / 1.12 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (chiSwi.hysteresis.y,$PRE.chiSwi.hysteresis.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 8.052e-05/0.3617, allocations: 114 kB / 1.447 GB, free: 5.633 MB / 1.12 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.783e-05/0.3617, allocations: 11.94 kB / 1.447 GB, free: 5.621 MB / 1.12 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.799e-05/0.3618, allocations: 8.344 kB / 1.447 GB, free: 5.605 MB / 1.12 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.3618, allocations: 0 / 1.447 GB, free: 5.605 MB / 1.12 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.673e-06/0.3618, allocations: 4 kB / 1.447 GB, free: 5.602 MB / 1.12 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.3618, allocations: 3.938 kB / 1.447 GB, free: 5.598 MB / 1.12 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001415/0.3619, allocations: 156.7 kB / 1.447 GB, free: 5.402 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.3619, allocations: 0 / 1.447 GB, free: 5.402 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.753e-05/0.362, allocations: 8 kB / 1.447 GB, free: 5.395 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.362, allocations: 3.984 kB / 1.447 GB, free: 5.391 MB / 1.12 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.997e-06/0.362, allocations: 8 kB / 1.447 GB, free: 5.383 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.362, allocations: 0 / 1.447 GB, free: 5.383 MB / 1.12 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.362, allocations: 0 / 1.447 GB, free: 5.383 MB / 1.12 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001786/0.3622, allocations: 183.3 kB / 1.447 GB, free: 5.188 MB / 1.12 GB Notification: Performance of postOpt removeConstants (simulation): time 1.438e-05/0.3622, allocations: 7.953 kB / 1.447 GB, free: 5.18 MB / 1.12 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.907e-05/0.3622, allocations: 0 / 1.447 GB, free: 5.18 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.679e-05/0.3622, allocations: 20.05 kB / 1.447 GB, free: 5.16 MB / 1.12 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.812e-05/0.3623, allocations: 15.92 kB / 1.447 GB, free: 5.145 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.579e-06/0.3623, allocations: 0 / 1.447 GB, free: 5.145 MB / 1.12 GB Notification: Performance of sorting global known variables: time 5.594e-05/0.3624, allocations: 103.2 kB / 1.447 GB, free: 5.043 MB / 1.12 GB Notification: Performance of sort global known variables: time 5e-08/0.3624, allocations: 4 kB / 1.447 GB, free: 5.039 MB / 1.12 GB Notification: Performance of remove unused functions: time 0.0001592/0.3625, allocations: 8 kB / 1.447 GB, free: 5.031 MB / 1.12 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (chiSwi.hysteresis.y) * Number of discrete states: 1 (chiSwi.hysteresis.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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 Backend phase and start with SimCode phase: time 0.0004124/0.3629, allocations: 0.7162 MB / 1.448 GB, free: 4.289 MB / 1.12 GB Notification: Performance of simCode: created initialization part: time 0.0001859/0.3631, allocations: 55.95 kB / 1.448 GB, free: 4.234 MB / 1.12 GB Notification: Performance of simCode: created event and clocks part: time 2.806e-06/0.3631, allocations: 0 / 1.448 GB, free: 4.234 MB / 1.12 GB Notification: Performance of simCode: created simulation system equations: time 4.978e-05/0.3632, allocations: 27.98 kB / 1.448 GB, free: 4.207 MB / 1.12 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002335/0.3634, allocations: 5.344 kB / 1.448 GB, free: 4.203 MB / 1.12 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001195/0.3646, allocations: 1.461 MB / 1.449 GB, free: 2.656 MB / 1.12 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.57e-05/0.3647, allocations: 87.61 kB / 1.449 GB, free: 2.547 MB / 1.12 GB Notification: Performance of simCode: alias equations: time 4.14e-05/0.3647, allocations: 8.156 kB / 1.449 GB, free: 2.539 MB / 1.12 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.212e-05/0.3648, allocations: 19.44 kB / 1.449 GB, free: 2.523 MB / 1.12 GB Notification: Performance of SimCode: time 8.82e-07/0.3648, allocations: 0 / 1.449 GB, free: 2.523 MB / 1.12 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01716/0.3819, allocations: 2.693 MB / 1.452 GB, free: 4 kB / 1.12 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.595/6.977, allocations: 11.66 kB / 1.452 GB, free: 15.99 MB / 1.135 GB " [Timeout remaining time 293] (rm -f Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.ChillerSwitch.pipe ; mkfifo Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.ChillerSwitch.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.ChillerSwitch.pipe >> ../files/Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.ChillerSwitch.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.ChillerSwitch_res.csv --start-time 0 --stop-time 86400 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 Buildings_latest_Buildings_Examples_ChillerPlant_DataCenter_BaseClasses_Controls_Examples_ChillerSwitch.fmu > Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.ChillerSwitch.pipe 2>&1) [Timeout 840.0] [Calling sys.exit(0), Time elapsed: 12.33076592721045]