Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001516/0.001516, allocations: 114.8 kB / 19.69 MB, free: 2.188 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001823/0.001823, allocations: 189.9 kB / 22.98 MB, free: 5.008 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.309/1.309, allocations: 225.6 MB / 251.8 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8829/0.8829, allocations: 149.6 MB / 456.6 MB, free: 1.207 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger") translateModel(IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001857/0.001857, allocations: 65.55 kB / 0.6329 GB, free: 8.973 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1642/0.166, allocations: 87.87 MB / 0.7187 GB, free: 1.02 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger): time 0.001988/0.168, allocations: 0.7352 MB / 0.7194 GB, free: 296 kB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0013/0.1693, allocations: 1.092 MB / 0.7205 GB, free: 15.18 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.691e-05/0.1694, allocations: 0 / 0.7205 GB, free: 15.18 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.635e-05/0.1694, allocations: 3.938 kB / 0.7205 GB, free: 15.18 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 7.194e-05/0.1695, allocations: 15.88 kB / 0.7205 GB, free: 15.16 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002716/0.1697, allocations: 51.81 kB / 0.7205 GB, free: 15.11 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001145/0.1698, allocations: 67.84 kB / 0.7206 GB, free: 15.05 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001095/0.17, allocations: 20.09 kB / 0.7206 GB, free: 15.02 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 7.583e-05/0.17, allocations: 31.86 kB / 0.7206 GB, free: 14.99 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.25e-05/0.1701, allocations: 31.86 kB / 0.7207 GB, free: 14.96 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.532e-05/0.1701, allocations: 8 kB / 0.7207 GB, free: 14.95 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 6.516e-05/0.1702, allocations: 23.98 kB / 0.7207 GB, free: 14.93 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.426e-05/0.1702, allocations: 19.97 kB / 0.7207 GB, free: 14.91 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.683e-05/0.1702, allocations: 31.8 kB / 0.7207 GB, free: 14.88 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001521/0.1704, allocations: 75.69 kB / 0.7208 GB, free: 14.8 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.1704, allocations: 0 / 0.7208 GB, free: 14.8 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.473e-06/0.1704, allocations: 0 / 0.7208 GB, free: 14.8 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.46e-06/0.1704, allocations: 4 kB / 0.7208 GB, free: 14.8 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005386/0.1709, allocations: 306 kB / 0.7211 GB, free: 14.47 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.762e-05/0.171, allocations: 16.62 kB / 0.7211 GB, free: 14.46 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.331e-05/0.171, allocations: 8.891 kB / 0.7211 GB, free: 14.45 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001226/0.1712, allocations: 118.4 kB / 0.7213 GB, free: 14.31 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.252e-05/0.1712, allocations: 384 / 0.7213 GB, free: 14.31 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.744e-05/0.1712, allocations: 8.375 kB / 0.7213 GB, free: 14.3 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001965/0.1714, allocations: 66.22 kB / 0.7213 GB, free: 14.23 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.179e-05/0.1714, allocations: 3.938 kB / 0.7213 GB, free: 14.23 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.706e-06/0.1714, allocations: 0 / 0.7213 GB, free: 14.23 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/0.1714, allocations: 4 kB / 0.7213 GB, free: 14.22 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001704/0.1716, allocations: 51.89 kB / 0.7214 GB, free: 14.17 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000599/0.1722, allocations: 291.8 kB / 0.7217 GB, free: 13.84 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001578/0.1723, allocations: 50.55 kB / 0.7217 GB, free: 13.79 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.177e-05/0.1724, allocations: 32.95 kB / 0.7217 GB, free: 13.75 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.799e-05/0.1724, allocations: 4.031 kB / 0.7217 GB, free: 13.75 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001808/0.1726, allocations: 75.38 kB / 0.7218 GB, free: 13.66 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 1.312e-06/0.1726, allocations: 0 / 0.7218 GB, free: 13.66 MB / 0.545 GB Notification: Performance of matching and sorting (n=7): time 0.0003954/0.173, allocations: 129.6 kB / 0.7219 GB, free: 13.53 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.117e-05/0.1731, allocations: 55.39 kB / 0.722 GB, free: 13.46 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001062/0.1732, allocations: 117.8 kB / 0.7221 GB, free: 13.34 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.975e-05/0.1732, allocations: 29.7 kB / 0.7221 GB, free: 13.3 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.875e-05/0.1732, allocations: 96.08 kB / 0.7222 GB, free: 13.2 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.116e-05/0.1733, allocations: 27.7 kB / 0.7222 GB, free: 13.18 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.725e-05/0.1733, allocations: 29.7 kB / 0.7223 GB, free: 13.14 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001351/0.1734, allocations: 322.8 kB / 0.7226 GB, free: 12.82 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001055/0.1736, allocations: 31.97 kB / 0.7226 GB, free: 12.79 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001519/0.1737, allocations: 69.98 kB / 0.7227 GB, free: 12.7 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002215/0.1739, allocations: 109.9 kB / 0.7228 GB, free: 12.57 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.1739, allocations: 0 / 0.7228 GB, free: 12.57 MB / 0.545 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002973/0.1742, allocations: 133.4 kB / 0.7229 GB, free: 12.43 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.225e-05/0.1742, allocations: 4 kB / 0.7229 GB, free: 12.43 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.022e-06/0.1742, allocations: 4 kB / 0.7229 GB, free: 12.42 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.445e-05/0.1743, allocations: 3.984 kB / 0.7229 GB, free: 12.42 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001137/0.1744, allocations: 15.98 kB / 0.7229 GB, free: 12.4 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.298e-06/0.1744, allocations: 8.469 kB / 0.7229 GB, free: 12.39 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.875e-05/0.1745, allocations: 16 kB / 0.723 GB, free: 12.38 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.682e-05/0.1745, allocations: 15.92 kB / 0.723 GB, free: 12.36 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 8 (triggeredSampler1.y,$PRE.triggeredSampler1.y,triggeredSampler.y,$PRE.triggeredSampler.y,samTri.y,$whenCondition1,samTri1.y,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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 9.916e-05/0.1746, allocations: 123.6 kB / 0.7231 GB, free: 12.23 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.466e-05/0.1746, allocations: 7.953 kB / 0.7231 GB, free: 12.23 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.756e-05/0.1746, allocations: 8.375 kB / 0.7231 GB, free: 12.21 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.343e-06/0.1746, allocations: 0 / 0.7231 GB, free: 12.21 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.1746, allocations: 0 / 0.7231 GB, free: 12.21 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.1746, allocations: 0 / 0.7231 GB, free: 12.21 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004528/0.1751, allocations: 361.4 kB / 0.7235 GB, free: 11.81 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.1751, allocations: 0 / 0.7235 GB, free: 11.81 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.424e-05/0.1751, allocations: 11.98 kB / 0.7235 GB, free: 11.8 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.1751, allocations: 0 / 0.7235 GB, free: 11.8 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.838e-06/0.1751, allocations: 4 kB / 0.7235 GB, free: 11.8 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.1751, allocations: 3.938 kB / 0.7235 GB, free: 11.79 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.1752, allocations: 0 / 0.7235 GB, free: 11.79 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002887/0.1754, allocations: 203.4 kB / 0.7237 GB, free: 11.58 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.118e-05/0.1755, allocations: 7.891 kB / 0.7237 GB, free: 11.57 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.337e-05/0.1755, allocations: 0 / 0.7237 GB, free: 11.57 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.705e-05/0.1756, allocations: 11.92 kB / 0.7237 GB, free: 11.56 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.699e-05/0.1756, allocations: 8 kB / 0.7237 GB, free: 11.55 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.577e-06/0.1756, allocations: 7.984 kB / 0.7237 GB, free: 11.54 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.422e-05/0.1757, allocations: 91.94 kB / 0.7238 GB, free: 11.45 MB / 0.545 GB Notification: Performance of sort global known variables: time 6e-08/0.1757, allocations: 0 / 0.7238 GB, free: 11.45 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000234/0.1759, allocations: 12 kB / 0.7238 GB, free: 11.44 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 (samTri1.y,samTri.y,$whenCondition2,$whenCondition1,triggeredSampler.y,triggeredSampler1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001396/0.176, allocations: 111.2 kB / 0.7239 GB, free: 11.32 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002608/0.1763, allocations: 71.88 kB / 0.724 GB, free: 11.25 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.1763, allocations: 448 / 0.724 GB, free: 11.25 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001017/0.1764, allocations: 35.92 kB / 0.724 GB, free: 11.22 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002471/0.1766, allocations: 17 kB / 0.724 GB, free: 11.2 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003347/0.177, allocations: 158.1 kB / 0.7242 GB, free: 11.02 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003105/0.1773, allocations: 0.6885 MB / 0.7249 GB, free: 10.3 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.335e-05/0.1773, allocations: 8 kB / 0.7249 GB, free: 10.3 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.903e-05/0.1773, allocations: 15.44 kB / 0.7249 GB, free: 10.28 MB / 0.545 GB Notification: Performance of SimCode: time 2.9e-07/0.1773, allocations: 0 / 0.7249 GB, free: 10.28 MB / 0.545 GB Notification: Performance of Templates: time 0.003537/0.1809, allocations: 1.005 MB / 0.7259 GB, free: 9.289 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.058797164820135] Failed to read output from testmodel.py, exit status != 0: 0.18874215986579657 0.20259640699999995 0.029269698 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f2a2f2dd7b0>