Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.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.000729/0.000729, allocations: 80.45 kB / 20.69 MB, free: 3.848 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.0007419/0.0007419, allocations: 177.2 kB / 23.97 MB, free: 0.5664 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.8679/0.8679, allocations: 177.1 MB / 204.3 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.5516/0.5516, allocations: 114 MB / 374.7 MB, free: 8.734 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Controls.OBC.CDL.Logical.Validation.TimerAccumulating,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.TimerAccumulating") translateModel(IBPSA.Controls.OBC.CDL.Logical.Validation.TimerAccumulating,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.TimerAccumulating") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.262e-06/1.262e-06, allocations: 0 / 0.5554 GB, free: 1.207 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.455e-05/1.581e-05, allocations: 2.281 kB / 0.5554 GB, free: 1.203 MB / 474.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Validation.TimerAccumulating): time 0.001122/0.001137, allocations: 0.7856 MB / 0.5562 GB, free: 432 kB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.001285/0.002422, allocations: 1.361 MB / 0.5575 GB, free: 15.05 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.861e-05/0.002491, allocations: 0 / 0.5575 GB, free: 15.05 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.859e-05/0.00252, allocations: 15.86 kB / 0.5575 GB, free: 15.03 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 6.999e-05/0.00259, allocations: 27.66 kB / 0.5576 GB, free: 15 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005304/0.00312, allocations: 301.9 kB / 0.5579 GB, free: 14.72 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002443/0.003364, allocations: 383.3 kB / 0.5582 GB, free: 14.34 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.927e-05/0.003454, allocations: 33.28 kB / 0.5582 GB, free: 14.31 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001443/0.003598, allocations: 215.7 kB / 0.5585 GB, free: 14.1 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001323/0.00373, allocations: 123.7 kB / 0.5586 GB, free: 13.98 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 3.569e-05/0.003766, allocations: 36 kB / 0.5586 GB, free: 13.95 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.162e-05/0.003827, allocations: 55.92 kB / 0.5587 GB, free: 13.89 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 4.13e-05/0.003869, allocations: 71.84 kB / 0.5587 GB, free: 13.82 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 8.854e-05/0.003957, allocations: 119.8 kB / 0.5588 GB, free: 13.7 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002725/0.00423, allocations: 394.9 kB / 0.5592 GB, free: 13.32 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.813e-06/0.004232, allocations: 0 / 0.5592 GB, free: 13.32 MB / 490.7 MB Notification: Performance of FrontEnd: time 6.72e-07/0.004232, allocations: 4 kB / 0.5592 GB, free: 13.31 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.908e-06/0.004236, allocations: 0 / 0.5592 GB, free: 13.31 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.0005584/0.004795, allocations: 0.5331 MB / 0.5597 GB, free: 12.73 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.701e-05/0.004822, allocations: 8.625 kB / 0.5598 GB, free: 12.72 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.801e-05/0.00488, allocations: 32.88 kB / 0.5598 GB, free: 12.69 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003821/0.005262, allocations: 238 kB / 0.56 GB, free: 12.43 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.365e-05/0.005285, allocations: 24.59 kB / 0.56 GB, free: 12.41 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.333e-05/0.005329, allocations: 40.36 kB / 0.5601 GB, free: 12.37 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003186/0.005647, allocations: 255.8 kB / 0.5603 GB, free: 12.11 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.005656, allocations: 4.188 kB / 0.5603 GB, free: 12.11 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.447e-05/0.00568, allocations: 16.09 kB / 0.5603 GB, free: 12.09 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.005684, allocations: 0 / 0.5603 GB, free: 12.09 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001612/0.005846, allocations: 124.6 kB / 0.5605 GB, free: 11.97 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005907/0.006436, allocations: 472.7 kB / 0.5609 GB, free: 11.48 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003372/0.006774, allocations: 258.5 kB / 0.5612 GB, free: 11.22 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000146/0.00692, allocations: 132.7 kB / 0.5613 GB, free: 11.09 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.077e-05/0.00693, allocations: 4 kB / 0.5613 GB, free: 11.08 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003409/0.007271, allocations: 371.5 kB / 0.5616 GB, free: 10.71 MB / 490.7 MB Notification: Performance of pre-optimization done (n=44): time 1.082e-06/0.007272, allocations: 0 / 0.5616 GB, free: 10.71 MB / 490.7 MB Notification: Performance of matching and sorting (n=44): time 0.0009472/0.00822, allocations: 0.6613 MB / 0.5623 GB, free: 10.04 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.343e-05/0.008253, allocations: 63.41 kB / 0.5623 GB, free: 9.965 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.03e-05/0.008333, allocations: 155.4 kB / 0.5625 GB, free: 9.805 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.856e-05/0.008372, allocations: 53.69 kB / 0.5625 GB, free: 9.746 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.265e-05/0.008424, allocations: 109.1 kB / 0.5626 GB, free: 9.637 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.335e-05/0.008478, allocations: 99.27 kB / 0.5627 GB, free: 9.539 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001093/0.008587, allocations: 118.3 kB / 0.5629 GB, free: 9.414 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.892e-05/0.008666, allocations: 338.8 kB / 0.5632 GB, free: 9.074 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001946/0.008861, allocations: 204.6 kB / 0.5634 GB, free: 8.863 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002622/0.009123, allocations: 371.8 kB / 0.5637 GB, free: 8.426 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003569/0.00948, allocations: 454.4 kB / 0.5642 GB, free: 7.902 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.009483, allocations: 0 / 0.5642 GB, free: 7.902 MB / 490.7 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0005671/0.01005, allocations: 0.6356 MB / 0.5648 GB, free: 7.238 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.816e-05/0.01009, allocations: 73.73 kB / 0.5649 GB, free: 7.156 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/0.01009, allocations: 4 kB / 0.5649 GB, free: 7.152 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.29e-05/0.01011, allocations: 8.594 kB / 0.5649 GB, free: 7.145 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.219e-05/0.01019, allocations: 43.86 kB / 0.5649 GB, free: 7.102 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.416e-06/0.0102, allocations: 12 kB / 0.5649 GB, free: 7.09 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002184/0.01042, allocations: 95.72 kB / 0.565 GB, free: 6.996 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.995e-05/0.01045, allocations: 31.98 kB / 0.565 GB, free: 6.965 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 65 ($PRE.noThr.u,$PRE.noThr.reset,$PRE.thrTim.u,$PRE.thrTim.reset,$PRE.noThrWitRes.u,$PRE.noThrWitRes.reset,$PRE.thrTimWitRes.u,$PRE.thrTimWitRes.reset,thrTimWitRes.passed,$PRE.thrTimWitRes.passed,noThrWitRes.passed,$PRE.noThrWitRes.passed,thrTim.passed,$PRE.thrTim.passed,noThr.passed,$PRE.noThr.passed,$whenCondition19,$whenCondition20,$whenCondition17,$whenCondition18,resTim.y,$PRE.resTim.y,thrTimWitRes.reset,noThrWitRes.reset,$whenCondition12,$whenCondition16,booPul.y,$PRE.booPul.y,thrTimWitRes.yAcc,$PRE.thrTimWitRes.yAcc,thrTimWitRes.entryTime,$PRE.thrTimWitRes.entryTime,thrTimWitRes.u,noThrWitRes.yAcc,$PRE.noThrWitRes.yAcc,noThrWitRes.entryTime,$PRE.noThrWitRes.entryTime,noThrWitRes.u,thrTim.yAcc,$PRE.thrTim.yAcc,thrTim.entryTime,$PRE.thrTim.entryTime,thrTim.u,noThr.yAcc,$PRE.noThr.yAcc,noThr.entryTime,$PRE.noThr.entryTime,noThr.u,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition15,$whenCondition14,$whenCondition13,con.y,noThr.reset,$whenCondition4,thrTim.reset,$whenCondition8) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (69): * Single equations (assignments): 67 * 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 0.00012/0.01057, allocations: 190.8 kB / 0.5652 GB, free: 6.77 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.627e-05/0.01059, allocations: 27.89 kB / 0.5652 GB, free: 6.742 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.212e-05/0.01062, allocations: 26.31 kB / 0.5653 GB, free: 6.719 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.01063, allocations: 4 kB / 0.5653 GB, free: 6.715 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.01063, allocations: 0 / 0.5653 GB, free: 6.715 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.01064, allocations: 3.984 kB / 0.5653 GB, free: 6.711 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008286/0.01147, allocations: 0.9096 MB / 0.5662 GB, free: 5.766 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.01147, allocations: 7.922 kB / 0.5662 GB, free: 5.758 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.91e-05/0.0115, allocations: 16 kB / 0.5662 GB, free: 5.742 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.0115, allocations: 3.938 kB / 0.5662 GB, free: 5.738 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.92e-05/0.01152, allocations: 19.97 kB / 0.5662 GB, free: 5.719 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.514e-06/0.01152, allocations: 3.938 kB / 0.5662 GB, free: 5.715 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-07/0.01152, allocations: 0 / 0.5662 GB, free: 5.715 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005033/0.01202, allocations: 0.6374 MB / 0.5668 GB, free: 5.062 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.519e-05/0.01204, allocations: 27.8 kB / 0.5669 GB, free: 5.035 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.553e-05/0.01209, allocations: 27.97 kB / 0.5669 GB, free: 5.008 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.789e-05/0.01217, allocations: 27.91 kB / 0.5669 GB, free: 4.98 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.758e-05/0.01224, allocations: 43.91 kB / 0.567 GB, free: 4.938 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.501e-05/0.01227, allocations: 35.97 kB / 0.567 GB, free: 4.902 MB / 490.7 MB Notification: Performance of sorting global known variables: time 3.914e-05/0.01231, allocations: 103.2 kB / 0.5671 GB, free: 4.801 MB / 490.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01231, allocations: 0 / 0.5671 GB, free: 4.801 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002579/0.01256, allocations: 99.98 kB / 0.5672 GB, free: 4.703 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 40 (thrTimWitRes.u,noThrWitRes.u,thrTim.u,noThr.u,noThrWitRes.reset,thrTimWitRes.reset,$whenCondition19,$whenCondition20,$whenCondition17,$whenCondition18,$whenCondition13,$whenCondition14,$whenCondition15,$whenCondition16,$whenCondition9,$whenCondition10,$whenCondition11,$whenCondition12,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,noThr.passed,noThr.entryTime,noThr.yAcc,thrTim.passed,thrTim.entryTime,thrTim.yAcc,noThrWitRes.passed,noThrWitRes.entryTime,noThrWitRes.yAcc,thrTimWitRes.passed,thrTimWitRes.entryTime,thrTimWitRes.yAcc,booPul.y,resTim.y) * Number of discrete states: 16 (thrTim.entryTime,thrTim.yAcc,noThrWitRes.entryTime,noThrWitRes.yAcc,thrTimWitRes.entryTime,thrTimWitRes.yAcc,noThr.entryTime,noThr.yAcc,thrTimWitRes.y,thrTimWitRes.passed,noThrWitRes.y,noThrWitRes.passed,thrTim.y,thrTim.passed,noThr.y,noThr.passed) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 14 * 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.0001354/0.0127, allocations: 153.7 kB / 0.5673 GB, free: 4.543 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0004949/0.01319, allocations: 0.5649 MB / 0.5679 GB, free: 3.941 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.232e-06/0.01319, allocations: 0 / 0.5679 GB, free: 3.941 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001818/0.01338, allocations: 188.1 kB / 0.5681 GB, free: 3.758 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002154/0.01359, allocations: 48.77 kB / 0.5681 GB, free: 3.711 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005099/0.0141, allocations: 481.8 kB / 0.5686 GB, free: 3.207 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.745e-05/0.01417, allocations: 121.4 kB / 0.5687 GB, free: 3.066 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003182/0.01449, allocations: 40.48 kB / 0.5687 GB, free: 3.027 MB / 490.7 MB Notification: Performance of SimCode: time 2.91e-07/0.01449, allocations: 0 / 0.5687 GB, free: 3.027 MB / 490.7 MB Notification: Performance of Templates: time 0.003203/0.01769, allocations: 3.573 MB / 0.5722 GB, free: 15.47 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.TimerAccumulating -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.830377900972962] Failed to read output from testmodel.py, exit status != 0: 0.022175847552716732 0.030183034 0.024382388 Calling exit ...