Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.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.0008867/0.0008867, allocations: 80.88 kB / 21.55 MB, free: 2.945 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.0008756/0.0008756, allocations: 165.8 kB / 24.97 MB, free: 9.184 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.932/0.932, allocations: 177.1 MB / 205.4 MB, free: 5.492 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.979/1.979, allocations: 389.6 MB / 0.6362 GB, free: 12.32 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.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.Controls.OBC.CDL.Logical.Validation.Latch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Latch") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Latch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Latch") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.074e-06/2.074e-06, allocations: 0 / 0.776 GB, free: 5.344 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.395e-05/1.602e-05, allocations: 2.312 kB / 0.776 GB, free: 5.34 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Latch): time 0.001387/0.001403, allocations: 0.8148 MB / 0.7768 GB, free: 4.551 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.00128/0.002683, allocations: 1.3 MB / 0.7781 GB, free: 3.242 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.625e-05/0.002739, allocations: 0 / 0.7781 GB, free: 3.242 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 3.465e-05/0.002774, allocations: 7.875 kB / 0.7781 GB, free: 3.234 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 8.377e-05/0.002858, allocations: 25 kB / 0.7781 GB, free: 3.215 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004989/0.003357, allocations: 240 kB / 0.7783 GB, free: 2.98 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0002234/0.00358, allocations: 256.6 kB / 0.7786 GB, free: 2.746 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000112/0.003692, allocations: 45.91 kB / 0.7786 GB, free: 2.703 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001535/0.003845, allocations: 155.7 kB / 0.7788 GB, free: 2.551 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001212/0.003967, allocations: 75.8 kB / 0.7788 GB, free: 2.477 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 3.148e-05/0.003998, allocations: 20 kB / 0.7789 GB, free: 2.457 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 7.853e-05/0.004077, allocations: 31.98 kB / 0.7789 GB, free: 2.426 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 3.134e-05/0.004108, allocations: 39.3 kB / 0.7789 GB, free: 2.391 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 6.086e-05/0.004169, allocations: 67.88 kB / 0.779 GB, free: 2.324 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001815/0.00435, allocations: 187.4 kB / 0.7792 GB, free: 2.141 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.054e-06/0.004352, allocations: 0 / 0.7792 GB, free: 2.141 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.593e-06/0.004354, allocations: 4 kB / 0.7792 GB, free: 2.137 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.938e-06/0.004358, allocations: 0 / 0.7792 GB, free: 2.137 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0003816/0.00474, allocations: 403.6 kB / 0.7796 GB, free: 1.703 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.802e-05/0.004778, allocations: 9.344 kB / 0.7796 GB, free: 1.695 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.495e-05/0.004823, allocations: 28.84 kB / 0.7796 GB, free: 1.668 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001508/0.004973, allocations: 138.8 kB / 0.7797 GB, free: 1.508 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.315e-05/0.004987, allocations: 12.38 kB / 0.7797 GB, free: 1.496 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.286e-05/0.005009, allocations: 20.38 kB / 0.7798 GB, free: 1.477 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.512e-05/0.005105, allocations: 91.02 kB / 0.7798 GB, free: 1.383 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.512e-06/0.005111, allocations: 192 / 0.7798 GB, free: 1.383 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.057e-05/0.005122, allocations: 8.969 kB / 0.7798 GB, free: 1.375 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.005126, allocations: 384 / 0.7798 GB, free: 1.375 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.644e-05/0.005163, allocations: 34.17 kB / 0.7799 GB, free: 1.344 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003227/0.005486, allocations: 261 kB / 0.7801 GB, free: 1.074 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001076/0.005593, allocations: 95.39 kB / 0.7802 GB, free: 0.9727 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.187e-05/0.005625, allocations: 36.78 kB / 0.7803 GB, free: 0.9336 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 7.043e-06/0.005632, allocations: 4.531 kB / 0.7803 GB, free: 0.9297 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001519/0.005784, allocations: 154.2 kB / 0.7804 GB, free: 0.7695 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=32): time 1.443e-06/0.005785, allocations: 4 kB / 0.7804 GB, free: 0.7656 MB / 0.7292 GB Notification: Performance of matching and sorting (n=32): time 0.0002016/0.005987, allocations: 178 kB / 0.7806 GB, free: 0.5859 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.937e-05/0.006016, allocations: 60.09 kB / 0.7806 GB, free: 0.5156 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.204e-05/0.006098, allocations: 165.1 kB / 0.7808 GB, free: 352 kB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.359e-05/0.006122, allocations: 34.7 kB / 0.7808 GB, free: 312 kB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 4.704e-05/0.006169, allocations: 105 kB / 0.7809 GB, free: 204 kB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.71e-05/0.006206, allocations: 85.16 kB / 0.781 GB, free: 120 kB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.15e-05/0.006288, allocations: 90 kB / 0.7811 GB, free: 24 kB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 9.197e-05/0.00638, allocations: 330.8 kB / 0.7814 GB, free: 15.69 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.258e-05/0.006472, allocations: 120.2 kB / 0.7815 GB, free: 15.56 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001156/0.006588, allocations: 189.3 kB / 0.7817 GB, free: 15.34 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002504/0.006838, allocations: 232.8 kB / 0.7819 GB, free: 15.08 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.006841, allocations: 0.8125 kB / 0.7819 GB, free: 15.08 MB / 0.7448 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0002643/0.007105, allocations: 374.4 kB / 0.7823 GB, free: 14.68 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 3.915e-05/0.007144, allocations: 71.39 kB / 0.7824 GB, free: 14.6 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.501e-06/0.00715, allocations: 0.7812 kB / 0.7824 GB, free: 14.6 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.2e-05/0.007162, allocations: 4 kB / 0.7824 GB, free: 14.6 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.108e-05/0.007193, allocations: 21.02 kB / 0.7824 GB, free: 14.58 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.11e-06/0.007198, allocations: 4 kB / 0.7824 GB, free: 14.57 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001689/0.007367, allocations: 57.28 kB / 0.7824 GB, free: 14.52 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.421e-05/0.007391, allocations: 19.98 kB / 0.7825 GB, free: 14.5 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 46 ($whenCondition15,$whenCondition16,$whenCondition13,$whenCondition14,falCleFalIni.clr,falCleTruIni.clr,truCleFalIni.clr,truCleTruIni.clr,latInp.y,$PRE.latInp.y,cleInp.y,$PRE.cleInp.y,swiCleInp1.y,$PRE.swiCleInp1.y,swiCleInp1.clr,swiCleInp1.u,swiCleInp.y,$PRE.swiCleInp.y,swiCleInp.clr,swiCleInp.u,truCleFalIni.y,$PRE.truCleFalIni.y,truCleFalIni.u,falCleFalIni.y,$PRE.falCleFalIni.y,falCleFalIni.u,truCleTruIni.y,$PRE.truCleTruIni.y,truCleTruIni.u,falCleTruIni.y,$PRE.falCleTruIni.y,falCleTruIni.u,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition10,$whenCondition11,$whenCondition12,fal.y,tru.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 44 * 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 9.206e-05/0.007483, allocations: 143.8 kB / 0.7826 GB, free: 14.36 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.26e-05/0.007506, allocations: 31.91 kB / 0.7826 GB, free: 14.32 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.205e-05/0.007538, allocations: 17.97 kB / 0.7826 GB, free: 14.3 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.007542, allocations: 0.5 kB / 0.7826 GB, free: 14.3 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.007543, allocations: 4.938 kB / 0.7826 GB, free: 14.3 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.358e-05/0.007557, allocations: 19.83 kB / 0.7827 GB, free: 14.28 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.363e-05/0.007571, allocations: 9.062 kB / 0.7827 GB, free: 14.27 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.775e-05/0.007588, allocations: 4 kB / 0.7827 GB, free: 14.27 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.206e-05/0.00763, allocations: 23.95 kB / 0.7827 GB, free: 14.25 MB / 0.7448 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001268/0.007757, allocations: 209.5 kB / 0.7829 GB, free: 14.04 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001521/0.007909, allocations: 316 kB / 0.7832 GB, free: 13.71 MB / 0.7448 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.028e-05/0.00796, allocations: 66.12 kB / 0.7833 GB, free: 13.64 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 1.948e-05/0.007979, allocations: 24.83 kB / 0.7833 GB, free: 13.62 MB / 0.7448 GB Notification: Performance of Backend: time 1.4e-07/0.007979, allocations: 0 / 0.7833 GB, free: 13.62 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0003837/0.008363, allocations: 389.5 kB / 0.7837 GB, free: 13.2 MB / 0.7448 GB Notification: Performance of SimCode: time 0.0005486/0.008911, allocations: 0.7846 MB / 0.7844 GB, free: 12.36 MB / 0.7448 GB Notification: Performance of Templates: time 0.004781/0.01369, allocations: 3.332 MB / 0.7877 GB, free: 9.219 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.sim & ./Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Latch -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.9609152199700475]