Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Timer.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.001415/0.001415, allocations: 76.86 kB / 19.93 MB, free: 1.77 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.001412/0.001412, allocations: 168.7 kB / 23.22 MB, free: 4.887 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.378/1.378, allocations: 177.1 MB / 203.5 MB, free: 9.16 MB / 190.1 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.8918/0.8918, allocations: 114 MB / 373.9 MB, free: 13.21 MB / 350.1 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.Timer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Timer") translateModel(IBPSA.Controls.OBC.CDL.Logical.Validation.Timer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Timer") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 0.5547 GB, free: 2.633 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.581e-05/2.74e-05, allocations: 5.094 kB / 0.5547 GB, free: 2.629 MB / 462.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Validation.Timer): time 0.001797/0.001824, allocations: 0.7188 MB / 0.5554 GB, free: 1.918 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.00178/0.003604, allocations: 1.279 MB / 0.5566 GB, free: 0.625 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.106e-05/0.003665, allocations: 4 kB / 0.5566 GB, free: 0.6211 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 3.593e-05/0.003701, allocations: 7.875 kB / 0.5566 GB, free: 0.6133 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 7.895e-05/0.00378, allocations: 19.8 kB / 0.5567 GB, free: 0.5938 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007866/0.004567, allocations: 256.5 kB / 0.5569 GB, free: 360 kB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003685/0.004935, allocations: 259.5 kB / 0.5572 GB, free: 100 kB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.962e-05/0.005035, allocations: 8.234 kB / 0.5572 GB, free: 88 kB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002428/0.005278, allocations: 147.8 kB / 0.5573 GB, free: 15.94 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001734/0.005451, allocations: 71.88 kB / 0.5574 GB, free: 15.87 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 5.446e-05/0.005506, allocations: 24 kB / 0.5574 GB, free: 15.85 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.194e-05/0.005598, allocations: 35.98 kB / 0.5574 GB, free: 15.81 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 4.558e-05/0.005643, allocations: 35.89 kB / 0.5575 GB, free: 15.78 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001246/0.005768, allocations: 79.86 kB / 0.5575 GB, free: 15.7 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003678/0.006136, allocations: 263.3 kB / 0.5578 GB, free: 15.44 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.244e-06/0.006138, allocations: 0 / 0.5578 GB, free: 15.44 MB / 478.1 MB Notification: Performance of FrontEnd: time 6.31e-07/0.006138, allocations: 3.938 kB / 0.5578 GB, free: 15.44 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.106e-05/0.00615, allocations: 0 / 0.5578 GB, free: 15.44 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0008751/0.007025, allocations: 429.3 kB / 0.5582 GB, free: 14.97 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.994e-05/0.007075, allocations: 12.62 kB / 0.5582 GB, free: 14.96 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.816e-05/0.007173, allocations: 20.84 kB / 0.5582 GB, free: 14.94 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006817/0.007854, allocations: 185.8 kB / 0.5584 GB, free: 14.73 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.576e-05/0.00789, allocations: 16.36 kB / 0.5584 GB, free: 14.72 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.365e-05/0.007944, allocations: 16.38 kB / 0.5584 GB, free: 14.7 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002679/0.008212, allocations: 135.8 kB / 0.5586 GB, free: 14.56 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.377e-05/0.008226, allocations: 192 / 0.5586 GB, free: 14.56 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.053e-05/0.008246, allocations: 8.312 kB / 0.5586 GB, free: 14.55 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.847e-06/0.008255, allocations: 12.06 kB / 0.5586 GB, free: 14.54 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001492/0.008404, allocations: 59.95 kB / 0.5586 GB, free: 14.48 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008584/0.009262, allocations: 428.4 kB / 0.5591 GB, free: 14.03 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002983/0.009561, allocations: 137.2 kB / 0.5592 GB, free: 13.88 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001078/0.009669, allocations: 53.62 kB / 0.5592 GB, free: 13.82 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.337e-05/0.009682, allocations: 0 / 0.5592 GB, free: 13.82 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003493/0.01003, allocations: 208.8 kB / 0.5594 GB, free: 13.59 MB / 478.1 MB Notification: Performance of pre-optimization done (n=22): time 1.593e-06/0.01003, allocations: 0 / 0.5594 GB, free: 13.59 MB / 478.1 MB Notification: Performance of matching and sorting (n=22): time 0.0007207/0.01075, allocations: 317.4 kB / 0.5597 GB, free: 13.28 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.809e-05/0.01082, allocations: 89.09 kB / 0.5598 GB, free: 13.17 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001287/0.01095, allocations: 128.4 kB / 0.5599 GB, free: 13.04 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 5.642e-05/0.01101, allocations: 41.7 kB / 0.56 GB, free: 12.99 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 8e-05/0.01109, allocations: 92.78 kB / 0.5601 GB, free: 12.89 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.282e-05/0.01115, allocations: 55.62 kB / 0.5601 GB, free: 12.84 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001316/0.01128, allocations: 81.67 kB / 0.5602 GB, free: 12.75 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001596/0.01144, allocations: 326.8 kB / 0.5605 GB, free: 12.43 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002469/0.01169, allocations: 147.6 kB / 0.5607 GB, free: 12.27 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002809/0.01197, allocations: 215.6 kB / 0.5609 GB, free: 12.02 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003505/0.01232, allocations: 239 kB / 0.5611 GB, free: 11.74 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.01232, allocations: 4 kB / 0.5611 GB, free: 11.74 MB / 478.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0007011/0.01302, allocations: 424.4 kB / 0.5615 GB, free: 11.29 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.298e-05/0.0131, allocations: 67.39 kB / 0.5616 GB, free: 11.21 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.0131, allocations: 0 / 0.5616 GB, free: 11.21 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.517e-05/0.01312, allocations: 4 kB / 0.5616 GB, free: 11.21 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.01e-05/0.01321, allocations: 15.94 kB / 0.5616 GB, free: 11.2 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.27e-05/0.01322, allocations: 11.92 kB / 0.5616 GB, free: 11.18 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003814/0.0136, allocations: 72 kB / 0.5617 GB, free: 11.11 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.371e-05/0.01365, allocations: 23.98 kB / 0.5617 GB, free: 11.09 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 27 (thrTim.passed,$PRE.thrTim.passed,noThr.passed,$PRE.noThr.passed,$whenCondition10,$whenCondition11,booPul.y,$PRE.booPul.y,thrTim.entryTime,$PRE.thrTim.entryTime,noThr.entryTime,$PRE.noThr.entryTime,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition9,thrTim1.passed,$PRE.thrTim1.passed,$whenCondition4,$whenCondition5,booPul1.y,$PRE.booPul1.y,thrTim1.entryTime,$PRE.thrTim1.entryTime,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 28 * 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.0001657/0.01381, allocations: 143.7 kB / 0.5618 GB, free: 10.94 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.352e-05/0.01385, allocations: 19.94 kB / 0.5618 GB, free: 10.92 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.664e-05/0.01388, allocations: 8.438 kB / 0.5619 GB, free: 10.92 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.855e-06/0.01389, allocations: 11.98 kB / 0.5619 GB, free: 10.91 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/0.0139, allocations: 0 / 0.5619 GB, free: 10.91 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.598e-06/0.0139, allocations: 0 / 0.5619 GB, free: 10.91 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006867/0.01459, allocations: 0.5668 MB / 0.5624 GB, free: 10.3 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.01459, allocations: 0 / 0.5624 GB, free: 10.3 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.945e-05/0.01464, allocations: 11.94 kB / 0.5624 GB, free: 10.29 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.809e-06/0.01464, allocations: 4 kB / 0.5624 GB, free: 10.29 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.097e-05/0.01467, allocations: 7.984 kB / 0.5624 GB, free: 10.28 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.01467, allocations: 0 / 0.5624 GB, free: 10.28 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.01467, allocations: 0 / 0.5624 GB, free: 10.28 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005141/0.01518, allocations: 433 kB / 0.5629 GB, free: 9.844 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.789e-05/0.0152, allocations: 11.91 kB / 0.5629 GB, free: 9.832 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.628e-05/0.01524, allocations: 11.98 kB / 0.5629 GB, free: 9.82 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001458/0.01538, allocations: 15.98 kB / 0.5629 GB, free: 9.805 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.959e-05/0.01546, allocations: 23.95 kB / 0.5629 GB, free: 9.781 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.173e-05/0.01548, allocations: 11.94 kB / 0.5629 GB, free: 9.77 MB / 478.1 MB Notification: Performance of sorting global known variables: time 9.728e-05/0.01558, allocations: 99.27 kB / 0.563 GB, free: 9.672 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.01558, allocations: 0 / 0.563 GB, free: 9.672 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0005017/0.01608, allocations: 55.92 kB / 0.5631 GB, free: 9.617 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 19 ($whenCondition4,$whenCondition5,$whenCondition1,$whenCondition2,$whenCondition3,thrTim1.passed,thrTim1.entryTime,booPul1.y,$whenCondition10,$whenCondition11,$whenCondition9,$whenCondition6,$whenCondition7,$whenCondition8,noThr.passed,noThr.entryTime,thrTim.passed,thrTim.entryTime,booPul.y) * Number of discrete states: 3 (noThr.entryTime,thrTim.entryTime,thrTim1.entryTime) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.0001959/0.01628, allocations: 123.2 kB / 0.5632 GB, free: 9.484 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.000581/0.01686, allocations: 378 kB / 0.5636 GB, free: 9.078 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.01686, allocations: 0 / 0.5636 GB, free: 9.078 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001644/0.01703, allocations: 87.86 kB / 0.5636 GB, free: 8.992 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000399/0.01743, allocations: 29.53 kB / 0.5637 GB, free: 8.965 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005511/0.01798, allocations: 271.5 kB / 0.5639 GB, free: 8.672 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.286e-05/0.01807, allocations: 96.92 kB / 0.564 GB, free: 8.559 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 5.956e-05/0.01813, allocations: 21.48 kB / 0.564 GB, free: 8.539 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.298e-05/0.01818, allocations: 28.42 kB / 0.5641 GB, free: 8.512 MB / 478.1 MB Notification: Performance of SimCode: time 3.01e-07/0.01818, allocations: 0 / 0.5641 GB, free: 8.512 MB / 478.1 MB Notification: Performance of Templates: time 0.006766/0.02495, allocations: 2.865 MB / 0.5669 GB, free: 5.719 MB / 478.1 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Timer.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Timer.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Timer.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Timer -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Timer.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.090972229838371] Failed to read output from testmodel.py, exit status != 0: 0.03332696482539177 0.047930761 0.038775599 Calling exit ...