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.00158/0.001581, allocations: 108.2 kB / 17.07 MB, free: 6.016 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.001841/0.001841, allocations: 190.8 kB / 20.03 MB, free: 3.082 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.497/1.497, allocations: 222.9 MB / 245.7 MB, free: 4.223 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.101/1.101, allocations: 147.6 MB / 445.5 MB, free: 8.383 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.001966/0.001966, allocations: 70.92 kB / 0.6114 GB, free: 37.66 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1531/0.1551, allocations: 83.16 MB / 0.6926 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger): time 0.002066/0.1572, allocations: 0.7333 MB / 0.6933 GB, free: 12.5 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001561/0.1587, allocations: 1.068 MB / 0.6943 GB, free: 11.64 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.711e-05/0.1588, allocations: 1.219 kB / 0.6943 GB, free: 11.64 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 3.283e-05/0.1589, allocations: 3.938 kB / 0.6943 GB, free: 11.64 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 8.075e-05/0.159, allocations: 12.92 kB / 0.6944 GB, free: 11.63 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003405/0.1593, allocations: 53.28 kB / 0.6944 GB, free: 11.59 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.000125/0.1594, allocations: 72.47 kB / 0.6945 GB, free: 11.55 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001182/0.1596, allocations: 25.14 kB / 0.6945 GB, free: 11.53 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 7.258e-05/0.1596, allocations: 25.02 kB / 0.6945 GB, free: 11.51 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 7.378e-05/0.1597, allocations: 42.64 kB / 0.6946 GB, free: 11.48 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.735e-05/0.1597, allocations: 5.375 kB / 0.6946 GB, free: 11.48 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 6.573e-05/0.1598, allocations: 20.42 kB / 0.6946 GB, free: 11.47 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 2.473e-05/0.1598, allocations: 13.83 kB / 0.6946 GB, free: 11.46 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 5.209e-05/0.1599, allocations: 32.77 kB / 0.6946 GB, free: 11.44 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001567/0.1601, allocations: 85.14 kB / 0.6947 GB, free: 11.37 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 2.906e-06/0.1601, allocations: 0 / 0.6947 GB, free: 11.37 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.082e-06/0.1601, allocations: 5.188 kB / 0.6947 GB, free: 11.37 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.28e-06/0.1601, allocations: 0 / 0.6947 GB, free: 11.37 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.0005769/0.1607, allocations: 378.5 kB / 0.6951 GB, free: 10.98 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.171e-05/0.1607, allocations: 8.781 kB / 0.6951 GB, free: 10.98 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.766e-05/0.1608, allocations: 7.891 kB / 0.6951 GB, free: 10.97 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001664/0.1609, allocations: 176.3 kB / 0.6953 GB, free: 10.77 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.189e-05/0.1609, allocations: 6.656 kB / 0.6953 GB, free: 10.76 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.776e-05/0.161, allocations: 3.656 kB / 0.6953 GB, free: 10.76 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002109/0.1612, allocations: 78.09 kB / 0.6953 GB, free: 10.7 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.107e-05/0.1612, allocations: 3.938 kB / 0.6954 GB, free: 10.7 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.698e-06/0.1612, allocations: 1.375 kB / 0.6954 GB, free: 10.7 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.1612, allocations: 1.375 kB / 0.6954 GB, free: 10.7 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001809/0.1614, allocations: 43.33 kB / 0.6954 GB, free: 10.68 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006622/0.1621, allocations: 318 kB / 0.6957 GB, free: 10.35 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001842/0.1623, allocations: 63.09 kB / 0.6958 GB, free: 10.3 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001001/0.1624, allocations: 28.09 kB / 0.6958 GB, free: 10.29 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.758e-05/0.1624, allocations: 3.984 kB / 0.6958 GB, free: 10.28 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002099/0.1626, allocations: 74.64 kB / 0.6959 GB, free: 10.21 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=7): time 4.078e-06/0.1627, allocations: 0 / 0.6959 GB, free: 10.21 MB / 0.5137 GB Notification: Performance of matching and sorting (n=7): time 0.0004351/0.1631, allocations: 140.6 kB / 0.696 GB, free: 10.13 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.592e-05/0.1632, allocations: 52.78 kB / 0.696 GB, free: 10.07 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001112/0.1633, allocations: 125 kB / 0.6962 GB, free: 9.949 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.259e-05/0.1633, allocations: 27.08 kB / 0.6962 GB, free: 9.918 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 7.581e-05/0.1634, allocations: 98.78 kB / 0.6963 GB, free: 9.82 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.255e-05/0.1634, allocations: 18.64 kB / 0.6963 GB, free: 9.805 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.984e-05/0.1635, allocations: 35.33 kB / 0.6963 GB, free: 9.773 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001499/0.1636, allocations: 316.2 kB / 0.6966 GB, free: 9.457 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001151/0.1638, allocations: 32.47 kB / 0.6967 GB, free: 9.441 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001503/0.1639, allocations: 74.61 kB / 0.6967 GB, free: 9.367 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002558/0.1642, allocations: 111 kB / 0.6968 GB, free: 9.273 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.103e-06/0.1642, allocations: 0 / 0.6968 GB, free: 9.273 MB / 0.5137 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003093/0.1645, allocations: 129.8 kB / 0.697 GB, free: 9.195 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.321e-05/0.1645, allocations: 5.5 kB / 0.697 GB, free: 9.195 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.1645, allocations: 6.969 kB / 0.697 GB, free: 9.191 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.403e-05/0.1646, allocations: 1.375 kB / 0.697 GB, free: 9.191 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001277/0.1647, allocations: 29.5 kB / 0.697 GB, free: 9.176 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.991e-06/0.1647, allocations: 1.844 kB / 0.697 GB, free: 9.176 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.908e-05/0.1648, allocations: 5.625 kB / 0.697 GB, free: 9.176 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.373e-05/0.1648, allocations: 4.406 kB / 0.697 GB, free: 9.176 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.0001121/0.1649, allocations: 128.2 kB / 0.6971 GB, free: 9.047 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.93e-05/0.165, allocations: 11.2 kB / 0.6972 GB, free: 9.039 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.574e-05/0.165, allocations: 9.531 kB / 0.6972 GB, free: 9.023 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/0.165, allocations: 5.094 kB / 0.6972 GB, free: 9.02 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.165, allocations: 1.156 kB / 0.6972 GB, free: 9.02 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.239e-06/0.165, allocations: 0 / 0.6972 GB, free: 9.02 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005403/0.1656, allocations: 376.8 kB / 0.6975 GB, free: 8.652 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.1656, allocations: 0 / 0.6975 GB, free: 8.652 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.052e-05/0.1657, allocations: 17.55 kB / 0.6975 GB, free: 8.641 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.235e-06/0.1657, allocations: 5.344 kB / 0.6976 GB, free: 8.637 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.855e-06/0.1657, allocations: 0 / 0.6976 GB, free: 8.637 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.556e-06/0.1657, allocations: 5.25 kB / 0.6976 GB, free: 8.633 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.756e-06/0.1657, allocations: 4 kB / 0.6976 GB, free: 8.629 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003236/0.166, allocations: 197.6 kB / 0.6977 GB, free: 8.465 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.669e-05/0.1661, allocations: 82.5 kB / 0.6978 GB, free: 8.367 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.61e-05/0.1661, allocations: 1.312 kB / 0.6978 GB, free: 8.367 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.598e-05/0.1662, allocations: 15.89 kB / 0.6978 GB, free: 8.355 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.136e-05/0.1662, allocations: 6.688 kB / 0.6979 GB, free: 8.352 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.272e-06/0.1663, allocations: 1.25 kB / 0.6979 GB, free: 8.352 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 5.79e-05/0.1663, allocations: 94.39 kB / 0.6979 GB, free: 8.27 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1663, allocations: 0 / 0.6979 GB, free: 8.27 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.000269/0.1666, allocations: 16.59 kB / 0.698 GB, free: 8.266 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.0001609/0.1668, allocations: 110.4 kB / 0.6981 GB, free: 8.168 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002912/0.1671, allocations: 81.78 kB / 0.6981 GB, free: 8.133 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.1671, allocations: 0 / 0.6981 GB, free: 8.133 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.000112/0.1672, allocations: 28.77 kB / 0.6982 GB, free: 8.125 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002667/0.1675, allocations: 17.2 kB / 0.6982 GB, free: 8.113 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003415/0.1678, allocations: 160.3 kB / 0.6983 GB, free: 7.965 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000329/0.1682, allocations: 0.6882 MB / 0.699 GB, free: 7.262 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 3.187e-05/0.1682, allocations: 4.875 kB / 0.699 GB, free: 7.262 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.838e-05/0.1682, allocations: 15.09 kB / 0.699 GB, free: 7.25 MB / 0.5137 GB Notification: Performance of SimCode: time 4.11e-07/0.1682, allocations: 1.438 kB / 0.699 GB, free: 7.25 MB / 0.5137 GB Notification: Performance of Templates: time 0.003852/0.1721, allocations: 0.9722 MB / 0.7 GB, free: 6.508 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: 5.768791500013322] Failed to read output from testmodel.py, exit status != 0: 0.44253720669075847 0.193498676 0.030632063 Calling exit ...