Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.Sampler.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.001328/0.001328, allocations: 111.4 kB / 17.08 MB, free: 5.973 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.001318/0.001318, allocations: 193.2 kB / 20.03 MB, free: 3.043 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.466/1.466, allocations: 222.9 MB / 245.7 MB, free: 4.207 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.092/1.092, allocations: 147.6 MB / 445.5 MB, free: 8.375 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.Discrete.Validation.Sampler,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.Sampler") translateModel(IBPSA.Controls.OBC.CDL.Discrete.Validation.Sampler,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.Sampler") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001904/0.001904, allocations: 62.48 kB / 0.6113 GB, free: 37.83 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1562/0.1581, allocations: 83.17 MB / 0.6926 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Discrete.Validation.Sampler): time 0.001893/0.1601, allocations: 0.6499 MB / 0.6932 GB, free: 12.68 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001402/0.1615, allocations: 1.045 MB / 0.6942 GB, free: 11.84 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.498e-05/0.1616, allocations: 5.562 kB / 0.6942 GB, free: 11.84 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 2.874e-05/0.1616, allocations: 0 / 0.6942 GB, free: 11.84 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 6.168e-05/0.1617, allocations: 11.92 kB / 0.6942 GB, free: 11.82 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002751/0.1619, allocations: 42.73 kB / 0.6943 GB, free: 11.79 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001001/0.1621, allocations: 45.86 kB / 0.6943 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001132/0.1622, allocations: 17.3 kB / 0.6943 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 6.678e-05/0.1623, allocations: 19.27 kB / 0.6943 GB, free: 11.74 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 5.413e-05/0.1623, allocations: 17.77 kB / 0.6944 GB, free: 11.73 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.465e-05/0.1623, allocations: 4.844 kB / 0.6944 GB, free: 11.73 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 6.974e-05/0.1624, allocations: 21.88 kB / 0.6944 GB, free: 11.72 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 2.336e-05/0.1624, allocations: 14.73 kB / 0.6944 GB, free: 11.71 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 3.681e-05/0.1625, allocations: 20.5 kB / 0.6944 GB, free: 11.69 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001413/0.1626, allocations: 52.88 kB / 0.6945 GB, free: 11.65 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.1626, allocations: 1.25 kB / 0.6945 GB, free: 11.65 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.112e-06/0.1626, allocations: 0 / 0.6945 GB, free: 11.65 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.649e-06/0.1627, allocations: 3.938 kB / 0.6945 GB, free: 11.65 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006234/0.1633, allocations: 364.7 kB / 0.6948 GB, free: 11.27 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.314e-05/0.1633, allocations: 9.594 kB / 0.6948 GB, free: 11.27 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.844e-05/0.1634, allocations: 10.98 kB / 0.6948 GB, free: 11.26 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001342/0.1635, allocations: 170.2 kB / 0.695 GB, free: 11.05 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.686e-05/0.1635, allocations: 10.25 kB / 0.695 GB, free: 11.05 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.2e-05/0.1636, allocations: 2.219 kB / 0.695 GB, free: 11.05 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000213/0.1638, allocations: 68.23 kB / 0.6951 GB, free: 10.99 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.1638, allocations: 192 / 0.6951 GB, free: 10.99 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.414e-05/0.1638, allocations: 3.938 kB / 0.6951 GB, free: 10.99 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.1638, allocations: 1.406 kB / 0.6951 GB, free: 10.99 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001968/0.164, allocations: 43.17 kB / 0.6951 GB, free: 10.97 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004721/0.1645, allocations: 278.1 kB / 0.6954 GB, free: 10.66 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001801/0.1647, allocations: 65.88 kB / 0.6955 GB, free: 10.61 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001019/0.1648, allocations: 25.91 kB / 0.6955 GB, free: 10.6 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.457e-05/0.1648, allocations: 5.062 kB / 0.6955 GB, free: 10.59 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002036/0.165, allocations: 80.55 kB / 0.6956 GB, free: 10.52 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=6): time 1.473e-06/0.1651, allocations: 0 / 0.6956 GB, free: 10.52 MB / 0.5137 GB Notification: Performance of matching and sorting (n=6): time 0.0004363/0.1655, allocations: 119.3 kB / 0.6957 GB, free: 10.45 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.248e-05/0.1656, allocations: 52.78 kB / 0.6957 GB, free: 10.39 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.661e-05/0.1657, allocations: 109.2 kB / 0.6958 GB, free: 10.28 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.458e-05/0.1657, allocations: 31.17 kB / 0.6959 GB, free: 10.24 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 4.981e-05/0.1657, allocations: 85.38 kB / 0.6959 GB, free: 10.16 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.241e-05/0.1658, allocations: 18.59 kB / 0.696 GB, free: 10.14 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.549e-05/0.1658, allocations: 23.2 kB / 0.696 GB, free: 10.12 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001343/0.166, allocations: 316.1 kB / 0.6963 GB, free: 9.801 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001041/0.1661, allocations: 25.66 kB / 0.6963 GB, free: 9.789 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001323/0.1662, allocations: 51.91 kB / 0.6964 GB, free: 9.742 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002113/0.1664, allocations: 77.53 kB / 0.6964 GB, free: 9.684 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.1664, allocations: 4 kB / 0.6964 GB, free: 9.68 MB / 0.5137 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000267/0.1667, allocations: 104.1 kB / 0.6965 GB, free: 9.613 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.395e-05/0.1667, allocations: 5.5 kB / 0.6965 GB, free: 9.613 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.1667, allocations: 1.375 kB / 0.6965 GB, free: 9.613 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.436e-05/0.1668, allocations: 1.375 kB / 0.6965 GB, free: 9.613 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001049/0.1669, allocations: 17.61 kB / 0.6966 GB, free: 9.605 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.1669, allocations: 1.469 kB / 0.6966 GB, free: 9.605 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.563e-05/0.167, allocations: 13.48 kB / 0.6966 GB, free: 9.598 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.036e-05/0.167, allocations: 2.75 kB / 0.6966 GB, free: 9.598 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 (sampler1.firstTrigger,$PRE.sampler1.firstTrigger,sampler1.sampleTrigger,$whenCondition1,sampler1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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.0001032/0.1671, allocations: 117 kB / 0.6967 GB, free: 9.477 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.474e-05/0.1671, allocations: 6.703 kB / 0.6967 GB, free: 9.473 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003015/0.1674, allocations: 104.5 kB / 0.6968 GB, free: 9.395 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.1674, allocations: 5.312 kB / 0.6968 GB, free: 9.391 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.1674, allocations: 7.938 kB / 0.6968 GB, free: 9.383 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.992e-06/0.1675, allocations: 3.984 kB / 0.6968 GB, free: 9.379 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004938/0.168, allocations: 348.6 kB / 0.6971 GB, free: 9.031 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.168, allocations: 5.359 kB / 0.6972 GB, free: 9.027 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.257e-05/0.168, allocations: 9.562 kB / 0.6972 GB, free: 9.023 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.168, allocations: 1.375 kB / 0.6972 GB, free: 9.023 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.097e-06/0.1681, allocations: 0 / 0.6972 GB, free: 9.023 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.617e-06/0.1681, allocations: 5.359 kB / 0.6972 GB, free: 9.02 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.1681, allocations: 4 kB / 0.6972 GB, free: 9.016 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003106/0.1684, allocations: 192.7 kB / 0.6974 GB, free: 8.852 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.833e-05/0.1685, allocations: 82.42 kB / 0.6974 GB, free: 8.754 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.992e-05/0.1685, allocations: 5.359 kB / 0.6974 GB, free: 8.75 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.582e-05/0.1686, allocations: 5.5 kB / 0.6974 GB, free: 8.75 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.589e-05/0.1686, allocations: 14.73 kB / 0.6975 GB, free: 8.738 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.559e-05/0.1687, allocations: 5.312 kB / 0.6975 GB, free: 8.734 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.823e-05/0.1687, allocations: 80.78 kB / 0.6975 GB, free: 8.66 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1687, allocations: 0 / 0.6975 GB, free: 8.66 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002441/0.169, allocations: 17.61 kB / 0.6976 GB, free: 8.652 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: 4 (sampler1.sampleTrigger,$whenCondition1,sampler1.y,sampler1.firstTrigger) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * 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.0001757/0.1692, allocations: 105 kB / 0.6977 GB, free: 8.559 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.00029/0.1695, allocations: 69.02 kB / 0.6977 GB, free: 8.527 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.1695, allocations: 0 / 0.6977 GB, free: 8.527 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001186/0.1696, allocations: 31.22 kB / 0.6978 GB, free: 8.516 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002634/0.1699, allocations: 8.125 kB / 0.6978 GB, free: 8.512 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003416/0.1702, allocations: 131 kB / 0.6979 GB, free: 8.387 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003086/0.1705, allocations: 0.6863 MB / 0.6986 GB, free: 7.684 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 2.955e-05/0.1706, allocations: 6.891 kB / 0.6986 GB, free: 7.68 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.731e-05/0.1706, allocations: 14.17 kB / 0.6986 GB, free: 7.672 MB / 0.5137 GB Notification: Performance of SimCode: time 2.2e-07/0.1706, allocations: 0 / 0.6986 GB, free: 7.672 MB / 0.5137 GB Notification: Performance of Templates: time 0.003467/0.1741, allocations: 0.792 MB / 0.6993 GB, free: 7.18 MB / 0.5137 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.Sampler.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.Sampler.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.Sampler.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.Sampler.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.Sampler.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.Sampler -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.Sampler.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.6915028830990195] Failed to read output from testmodel.py, exit status != 0: 0.4736920101568103 0.19382668099999995 0.028607315 Calling exit ...