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.00135/0.00135, allocations: 116 kB / 17.76 MB, free: 5.301 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.001424/0.001424, allocations: 187 kB / 20.69 MB, free: 2.371 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.479/1.479, allocations: 222.9 MB / 246.4 MB, free: 4.305 MB / 190.1 MB " [Timeout remaining time 178] 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 1.093/1.093, allocations: 147.6 MB / 446.2 MB, free: 8.387 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.001972/0.001972, allocations: 65.23 kB / 0.6121 GB, free: 37.79 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1591/0.1611, allocations: 83.16 MB / 0.6933 GB, free: 13.13 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger): time 0.001983/0.1631, allocations: 0.7273 MB / 0.694 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001584/0.1647, allocations: 1.072 MB / 0.695 GB, free: 11.73 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.061e-05/0.1648, allocations: 2.094 kB / 0.695 GB, free: 11.73 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 2.928e-05/0.1648, allocations: 3.938 kB / 0.695 GB, free: 11.72 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 7.013e-05/0.1649, allocations: 11.88 kB / 0.695 GB, free: 11.71 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003128/0.1652, allocations: 56.94 kB / 0.6951 GB, free: 11.67 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001295/0.1654, allocations: 68.97 kB / 0.6952 GB, free: 11.63 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001196/0.1655, allocations: 27.91 kB / 0.6952 GB, free: 11.61 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 7.249e-05/0.1656, allocations: 26.36 kB / 0.6952 GB, free: 11.59 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 6.543e-05/0.1657, allocations: 34.59 kB / 0.6952 GB, free: 11.57 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.718e-05/0.1657, allocations: 4.625 kB / 0.6952 GB, free: 11.57 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 6.671e-05/0.1657, allocations: 20.95 kB / 0.6953 GB, free: 11.56 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 2.404e-05/0.1658, allocations: 18.33 kB / 0.6953 GB, free: 11.54 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 4.916e-05/0.1658, allocations: 36.08 kB / 0.6953 GB, free: 11.52 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001657/0.166, allocations: 85.55 kB / 0.6954 GB, free: 11.45 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 2.605e-06/0.166, allocations: 0 / 0.6954 GB, free: 11.45 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.292e-06/0.166, allocations: 0 / 0.6954 GB, free: 11.45 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.989e-06/0.166, allocations: 0 / 0.6954 GB, free: 11.45 MB / 0.5137 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.0006093/0.1666, allocations: 378.4 kB / 0.6958 GB, free: 11.06 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.606e-05/0.1667, allocations: 10.12 kB / 0.6958 GB, free: 11.06 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.473e-05/0.1667, allocations: 8.453 kB / 0.6958 GB, free: 11.06 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001815/0.1669, allocations: 180 kB / 0.6959 GB, free: 10.85 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.652e-05/0.167, allocations: 2.188 kB / 0.696 GB, free: 10.85 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.618e-05/0.167, allocations: 11.91 kB / 0.696 GB, free: 10.84 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002037/0.1672, allocations: 61.33 kB / 0.696 GB, free: 10.79 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.273e-05/0.1672, allocations: 3.938 kB / 0.696 GB, free: 10.79 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.275e-05/0.1672, allocations: 4.984 kB / 0.696 GB, free: 10.79 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.1672, allocations: 1.75 kB / 0.696 GB, free: 10.79 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000181/0.1674, allocations: 44.31 kB / 0.6961 GB, free: 10.77 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006662/0.1681, allocations: 328.2 kB / 0.6964 GB, free: 10.43 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001658/0.1683, allocations: 52.55 kB / 0.6964 GB, free: 10.39 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.781e-05/0.1684, allocations: 26.72 kB / 0.6965 GB, free: 10.38 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.168e-05/0.1684, allocations: 13.36 kB / 0.6965 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002225/0.1686, allocations: 82.64 kB / 0.6966 GB, free: 10.29 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=7): time 1.543e-06/0.1686, allocations: 0 / 0.6966 GB, free: 10.29 MB / 0.5137 GB Notification: Performance of matching and sorting (n=7): time 0.0004342/0.1691, allocations: 124.7 kB / 0.6967 GB, free: 10.22 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.173e-05/0.1691, allocations: 56.78 kB / 0.6967 GB, free: 10.15 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001136/0.1693, allocations: 128.9 kB / 0.6968 GB, free: 10.03 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.373e-05/0.1693, allocations: 25.7 kB / 0.6969 GB, free: 10 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 6.2e-05/0.1694, allocations: 92.22 kB / 0.697 GB, free: 9.91 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.855e-05/0.1694, allocations: 26.56 kB / 0.697 GB, free: 9.887 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.675e-05/0.1695, allocations: 33.95 kB / 0.697 GB, free: 9.855 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.00015/0.1696, allocations: 317.5 kB / 0.6973 GB, free: 9.539 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001203/0.1697, allocations: 31.09 kB / 0.6974 GB, free: 9.523 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001499/0.1699, allocations: 78.55 kB / 0.6974 GB, free: 9.445 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002346/0.1701, allocations: 107 kB / 0.6975 GB, free: 9.355 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.1702, allocations: 1.375 kB / 0.6975 GB, free: 9.355 MB / 0.5137 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003216/0.1705, allocations: 136.4 kB / 0.6977 GB, free: 9.27 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.5e-05/0.1705, allocations: 6.875 kB / 0.6977 GB, free: 9.27 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.1705, allocations: 5.312 kB / 0.6977 GB, free: 9.266 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.439e-05/0.1705, allocations: 2.75 kB / 0.6977 GB, free: 9.266 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001242/0.1707, allocations: 16.36 kB / 0.6977 GB, free: 9.262 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.918e-06/0.1707, allocations: 5.359 kB / 0.6977 GB, free: 9.258 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.773e-05/0.1708, allocations: 6.875 kB / 0.6977 GB, free: 9.258 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.372e-05/0.1708, allocations: 8.344 kB / 0.6977 GB, free: 9.254 MB / 0.5137 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 0.0001183/0.1709, allocations: 131.2 kB / 0.6978 GB, free: 9.121 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.146e-05/0.1709, allocations: 10.7 kB / 0.6978 GB, free: 9.113 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.821e-05/0.171, allocations: 5.75 kB / 0.6979 GB, free: 9.102 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.171, allocations: 1.375 kB / 0.6979 GB, free: 9.102 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/0.171, allocations: 0 / 0.6979 GB, free: 9.102 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.171, allocations: 0 / 0.6979 GB, free: 9.102 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005201/0.1715, allocations: 389.4 kB / 0.6982 GB, free: 8.723 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.1715, allocations: 0 / 0.6982 GB, free: 8.723 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.417e-05/0.1716, allocations: 9.484 kB / 0.6982 GB, free: 8.719 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.474e-06/0.1716, allocations: 1.375 kB / 0.6982 GB, free: 8.719 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.004e-05/0.1716, allocations: 0 / 0.6982 GB, free: 8.719 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.787e-06/0.1716, allocations: 9.25 kB / 0.6982 GB, free: 8.711 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.1716, allocations: 0 / 0.6982 GB, free: 8.711 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003093/0.1719, allocations: 200.5 kB / 0.6984 GB, free: 8.543 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.878e-05/0.172, allocations: 83.62 kB / 0.6985 GB, free: 8.445 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.562e-05/0.172, allocations: 1.094 kB / 0.6985 GB, free: 8.445 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.072e-05/0.1721, allocations: 15.89 kB / 0.6985 GB, free: 8.434 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.334e-05/0.1722, allocations: 2.469 kB / 0.6985 GB, free: 8.434 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.974e-06/0.1722, allocations: 2.062 kB / 0.6985 GB, free: 8.434 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 7.797e-05/0.1723, allocations: 93.27 kB / 0.6986 GB, free: 8.352 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1723, allocations: 0 / 0.6986 GB, free: 8.352 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002591/0.1725, allocations: 20.94 kB / 0.6986 GB, free: 8.344 MB / 0.5137 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.0001612/0.1727, allocations: 102.8 kB / 0.6987 GB, free: 8.254 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002826/0.173, allocations: 72.67 kB / 0.6988 GB, free: 8.227 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.173, allocations: 0 / 0.6988 GB, free: 8.227 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001245/0.1731, allocations: 42.31 kB / 0.6989 GB, free: 8.207 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002645/0.1734, allocations: 17.17 kB / 0.6989 GB, free: 8.195 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004114/0.1738, allocations: 185.5 kB / 0.699 GB, free: 8.016 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004259/0.1743, allocations: 0.6855 MB / 0.6997 GB, free: 7.316 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.143e-05/0.1743, allocations: 15.3 kB / 0.6997 GB, free: 7.305 MB / 0.5137 GB Notification: Performance of SimCode: time 2.81e-07/0.1743, allocations: 0 / 0.6997 GB, free: 7.305 MB / 0.5137 GB Notification: Performance of Templates: time 0.003592/0.1779, allocations: 1.057 MB / 0.7008 GB, free: 6.43 MB / 0.5137 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: 8.034082581987604] Failed to read output from testmodel.py, exit status != 0: 0.46749939816072583 0.19971734800000002 0.030919201 Calling exit ...