Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.BatteryControl.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.000902/0.000902, allocations: 92.2 kB / 20.21 MB, free: 4.352 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.00102/0.00102, allocations: 165.3 kB / 23.53 MB, free: 1.039 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.9602/0.9602, allocations: 177.1 MB / 203.9 MB, free: 5.582 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.014/2.014, allocations: 428.6 MB / 0.6727 GB, free: 4.906 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.BatteryControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.BatteryControl") translateModel(Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.BatteryControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.BatteryControl") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 0.8771 GB, free: 7.758 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.36e-05/3.519e-05, allocations: 6.172 kB / 0.8771 GB, free: 7.754 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.BatteryControl): time 0.003121/0.003156, allocations: 2.251 MB / 0.8793 GB, free: 5.52 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001474/0.00463, allocations: 0.9784 MB / 0.8802 GB, free: 4.539 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001624/0.004792, allocations: 13.06 kB / 0.8802 GB, free: 4.527 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001705/0.004963, allocations: 63.28 kB / 0.8803 GB, free: 4.465 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0002312/0.005194, allocations: 48.59 kB / 0.8803 GB, free: 4.418 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005117/0.005706, allocations: 315.4 kB / 0.8806 GB, free: 4.109 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0004708/0.006177, allocations: 0.6528 MB / 0.8813 GB, free: 3.457 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004019/0.006578, allocations: 384.8 kB / 0.8816 GB, free: 3.078 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003291/0.006908, allocations: 351.3 kB / 0.882 GB, free: 2.734 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001957/0.007103, allocations: 172.5 kB / 0.8821 GB, free: 2.566 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 5.446e-05/0.007158, allocations: 68 kB / 0.8822 GB, free: 2.5 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001136/0.007271, allocations: 87.97 kB / 0.8823 GB, free: 2.414 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.0001279/0.007399, allocations: 148.2 kB / 0.8824 GB, free: 2.27 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0001266/0.007526, allocations: 167.6 kB / 0.8826 GB, free: 2.105 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0005911/0.008117, allocations: 0.8183 MB / 0.8834 GB, free: 1.285 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.407e-06/0.00812, allocations: 3.938 kB / 0.8834 GB, free: 1.281 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.563e-06/0.008122, allocations: 1.594 kB / 0.8834 GB, free: 1.281 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.152e-06/0.008128, allocations: 0 / 0.8834 GB, free: 1.281 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: 128 * Number of variables: 128 Notification: Performance of Generate backend data structure: time 0.0008515/0.008979, allocations: 0.6681 MB / 0.8841 GB, free: 0.5859 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.529e-05/0.009025, allocations: 8.031 kB / 0.8841 GB, free: 0.5781 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003824/0.009407, allocations: 128.5 kB / 0.8842 GB, free: 464 kB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003156/0.009723, allocations: 291.1 kB / 0.8845 GB, free: 144 kB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.054e-05/0.009763, allocations: 45.69 kB / 0.8845 GB, free: 100 kB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.01e-05/0.009813, allocations: 57.75 kB / 0.8846 GB, free: 44 kB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006679/0.01048, allocations: 0.5702 MB / 0.8851 GB, free: 15.44 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.349e-05/0.01049, allocations: 192 / 0.8851 GB, free: 15.44 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.334e-05/0.01053, allocations: 20.36 kB / 0.8851 GB, free: 15.42 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.052e-05/0.01056, allocations: 29.44 kB / 0.8852 GB, free: 15.39 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005144/0.01107, allocations: 421.2 kB / 0.8856 GB, free: 14.98 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001509/0.01258, allocations: 1.658 MB / 0.8872 GB, free: 13.27 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004241/0.01301, allocations: 364.3 kB / 0.8875 GB, free: 12.89 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001927/0.0132, allocations: 174.5 kB / 0.8877 GB, free: 12.71 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 4.379e-05/0.01324, allocations: 12 kB / 0.8877 GB, free: 12.7 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002859/0.01353, allocations: 269.8 kB / 0.888 GB, free: 12.41 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=48): time 2.244e-06/0.01353, allocations: 0 / 0.888 GB, free: 12.41 MB / 0.8542 GB Notification: Performance of matching and sorting (n=48): time 0.0006755/0.01421, allocations: 0.4966 MB / 0.8884 GB, free: 11.91 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.053e-05/0.01426, allocations: 119.1 kB / 0.8886 GB, free: 11.77 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001717/0.01443, allocations: 247.6 kB / 0.8888 GB, free: 11.52 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 3.732e-05/0.01447, allocations: 49.7 kB / 0.8888 GB, free: 11.46 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001224/0.01459, allocations: 221.3 kB / 0.8891 GB, free: 11.24 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 6.906e-05/0.01466, allocations: 119.1 kB / 0.8892 GB, free: 11.12 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001233/0.01478, allocations: 138.3 kB / 0.8893 GB, free: 10.98 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001041/0.01488, allocations: 346.8 kB / 0.8896 GB, free: 10.64 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002013/0.01509, allocations: 165.2 kB / 0.8898 GB, free: 10.47 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002549/0.01534, allocations: 292.6 kB / 0.8901 GB, free: 10.14 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003949/0.01574, allocations: 409.2 kB / 0.8905 GB, free: 9.691 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.01574, allocations: 0 / 0.8905 GB, free: 9.691 MB / 0.8542 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.00057/0.01631, allocations: 0.5404 MB / 0.891 GB, free: 9.145 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.135e-05/0.01633, allocations: 7.938 kB / 0.891 GB, free: 9.137 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.637e-06/0.01634, allocations: 4 kB / 0.891 GB, free: 9.133 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.948e-05/0.01636, allocations: 8 kB / 0.891 GB, free: 9.125 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001544/0.01651, allocations: 59.84 kB / 0.8911 GB, free: 9.066 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.211e-05/0.01653, allocations: 11.94 kB / 0.8911 GB, free: 9.055 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001295/0.01666, allocations: 59.64 kB / 0.8911 GB, free: 8.996 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.515e-05/0.01668, allocations: 24 kB / 0.8912 GB, free: 8.973 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 59 ($PRE.con.multiSwitch1.u[1],$PRE.con.multiSwitch1.u[2],$PRE.con.t1.enableFire,$PRE.con.t2.enableFire,$PRE.con.t3.enableFire,$PRE.con.t4.enableFire,con.t3.t_start,$PRE.con.t3.t_start,con.t4.t_start,$PRE.con.t4.t_start,con.stateGraphRoot.resume,con.stateGraphRoot.suspend,con.t4.enableFire,con.t4.localCondition,con.t3.enableFire,con.t3.localCondition,con.discharge.active,con.discharge.oldActive,$PRE.con.discharge.oldActive,con.discharge.newActive,$PRE.con.discharge.newActive,con.discharge.localActive,$PRE.con.discharge.localActive,con.charge.active,con.charge.oldActive,$PRE.con.charge.oldActive,con.charge.newActive,$PRE.con.charge.newActive,con.charge.localActive,$PRE.con.charge.localActive,con.t2.t_start,$PRE.con.t2.t_start,con.t2.fire,con.t2.enableFire,con.t2.localCondition,con.t1.t_start,$PRE.con.t1.t_start,con.t1.fire,con.t1.enableFire,con.t1.localCondition,con.alternative.split[2].available,con.stateGraphRoot.activeSteps,con.off.oldActive,$PRE.con.off.oldActive,con.off.newActive,$PRE.con.off.newActive,con.off.outPort[1].reset,con.off.inPort[1].set,con.off.localActive,$PRE.con.off.localActive,con.off.active,con.multiSwitch1.firstActiveIndex,con.multiSwitch1.u[2],con.multiSwitch1.u[1],con.greaterThreshold.y,con.not1.y,con.lessThreshold.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 76 * 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 0.0002007/0.01688, allocations: 234.9 kB / 0.8914 GB, free: 8.734 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.572e-05/0.01693, allocations: 47.75 kB / 0.8914 GB, free: 8.688 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004549/0.01738, allocations: 372.9 kB / 0.8918 GB, free: 8.32 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.702e-06/0.01739, allocations: 0 / 0.8918 GB, free: 8.32 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.01739, allocations: 0 / 0.8918 GB, free: 8.32 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.687e-05/0.01742, allocations: 35.73 kB / 0.8918 GB, free: 8.285 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.452e-05/0.01745, allocations: 12 kB / 0.8918 GB, free: 8.273 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.3e-05/0.01753, allocations: 19.98 kB / 0.8918 GB, free: 8.254 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001255/0.01765, allocations: 71.83 kB / 0.8919 GB, free: 8.184 MB / 0.8542 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004877/0.01814, allocations: 0.5968 MB / 0.8925 GB, free: 7.578 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005717/0.01871, allocations: 0.7012 MB / 0.8932 GB, free: 6.859 MB / 0.8542 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002028/0.01891, allocations: 171.8 kB / 0.8933 GB, free: 6.691 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 7.649e-05/0.01899, allocations: 129.2 kB / 0.8935 GB, free: 6.566 MB / 0.8542 GB Notification: Performance of Backend: time 3.81e-07/0.01899, allocations: 4 kB / 0.8935 GB, free: 6.562 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0007848/0.01977, allocations: 363.1 kB / 0.8938 GB, free: 6.203 MB / 0.8542 GB Notification: Performance of SimCode: time 0.001034/0.02081, allocations: 1.056 MB / 0.8949 GB, free: 5.094 MB / 0.8542 GB Notification: Performance of Templates: time 0.007572/0.02838, allocations: 4.946 MB / 0.8997 GB, free: 264 kB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.BatteryControl.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.BatteryControl.pipe ; mkfifo Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.BatteryControl.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.BatteryControl.pipe >> ../files/Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.BatteryControl.sim & ./Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.BatteryControl -abortSlowSimulation -alarm=800 -lv LOG_STATS > Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.BatteryControl.pipe 2>&1) [Timeout 800] [Calling sys.exit(0), Time elapsed: 5.298784274607897]