Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.RequestCounter.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.0008096/0.0008096, allocations: 92.7 kB / 20.2 MB, free: 4.227 MB / 18.57 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.0008334/0.0008334, allocations: 161.3 kB / 23.51 MB, free: 0.918 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.9203/0.9203, allocations: 177.2 MB / 203.9 MB, free: 5.59 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 2.059/2.059, allocations: 428.5 MB / 0.6727 GB, free: 4.91 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: translateModel(Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.RequestCounter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.RequestCounter") translateModel(Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.RequestCounter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.RequestCounter") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 5.4e-06/5.4e-06, allocations: 4.766 kB / 0.8771 GB, free: 7.879 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.092e-05/4.632e-05, allocations: 3.25 kB / 0.8771 GB, free: 7.875 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.RequestCounter): time 0.003496/0.003543, allocations: 1.541 MB / 0.8786 GB, free: 6.348 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001131/0.004674, allocations: 497.9 kB / 0.8791 GB, free: 5.863 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.858e-05/0.004772, allocations: 5.25 kB / 0.8791 GB, free: 5.859 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001342/0.004907, allocations: 4.812 kB / 0.8791 GB, free: 5.855 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 7.758e-05/0.004984, allocations: 20.94 kB / 0.8791 GB, free: 5.836 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003581/0.005342, allocations: 44.86 kB / 0.8791 GB, free: 5.793 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0002112/0.005553, allocations: 83.77 kB / 0.8792 GB, free: 5.711 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001201/0.005674, allocations: 13.09 kB / 0.8792 GB, free: 5.699 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002682/0.005942, allocations: 71.75 kB / 0.8793 GB, free: 5.629 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 9.523e-05/0.006037, allocations: 23.91 kB / 0.8793 GB, free: 5.605 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.743e-05/0.006064, allocations: 9.031 kB / 0.8793 GB, free: 5.598 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 4.795e-05/0.006112, allocations: 8 kB / 0.8793 GB, free: 5.59 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 6.196e-05/0.006174, allocations: 21.05 kB / 0.8793 GB, free: 5.57 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0001316/0.006306, allocations: 23.91 kB / 0.8794 GB, free: 5.547 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0002004/0.006506, allocations: 83.75 kB / 0.8794 GB, free: 5.465 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.006512, allocations: 4.781 kB / 0.8795 GB, free: 5.461 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.164e-06/0.006514, allocations: 0 / 0.8795 GB, free: 5.461 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.739e-06/0.006518, allocations: 0 / 0.8795 GB, free: 5.461 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.0005295/0.007048, allocations: 379 kB / 0.8798 GB, free: 5.051 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.149e-05/0.007089, allocations: 8.031 kB / 0.8798 GB, free: 5.043 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001634/0.007253, allocations: 22.52 kB / 0.8798 GB, free: 5.023 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002287/0.007481, allocations: 137.5 kB / 0.88 GB, free: 4.863 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.458e-06/0.007491, allocations: 4.375 kB / 0.88 GB, free: 4.859 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.514e-05/0.007506, allocations: 8.375 kB / 0.88 GB, free: 4.852 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001986/0.007705, allocations: 121.1 kB / 0.8801 GB, free: 4.723 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.572e-06/0.007711, allocations: 192 / 0.8801 GB, free: 4.723 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.073e-05/0.007722, allocations: 5.969 kB / 0.8801 GB, free: 4.719 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-06/0.007726, allocations: 3.938 kB / 0.8801 GB, free: 4.715 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001497/0.007876, allocations: 104.6 kB / 0.8802 GB, free: 4.609 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003569/0.008233, allocations: 260.4 kB / 0.8805 GB, free: 4.324 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001657/0.008399, allocations: 108.2 kB / 0.8806 GB, free: 4.203 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.87e-05/0.008487, allocations: 80.11 kB / 0.8806 GB, free: 4.117 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.347e-05/0.008501, allocations: 8.094 kB / 0.8806 GB, free: 4.109 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001688/0.00867, allocations: 141.5 kB / 0.8808 GB, free: 3.953 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=7): time 1.443e-06/0.008671, allocations: 0.9062 kB / 0.8808 GB, free: 3.953 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7): time 0.0003822/0.009053, allocations: 267.3 kB / 0.881 GB, free: 3.668 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.659e-05/0.00909, allocations: 81.11 kB / 0.8811 GB, free: 3.57 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.433e-05/0.009174, allocations: 136.9 kB / 0.8812 GB, free: 3.426 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.505e-05/0.009189, allocations: 29.7 kB / 0.8813 GB, free: 3.391 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.842e-05/0.009238, allocations: 104.1 kB / 0.8814 GB, free: 3.285 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.39e-05/0.009252, allocations: 15.84 kB / 0.8814 GB, free: 3.27 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.899e-05/0.009291, allocations: 33.64 kB / 0.8814 GB, free: 3.23 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 8.646e-05/0.009377, allocations: 318.8 kB / 0.8817 GB, free: 2.91 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001064/0.009483, allocations: 107.4 kB / 0.8818 GB, free: 2.793 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.05e-05/0.009574, allocations: 103.4 kB / 0.8819 GB, free: 2.68 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001624/0.009736, allocations: 165.9 kB / 0.8821 GB, free: 2.496 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.009738, allocations: 0 / 0.8821 GB, free: 2.496 MB / 0.8386 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002672/0.01001, allocations: 276.4 kB / 0.8823 GB, free: 2.195 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 4.891e-05/0.01005, allocations: 63.39 kB / 0.8824 GB, free: 2.121 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.62e-06/0.01006, allocations: 4 kB / 0.8824 GB, free: 2.117 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.074e-05/0.01007, allocations: 0 / 0.8824 GB, free: 2.117 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.492e-05/0.01017, allocations: 15.98 kB / 0.8824 GB, free: 2.102 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.01017, allocations: 3.938 kB / 0.8824 GB, free: 2.098 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.923e-05/0.01024, allocations: 23.94 kB / 0.8825 GB, free: 2.074 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.096e-05/0.01025, allocations: 7.984 kB / 0.8825 GB, free: 2.066 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: 6 (act1.count,$PRE.act1.count,act1.T_start,$PRE.act1.T_start,reqCou.nInc,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 2 * 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 7.556e-05/0.01033, allocations: 143.5 kB / 0.8826 GB, free: 1.91 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.236e-05/0.01035, allocations: 15.89 kB / 0.8826 GB, free: 1.895 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.525e-05/0.01038, allocations: 20.77 kB / 0.8826 GB, free: 1.875 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.01038, allocations: 0 / 0.8826 GB, free: 1.875 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.01038, allocations: 0 / 0.8826 GB, free: 1.875 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.015e-06/0.01038, allocations: 0 / 0.8826 GB, free: 1.875 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003929/0.01078, allocations: 409.4 kB / 0.883 GB, free: 1.426 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.01078, allocations: 0 / 0.883 GB, free: 1.426 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.224e-05/0.01082, allocations: 11.98 kB / 0.883 GB, free: 1.414 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.01082, allocations: 0 / 0.883 GB, free: 1.414 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.275e-06/0.01083, allocations: 8 kB / 0.883 GB, free: 1.406 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.01083, allocations: 0 / 0.883 GB, free: 1.406 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.01083, allocations: 0 / 0.883 GB, free: 1.406 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002436/0.01108, allocations: 302.8 kB / 0.8833 GB, free: 1.082 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.001e-05/0.01109, allocations: 7.953 kB / 0.8833 GB, free: 1.074 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.405e-05/0.0111, allocations: 0 / 0.8833 GB, free: 1.074 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.016e-05/0.01117, allocations: 15.98 kB / 0.8834 GB, free: 1.059 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.864e-05/0.01125, allocations: 27.97 kB / 0.8834 GB, free: 1.031 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.183e-06/0.01126, allocations: 4 kB / 0.8834 GB, free: 1.027 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.338e-05/0.0113, allocations: 107.2 kB / 0.8835 GB, free: 0.9219 MB / 0.8386 GB Notification: Performance of sort global known variables: time 7e-08/0.0113, allocations: 3.938 kB / 0.8835 GB, free: 0.918 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001568/0.01146, allocations: 16 kB / 0.8835 GB, free: 0.9023 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: 4 ($whenCondition1,reqCou.nInc,act1.T_start,act1.count) * Number of discrete states: 2 (act1.count,reqCou.nInc) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 2 * 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 9.531e-05/0.01155, allocations: 107.2 kB / 0.8836 GB, free: 0.7891 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002834/0.01184, allocations: 303.9 kB / 0.8839 GB, free: 460 kB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 9.41e-07/0.01184, allocations: 4 kB / 0.8839 GB, free: 456 kB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.000115/0.01195, allocations: 145 kB / 0.884 GB, free: 292 kB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001906/0.01214, allocations: 15.92 kB / 0.8841 GB, free: 276 kB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003301/0.01247, allocations: 222.2 kB / 0.8843 GB, free: 20 kB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.176e-05/0.01253, allocations: 79.33 kB / 0.8843 GB, free: 15.92 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 3.852e-05/0.01257, allocations: 15.98 kB / 0.8844 GB, free: 15.91 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.822e-05/0.0126, allocations: 16.48 kB / 0.8844 GB, free: 15.89 MB / 0.8542 GB Notification: Performance of SimCode: time 5.01e-07/0.0126, allocations: 0 / 0.8844 GB, free: 15.89 MB / 0.8542 GB Notification: Performance of Templates: time 0.002699/0.0153, allocations: 1.407 MB / 0.8857 GB, free: 14.54 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.RequestCounter.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.RequestCounter.pipe ; mkfifo Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.RequestCounter.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.RequestCounter.pipe >> ../files/Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.RequestCounter.sim & ./Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.RequestCounter -abortSlowSimulation -alarm=800 -s cvode -lv LOG_STATS > Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.RequestCounter.pipe 2>&1) [Timeout 800] [Calling sys.exit(0), Time elapsed: 5.231305865570903]