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.0008287/0.0008287, allocations: 96.7 kB / 19.44 MB, free: 356 kB / 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.0008983/0.0008983, allocations: 161.3 kB / 22.75 MB, free: 1.684 MB / 18.57 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.9065/0.9065, allocations: 177.1 MB / 203.1 MB, free: 5.598 MB / 186.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 1.958/1.958, allocations: 428.6 MB / 0.672 GB, free: 4.887 MB / 0.6355 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 1.893e-06/1.893e-06, allocations: 0 / 0.8758 GB, free: 8.383 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.909e-05/3.098e-05, allocations: 4.422 kB / 0.8758 GB, free: 8.379 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.ChillerSwitch): time 0.002619/0.00265, allocations: 1.704 MB / 0.8775 GB, free: 6.688 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0006449/0.003295, allocations: 497.1 kB / 0.878 GB, free: 6.203 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.444e-05/0.003359, allocations: 9.156 kB / 0.878 GB, free: 6.195 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.547e-05/0.003385, allocations: 7.875 kB / 0.878 GB, free: 6.188 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 6.839e-05/0.003453, allocations: 12.64 kB / 0.878 GB, free: 6.176 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002335/0.003687, allocations: 55.8 kB / 0.878 GB, free: 6.121 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001192/0.003806, allocations: 88.22 kB / 0.8781 GB, free: 6.035 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 9.565e-05/0.003902, allocations: 17.31 kB / 0.8781 GB, free: 6.016 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001357/0.004037, allocations: 55.83 kB / 0.8782 GB, free: 5.961 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 6.243e-05/0.0041, allocations: 28.56 kB / 0.8782 GB, free: 5.934 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.778e-05/0.004117, allocations: 8 kB / 0.8782 GB, free: 5.926 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 4.054e-05/0.004158, allocations: 17.45 kB / 0.8782 GB, free: 5.91 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.493e-05/0.004173, allocations: 15.92 kB / 0.8783 GB, free: 5.895 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.709e-05/0.0042, allocations: 23.92 kB / 0.8783 GB, free: 5.871 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001352/0.004335, allocations: 99.67 kB / 0.8784 GB, free: 5.773 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.793e-06/0.004337, allocations: 3.875 kB / 0.8784 GB, free: 5.773 MB / 0.8386 GB Notification: Performance of FrontEnd: time 6.21e-07/0.004338, allocations: 0 / 0.8784 GB, free: 5.773 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.767e-06/0.004341, allocations: 0 / 0.8784 GB, free: 5.773 MB / 0.8386 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.0003909/0.004732, allocations: 317.9 kB / 0.8787 GB, free: 5.434 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.6e-05/0.004768, allocations: 12.03 kB / 0.8787 GB, free: 5.422 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.518e-05/0.004803, allocations: 38.73 kB / 0.8787 GB, free: 5.375 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001377/0.004941, allocations: 28.86 kB / 0.8788 GB, free: 5.348 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001631/0.005104, allocations: 146.5 kB / 0.8789 GB, free: 5.18 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.107e-06/0.005113, allocations: 4.375 kB / 0.8789 GB, free: 5.176 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.104e-05/0.005124, allocations: 8.375 kB / 0.8789 GB, free: 5.168 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001663/0.005291, allocations: 114.7 kB / 0.879 GB, free: 5.039 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.58e-06/0.005296, allocations: 192 / 0.879 GB, free: 5.039 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.132e-05/0.005308, allocations: 5.25 kB / 0.879 GB, free: 5.035 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.559e-06/0.005312, allocations: 0 / 0.879 GB, free: 5.035 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.511e-05/0.005407, allocations: 52.94 kB / 0.8791 GB, free: 4.984 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003349/0.005742, allocations: 277 kB / 0.8793 GB, free: 4.672 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001008/0.005843, allocations: 51.23 kB / 0.8794 GB, free: 4.613 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.661e-05/0.00589, allocations: 33.53 kB / 0.8794 GB, free: 4.578 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.153e-05/0.005901, allocations: 3.938 kB / 0.8794 GB, free: 4.574 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.894e-05/0.00592, allocations: 31.84 kB / 0.8795 GB, free: 4.535 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=4): time 1.152e-06/0.005921, allocations: 0 / 0.8795 GB, free: 4.535 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4): time 0.0002214/0.006143, allocations: 106.1 kB / 0.8796 GB, free: 4.426 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.133e-05/0.006174, allocations: 82.47 kB / 0.8796 GB, free: 4.328 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.733e-05/0.006271, allocations: 140.1 kB / 0.8798 GB, free: 4.184 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.102e-05/0.006282, allocations: 25.7 kB / 0.8798 GB, free: 4.152 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.319e-05/0.006325, allocations: 97.45 kB / 0.8799 GB, free: 4.055 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.592e-05/0.006341, allocations: 19.89 kB / 0.8799 GB, free: 4.035 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.785e-05/0.006369, allocations: 17.72 kB / 0.8799 GB, free: 4.012 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 7.778e-05/0.006447, allocations: 322.8 kB / 0.8802 GB, free: 3.688 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.395e-05/0.006491, allocations: 20.58 kB / 0.8803 GB, free: 3.668 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.468e-05/0.006546, allocations: 68.53 kB / 0.8803 GB, free: 3.59 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.755e-05/0.006623, allocations: 52.3 kB / 0.8804 GB, free: 3.539 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.006625, allocations: 0 / 0.8804 GB, free: 3.539 MB / 0.8386 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001124/0.006737, allocations: 89.56 kB / 0.8805 GB, free: 3.445 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.17e-05/0.006749, allocations: 7.984 kB / 0.8805 GB, free: 3.438 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.006754, allocations: 4 kB / 0.8805 GB, free: 3.434 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.066e-05/0.006765, allocations: 0 / 0.8805 GB, free: 3.434 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.06e-05/0.006825, allocations: 4 kB / 0.8805 GB, free: 3.43 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.006831, allocations: 4.844 kB / 0.8805 GB, free: 3.426 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.522e-05/0.006867, allocations: 11.98 kB / 0.8805 GB, free: 3.414 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.194e-06/0.006874, allocations: 8.031 kB / 0.8805 GB, free: 3.406 MB / 0.8386 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 6.048e-05/0.006934, allocations: 121.8 kB / 0.8806 GB, free: 3.277 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.77e-05/0.006952, allocations: 7.953 kB / 0.8806 GB, free: 3.27 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.199e-05/0.006974, allocations: 12.34 kB / 0.8806 GB, free: 3.254 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.402e-06/0.006975, allocations: 0 / 0.8806 GB, free: 3.254 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.006979, allocations: 0 / 0.8806 GB, free: 3.254 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.006981, allocations: 0 / 0.8806 GB, free: 3.254 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001157/0.007097, allocations: 156.7 kB / 0.8808 GB, free: 3.059 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.007099, allocations: 3.984 kB / 0.8808 GB, free: 3.055 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.728e-05/0.007126, allocations: 8 kB / 0.8808 GB, free: 3.047 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.312e-06/0.007127, allocations: 4 kB / 0.8808 GB, free: 3.043 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.404e-06/0.007135, allocations: 7.922 kB / 0.8808 GB, free: 3.035 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.007136, allocations: 192 / 0.8808 GB, free: 3.035 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.007137, allocations: 0 / 0.8808 GB, free: 3.035 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001346/0.007271, allocations: 195.5 kB / 0.881 GB, free: 2.828 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 8.005e-06/0.007279, allocations: 3.953 kB / 0.881 GB, free: 2.824 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.627e-05/0.007295, allocations: 8 kB / 0.881 GB, free: 2.816 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.184e-05/0.007347, allocations: 7.984 kB / 0.881 GB, free: 2.809 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.276e-05/0.00739, allocations: 11.98 kB / 0.881 GB, free: 2.797 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.427e-06/0.007394, allocations: 0 / 0.881 GB, free: 2.797 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.13e-05/0.007435, allocations: 105.9 kB / 0.8811 GB, free: 2.695 MB / 0.8386 GB Notification: Performance of sort global known variables: time 6e-08/0.007435, allocations: 0 / 0.8811 GB, free: 2.695 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001526/0.007587, allocations: 27.88 kB / 0.8811 GB, free: 2.668 MB / 0.8386 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.0003274/0.007915, allocations: 0.7124 MB / 0.8818 GB, free: 1.926 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001312/0.008046, allocations: 47.97 kB / 0.8819 GB, free: 1.879 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.202e-06/0.008047, allocations: 4 kB / 0.8819 GB, free: 1.875 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 4.043e-05/0.008088, allocations: 27.92 kB / 0.8819 GB, free: 1.848 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001858/0.008273, allocations: 15.94 kB / 0.8819 GB, free: 1.832 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001082/0.009355, allocations: 1.454 MB / 0.8834 GB, free: 300 kB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.85e-05/0.009404, allocations: 83.27 kB / 0.8834 GB, free: 196 kB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.196e-05/0.009436, allocations: 3.984 kB / 0.8834 GB, free: 192 kB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.666e-05/0.009482, allocations: 28.44 kB / 0.8835 GB, free: 164 kB / 0.8386 GB Notification: Performance of SimCode: time 8.21e-07/0.009483, allocations: 0 / 0.8835 GB, free: 164 kB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01646/0.02595, allocations: 2.928 MB / 0.8863 GB, free: 13.42 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.908/6.934, allocations: 4.688 kB / 0.8863 GB, free: 13.42 MB / 0.8542 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: 11.000644383952022]