Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControl.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.00194/0.00194, allocations: 109.1 kB / 19.71 MB, free: 2.145 MB / 14.72 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.002038/0.002038, allocations: 210.6 kB / 23 MB, free: 4.977 MB / 14.72 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 1.473/1.473, allocations: 230.6 MB / 256.8 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.285/3.285, allocations: 0.49 GB / 0.7959 GB, free: 35.45 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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.DataCenterDiscreteTimeControl,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10567,variableFilter="time|TAirSup.T|wseCon.TWetBul|TCHWEntChi.T|TCWLeaTow.T|wseCon.y1|chiCon.y|EHVAC.y",fileNamePrefix="Buildings_12_Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControl") translateModel(Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControl,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10567,variableFilter="time|TAirSup.T|wseCon.TWetBul|TCHWEntChi.T|TCWLeaTow.T|wseCon.y1|chiCon.y|EHVAC.y",fileNamePrefix="Buildings_12_Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControl") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003057/0.003057, allocations: 64.94 kB / 1.155 GB, free: 25.12 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4236/0.4266, allocations: 176.1 MB / 1.327 GB, free: 0.9258 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControl): time 1.498/1.924, allocations: 429.6 MB / 1.747 GB, free: 24.21 MB / 1.295 GB Notification: Performance of NFInst.instExpressions: time 0.1149/2.039, allocations: 68.26 MB / 1.813 GB, free: 2.074 MB / 1.311 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0229/2.062, allocations: 489.7 kB / 1.814 GB, free: 2.074 MB / 1.311 GB Notification: Performance of NFTyping.typeComponents: time 0.02191/2.084, allocations: 5.922 MB / 1.82 GB, free: 15.18 MB / 1.326 GB Notification: Performance of NFTyping.typeBindings: time 0.0524/2.136, allocations: 14.78 MB / 1.834 GB, free: 3.684 MB / 1.326 GB Notification: Performance of NFTyping.typeClassSections: time 0.03036/2.167, allocations: 9.987 MB / 1.844 GB, free: 12.3 MB / 1.342 GB Notification: Performance of NFFlatten.flatten: time 0.07637/2.243, allocations: 44.48 MB / 1.887 GB, free: 0.8164 MB / 1.373 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02468/2.268, allocations: 11.02 MB / 1.898 GB, free: 5.656 MB / 1.389 GB Notification: Performance of NFEvalConstants.evaluate: time 0.04341/2.311, allocations: 15.89 MB / 1.913 GB, free: 5.75 MB / 1.404 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02632/2.337, allocations: 11.19 MB / 1.924 GB, free: 10.53 MB / 1.42 GB Notification: Performance of NFPackage.collectConstants: time 0.007469/2.345, allocations: 1.5 MB / 1.926 GB, free: 9.031 MB / 1.42 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02771/2.373, allocations: 8.364 MB / 1.934 GB, free: 0.6523 MB / 1.42 GB Notification: Performance of NFScalarize.scalarize: time 0.00985/2.382, allocations: 4.843 MB / 1.939 GB, free: 11.79 MB / 1.436 GB Notification: Performance of NFVerifyModel.verify: time 0.0198/2.402, allocations: 6.954 MB / 1.946 GB, free: 4.809 MB / 1.436 GB Notification: Performance of NFConvertDAE.convert: time 0.05738/2.46, allocations: 27.15 MB / 1.972 GB, free: 9.562 MB / 1.467 GB Notification: Performance of FrontEnd - DAE generated: time 7.404e-06/2.46, allocations: 0 / 1.972 GB, free: 9.562 MB / 1.467 GB Notification: Performance of FrontEnd: time 1.794e-06/2.46, allocations: 0 / 1.972 GB, free: 9.562 MB / 1.467 GB Notification: Performance of Transformations before backend: time 0.0009271/2.461, allocations: 0 / 1.972 GB, free: 9.562 MB / 1.467 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2265 * Number of variables: 2265 Notification: Performance of Generate backend data structure: time 0.05812/2.519, allocations: 17.33 MB / 1.989 GB, free: 8.047 MB / 1.482 GB Notification: Performance of prepare preOptimizeDAE: time 5.451e-05/2.519, allocations: 8.031 kB / 1.989 GB, free: 8.039 MB / 1.482 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03025/2.549, allocations: 3.924 MB / 1.993 GB, free: 4.102 MB / 1.482 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04072/2.59, allocations: 14.99 MB / 2.007 GB, free: 4.973 MB / 1.498 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001278/2.591, allocations: 0.8381 MB / 2.008 GB, free: 4.109 MB / 1.498 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00434/2.595, allocations: 0.9218 MB / 2.009 GB, free: 3.188 MB / 1.498 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04619/2.642, allocations: 14.02 MB / 2.023 GB, free: 4.426 MB / 1.514 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003567/2.642, allocations: 23.83 kB / 2.023 GB, free: 4.402 MB / 1.514 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003291/2.645, allocations: 372 kB / 2.023 GB, free: 4.039 MB / 1.514 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005279/2.646, allocations: 380.7 kB / 2.024 GB, free: 3.664 MB / 1.514 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0371/2.683, allocations: 11.45 MB / 2.035 GB, free: 8.191 MB / 1.529 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1049/2.788, allocations: 37.64 MB / 2.072 GB, free: 1.98 MB / 1.561 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02327/2.811, allocations: 7.849 MB / 2.079 GB, free: 10.23 MB / 1.576 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009881/2.821, allocations: 4.014 MB / 2.083 GB, free: 6.191 MB / 1.576 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt evalFunc (simulation): time 0.03194/2.853, allocations: 11.03 MB / 2.094 GB, free: 11.11 MB / 1.592 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01084/2.864, allocations: 5.845 MB / 2.1 GB, free: 4.824 MB / 1.592 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.006295/2.87, allocations: 0.7499 MB / 2.1 GB, free: 4.07 MB / 1.592 GB Notification: Performance of pre-optimization done (n=599): time 3.125e-05/2.87, allocations: 0 / 2.1 GB, free: 4.07 MB / 1.592 GB Notification: Performance of matching and sorting (n=603): time 0.07539/2.945, allocations: 23.3 MB / 2.123 GB, free: 12.52 MB / 1.623 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002632/2.946, allocations: 333.7 kB / 2.123 GB, free: 12.13 MB / 1.623 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03758/2.983, allocations: 11.32 MB / 2.134 GB, free: 0.8672 MB / 1.623 GB Notification: Performance of collectPreVariables (initialization): time 0.002547/2.986, allocations: 181.7 kB / 2.135 GB, free: 0.6836 MB / 1.623 GB Notification: Performance of collectInitialEqns (initialization): time 0.01139/2.997, allocations: 6.172 MB / 2.141 GB, free: 10.48 MB / 1.639 GB Notification: Performance of collectInitialBindings (initialization): time 0.004599/3.002, allocations: 2.173 MB / 2.143 GB, free: 8.285 MB / 1.639 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005207/3.007, allocations: 1.856 MB / 2.145 GB, free: 6.414 MB / 1.639 GB Notification: Performance of setup shared object (initialization): time 0.0001452/3.007, allocations: 301.1 kB / 2.145 GB, free: 6.117 MB / 1.639 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01111/3.018, allocations: 4.162 MB / 2.149 GB, free: 1.934 MB / 1.639 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01641/3.035, allocations: 7.712 MB / 2.156 GB, free: 9.051 MB / 1.654 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02489/3.059, allocations: 10.08 MB / 2.166 GB, free: 14.25 MB / 1.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.863e-05/3.06, allocations: 12 kB / 2.166 GB, free: 14.23 MB / 1.67 GB Notification: Performance of matching and sorting (n=1165) (initialization): time 0.03921/3.099, allocations: 12.27 MB / 2.178 GB, free: 1.891 MB / 1.67 GB Notification: Performance of prepare postOptimizeDAE: time 7.901e-05/3.099, allocations: 28 kB / 2.178 GB, free: 1.863 MB / 1.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.948e-05/3.099, allocations: 48 kB / 2.178 GB, free: 1.816 MB / 1.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0034/3.102, allocations: 0.6675 MB / 2.179 GB, free: 1.133 MB / 1.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01092/3.113, allocations: 1.935 MB / 2.181 GB, free: 15.2 MB / 1.686 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008441/3.122, allocations: 6.876 MB / 2.188 GB, free: 7.98 MB / 1.686 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01327/3.135, allocations: 0.6458 MB / 2.188 GB, free: 7.336 MB / 1.686 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002501/3.137, allocations: 387.8 kB / 2.189 GB, free: 6.957 MB / 1.686 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0208/3.158, allocations: 7.321 MB / 2.196 GB, free: 15.62 MB / 1.701 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01497/3.173, allocations: 7.653 MB / 2.203 GB, free: 6.797 MB / 1.701 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.02316/3.196, allocations: 9.958 MB / 2.213 GB, free: 12.11 MB / 1.717 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0001093/3.197, allocations: 16 kB / 2.213 GB, free: 12.09 MB / 1.717 GB Notification: Performance of matching and sorting (n=1165) (initialization_lambda0): time 0.03779/3.234, allocations: 12.09 MB / 2.225 GB, free: 15.93 MB / 1.732 GB Notification: Performance of prepare postOptimizeDAE: time 6.094e-05/3.234, allocations: 24 kB / 2.225 GB, free: 15.91 MB / 1.732 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.539e-05/3.234, allocations: 48 kB / 2.225 GB, free: 15.86 MB / 1.732 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002818/3.237, allocations: 0.5907 MB / 2.225 GB, free: 15.26 MB / 1.732 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01022/3.248, allocations: 1.911 MB / 2.227 GB, free: 13.34 MB / 1.732 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01/3.258, allocations: 8.273 MB / 2.235 GB, free: 4.605 MB / 1.732 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01572/3.273, allocations: 0.6838 MB / 2.236 GB, free: 3.922 MB / 1.732 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003119/3.276, allocations: 379.8 kB / 2.236 GB, free: 3.551 MB / 1.732 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 220 * Number of states: 0 () * Number of discrete variables: 72 ($PRE.wseCon.T1.enableFire,$PRE.wseCon.T2.enableFire,triAndRes.firstTrigger,$PRE.triAndRes.firstTrigger,triAndRes.sampleTrigger,$whenCondition10,triAndRes.uniDel1.firstTrigger,$PRE.triAndRes.uniDel1.firstTrigger,triAndRes.sam.firstTrigger,$PRE.triAndRes.sam.firstTrigger,triAndRes.sam.sampleTrigger,$whenCondition8,triAndRes.uniDel1.sampleTrigger,$whenCondition9,wseCon.stateGraphRoot.resume,wseCon.stateGraphRoot.suspend,chi.tru.y,weaData.conTim.canRepeatWeatherFile,weaData.conTimMin.canRepeatWeatherFile,triAndRes.uniDel1.y,$PRE.triAndRes.uniDel1.y,triAndRes.sam.y,$PRE.triAndRes.sam.y,triAndRes.incY.y,or1.y,or1.u1,weaData.decAng.tNext,$PRE.weaData.decAng.tNext,weaData.eqnTim.tNext,$PRE.weaData.eqnTim.tNext,weaData.conTim.tNext,$PRE.weaData.conTim.tNext,weaData.conTimMin.tNext,$PRE.weaData.conTimMin.tNext,weaData.locTim.tNext,$PRE.weaData.locTim.tNext,chiSwi.hysteresis.y,$PRE.chiSwi.hysteresis.y,wseCon.stateGraphRoot.activeSteps,wseCon.T2.t_start,$PRE.wseCon.T2.t_start,wseCon.T2.fire,wseCon.T2.enableFire,wseCon.T2.localCondition,wseCon.on.oldActive,$PRE.wseCon.on.oldActive,wseCon.on.newActive,$PRE.wseCon.on.newActive,wseCon.on.localActive,$PRE.wseCon.on.localActive,wseCon.on.active,wseCon.T1.t_start,$PRE.wseCon.T1.t_start,wseCon.T1.fire,wseCon.T1.enableFire,wseCon.T1.localCondition,wseCon.off.active,wseCon.off.oldActive,$PRE.wseCon.off.oldActive,wseCon.off.newActive,$PRE.wseCon.off.newActive,wseCon.off.localActive,$PRE.wseCon.off.localActive,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,EIT.local_reset,EHVAC.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1026): * Single equations (assignments): 1008 * Array equations: 8 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(3,9), (1,2), (2,9), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.003526/3.28, allocations: 0.7016 MB / 2.237 GB, free: 2.844 MB / 1.732 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00539/3.285, allocations: 1.184 MB / 2.238 GB, free: 1.652 MB / 1.732 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02862/3.314, allocations: 9.689 MB / 2.248 GB, free: 7.871 MB / 1.748 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02213/3.336, allocations: 7.552 MB / 2.255 GB, free: 204 kB / 1.748 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.272e-05/3.336, allocations: 0 / 2.255 GB, free: 204 kB / 1.748 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01123/3.347, allocations: 2.151 MB / 2.257 GB, free: 14.03 MB / 1.764 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004579/3.352, allocations: 140 kB / 2.257 GB, free: 13.89 MB / 1.764 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01132/3.363, allocations: 0.5236 MB / 2.258 GB, free: 13.37 MB / 1.764 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001928/3.365, allocations: 460.4 kB / 2.258 GB, free: 12.92 MB / 1.764 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.03042/3.396, allocations: 9.246 MB / 2.267 GB, free: 3.59 MB / 1.764 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.03692/3.432, allocations: 13.55 MB / 2.281 GB, free: 5.922 MB / 1.779 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00954/3.442, allocations: 3.676 MB / 2.284 GB, free: 2.223 MB / 1.779 GB Notification: Performance of sorting global known variables: time 1.633/5.075, allocations: 7.539 MB / 2.292 GB, free: 0.6952 GB / 1.779 GB Notification: Performance of Backend: time 9.92e-07/5.075, allocations: 0.7812 kB / 2.292 GB, free: 0.6952 GB / 1.779 GB Notification: Performance of simCode: created initialization part: time 0.05036/5.126, allocations: 15.1 MB / 2.306 GB, free: 0.6914 GB / 1.779 GB Notification: Performance of SimCode: time 0.06291/5.189, allocations: 29.21 MB / 2.335 GB, free: 0.6794 GB / 1.779 GB Notification: Performance of Templates: time 0.415/5.604, allocations: 310.3 MB / 2.638 GB, free: 406.5 MB / 1.779 GB " [Timeout remaining time 294] make -j1 -f Buildings_12_Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControl.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControl.pipe ; mkfifo Buildings_12_Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControl.pipe ; head -c 1048576 < Buildings_12_Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControl.pipe >> ../files/Buildings_12_Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControl.sim & ./Buildings_12_Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControl -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControl.pipe 2>&1) [Timeout 400] [Calling os._exit(0), Time elapsed: 24.16010700300103] Failed to read output from testmodel.py, exit status != 0: 5.614956400997471 5.632951962 3.168609771 Calling exit ...