Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.Towers.Validation.WaterLevel.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.001107/0.001107, 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.001681/0.001681, allocations: 157.3 kB / 22.75 MB, free: 1.688 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.9153/0.9153, allocations: 177.1 MB / 203.1 MB, free: 5.254 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.975/1.975, allocations: 428.5 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.Controls.OBC.ASHRAE.G36.Plants.Chillers.Towers.Validation.WaterLevel,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_Plants_Chillers_Towers_Validation_WaterLevel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.Towers.Validation.WaterLevel,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_Plants_Chillers_Towers_Validation_WaterLevel",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.826e-06/2.826e-06, allocations: 0 / 0.8758 GB, free: 8.348 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.544e-05/2.826e-05, allocations: 5.859 kB / 0.8758 GB, free: 8.344 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.Towers.Validation.WaterLevel): time 0.001704/0.001732, allocations: 0.8393 MB / 0.8767 GB, free: 7.531 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001164/0.002896, allocations: 0.924 MB / 0.8776 GB, free: 6.598 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001007/0.002996, allocations: 4 kB / 0.8776 GB, free: 6.594 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001303/0.003127, allocations: 9.375 kB / 0.8776 GB, free: 6.586 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 4.775e-05/0.003174, allocations: 21.86 kB / 0.8776 GB, free: 6.566 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002354/0.00341, allocations: 39.95 kB / 0.8776 GB, free: 6.527 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001079/0.003518, allocations: 92.52 kB / 0.8777 GB, free: 6.438 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001156/0.003633, allocations: 39.91 kB / 0.8778 GB, free: 6.398 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001497/0.003783, allocations: 68.27 kB / 0.8778 GB, free: 6.332 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 6.1e-05/0.003844, allocations: 28.73 kB / 0.8779 GB, free: 6.305 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.879e-05/0.003863, allocations: 8 kB / 0.8779 GB, free: 6.297 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 4.867e-05/0.003912, allocations: 16.97 kB / 0.8779 GB, free: 6.281 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.934e-05/0.003931, allocations: 23.91 kB / 0.8779 GB, free: 6.258 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 3.291e-05/0.003964, allocations: 23.94 kB / 0.8779 GB, free: 6.234 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001861/0.00415, allocations: 136.7 kB / 0.8781 GB, free: 6.102 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.384e-06/0.004152, allocations: 0 / 0.8781 GB, free: 6.102 MB / 0.8386 GB Notification: Performance of FrontEnd: time 9.22e-07/0.004153, allocations: 0 / 0.8781 GB, free: 6.102 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.01e-06/0.004158, allocations: 1.062 kB / 0.8781 GB, free: 6.102 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0004482/0.004606, allocations: 335 kB / 0.8784 GB, free: 5.742 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.984e-05/0.004646, allocations: 8.031 kB / 0.8784 GB, free: 5.734 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.247e-05/0.004679, allocations: 38.75 kB / 0.8784 GB, free: 5.688 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001423/0.004821, allocations: 21.66 kB / 0.8784 GB, free: 5.668 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002791/0.0051, allocations: 179.3 kB / 0.8786 GB, free: 5.469 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.35e-05/0.005114, allocations: 12.31 kB / 0.8786 GB, free: 5.457 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.224e-05/0.005126, allocations: 4.375 kB / 0.8786 GB, free: 5.453 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001753/0.005301, allocations: 129.8 kB / 0.8788 GB, free: 5.312 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/0.005309, allocations: 4.172 kB / 0.8788 GB, free: 5.309 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.299e-05/0.005322, allocations: 8.375 kB / 0.8788 GB, free: 5.301 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.005328, allocations: 5.031 kB / 0.8788 GB, free: 5.297 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.069e-05/0.005409, allocations: 39.97 kB / 0.8788 GB, free: 5.258 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004691/0.005878, allocations: 428.2 kB / 0.8792 GB, free: 4.785 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 7.344e-05/0.005951, allocations: 35.44 kB / 0.8793 GB, free: 4.742 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.009e-05/0.005981, allocations: 20.91 kB / 0.8793 GB, free: 4.719 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.132e-05/0.005993, allocations: 1.25 kB / 0.8793 GB, free: 4.719 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.854e-05/0.006011, allocations: 30.56 kB / 0.8793 GB, free: 4.68 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 1.483e-06/0.006013, allocations: 0 / 0.8793 GB, free: 4.68 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.000183/0.006196, allocations: 62.61 kB / 0.8794 GB, free: 4.613 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.748e-05/0.006223, allocations: 64.92 kB / 0.8794 GB, free: 4.539 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.677e-05/0.00632, allocations: 144.3 kB / 0.8796 GB, free: 4.387 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.322e-05/0.006333, allocations: 25.7 kB / 0.8796 GB, free: 4.355 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.874e-05/0.006402, allocations: 108 kB / 0.8797 GB, free: 4.246 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 6.492e-06/0.006408, allocations: 10.95 kB / 0.8797 GB, free: 4.238 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.282e-05/0.006441, allocations: 25.7 kB / 0.8797 GB, free: 4.207 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 8.128e-05/0.006523, allocations: 318.8 kB / 0.88 GB, free: 3.887 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.118e-05/0.006554, allocations: 11.98 kB / 0.88 GB, free: 3.875 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.172e-05/0.006605, allocations: 77.98 kB / 0.8801 GB, free: 3.777 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.025e-05/0.006666, allocations: 52.83 kB / 0.8802 GB, free: 3.715 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.006668, allocations: 0 / 0.8802 GB, free: 3.715 MB / 0.8386 GB Notification: Performance of matching and sorting (n=6) (initialization): time 9.811e-05/0.006766, allocations: 82.16 kB / 0.8802 GB, free: 3.629 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.463e-05/0.006781, allocations: 5.656 kB / 0.8802 GB, free: 3.625 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.006787, allocations: 4 kB / 0.8803 GB, free: 3.621 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.174e-05/0.006798, allocations: 3.938 kB / 0.8803 GB, free: 3.617 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.145e-05/0.00685, allocations: 11.98 kB / 0.8803 GB, free: 3.605 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.222e-06/0.006856, allocations: 4.906 kB / 0.8803 GB, free: 3.602 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.57e-05/0.006892, allocations: 7.953 kB / 0.8803 GB, free: 3.594 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.939e-06/0.006902, allocations: 8.562 kB / 0.8803 GB, free: 3.586 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 3 (makUpWat.hys.y,$PRE.makUpWat.hys.y,makUpWat.greEqu.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * 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.584e-05/0.006967, allocations: 118.1 kB / 0.8804 GB, free: 3.461 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.562e-05/0.006983, allocations: 4 kB / 0.8804 GB, free: 3.457 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.435e-05/0.007007, allocations: 15.95 kB / 0.8804 GB, free: 3.441 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.007009, allocations: 3.938 kB / 0.8804 GB, free: 3.438 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.007015, allocations: 3.938 kB / 0.8804 GB, free: 3.434 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.007018, allocations: 0 / 0.8804 GB, free: 3.434 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000127/0.007145, allocations: 152.7 kB / 0.8806 GB, free: 3.242 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.007146, allocations: 0 / 0.8806 GB, free: 3.242 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.858e-05/0.007165, allocations: 7.984 kB / 0.8806 GB, free: 3.234 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.205e-06/0.007167, allocations: 3.938 kB / 0.8806 GB, free: 3.23 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.476e-06/0.007176, allocations: 0 / 0.8806 GB, free: 3.23 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.61e-07/0.007176, allocations: 4 kB / 0.8806 GB, free: 3.227 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.007179, allocations: 3.938 kB / 0.8806 GB, free: 3.223 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001077/0.007286, allocations: 143.5 kB / 0.8807 GB, free: 3.066 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 8.997e-06/0.007295, allocations: 11.94 kB / 0.8807 GB, free: 3.055 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.214e-05/0.007308, allocations: 0 / 0.8807 GB, free: 3.055 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.746e-05/0.007345, allocations: 8 kB / 0.8807 GB, free: 3.047 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.399e-05/0.007379, allocations: 7.922 kB / 0.8808 GB, free: 3.039 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.936e-06/0.007382, allocations: 0 / 0.8808 GB, free: 3.039 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.853e-05/0.007431, allocations: 113.1 kB / 0.8809 GB, free: 2.93 MB / 0.8386 GB Notification: Performance of sort global known variables: time 7e-08/0.007431, allocations: 4.031 kB / 0.8809 GB, free: 2.926 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001514/0.007582, allocations: 11.94 kB / 0.8809 GB, free: 2.914 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 (makUpWat.hys.y) * Number of discrete states: 1 (makUpWat.hys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0002963/0.007878, allocations: 0.689 MB / 0.8816 GB, free: 2.195 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001125/0.007991, allocations: 31.92 kB / 0.8816 GB, free: 2.164 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.007993, allocations: 4 kB / 0.8816 GB, free: 2.16 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.535e-05/0.008018, allocations: 16.2 kB / 0.8816 GB, free: 2.145 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002036/0.008222, allocations: 16.06 kB / 0.8816 GB, free: 2.129 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001437/0.009658, allocations: 1.414 MB / 0.883 GB, free: 0.6172 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.291e-05/0.009721, allocations: 81.31 kB / 0.8831 GB, free: 0.5156 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 4.485e-05/0.009766, allocations: 12.55 kB / 0.8831 GB, free: 0.5039 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.737e-05/0.009823, allocations: 28.48 kB / 0.8831 GB, free: 488 kB / 0.8386 GB Notification: Performance of SimCode: time 6.11e-07/0.009824, allocations: 0 / 0.8831 GB, free: 488 kB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01646/0.02629, allocations: 2.689 MB / 0.8857 GB, free: 13.92 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.528/7.555, allocations: 5.422 kB / 0.8857 GB, free: 13.92 MB / 0.8542 GB " [Timeout remaining time 292] (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.Towers.Validation.WaterLevel.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.Towers.Validation.WaterLevel.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.Towers.Validation.WaterLevel.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.Towers.Validation.WaterLevel.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.Towers.Validation.WaterLevel_res.csv --start-time 0 --stop-time 3600 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_Plants_Chillers_Towers_Validation_WaterLevel.fmu > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.Towers.Validation.WaterLevel.pipe 2>&1) [Timeout 840.0] [Calling sys.exit(0), Time elapsed: 11.709094505757093]