Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.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.002011/0.002011, allocations: 113.1 kB / 17.08 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.001797/0.001797, allocations: 186.8 kB / 20.02 MB, free: 3.086 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.463/1.463, allocations: 222.9 MB / 245.7 MB, free: 4.227 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.088/1.088, allocations: 147.6 MB / 445.5 MB, free: 8.352 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.ZeroOrderHold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold") translateModel(IBPSA.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00199/0.00199, allocations: 65.12 kB / 0.6113 GB, free: 37.83 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1535/0.1555, allocations: 83.15 MB / 0.6925 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold): time 0.001982/0.1576, allocations: 0.6612 MB / 0.6932 GB, free: 12.72 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001572/0.1592, allocations: 1.064 MB / 0.6942 GB, free: 11.87 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.209e-05/0.1592, allocations: 5.531 kB / 0.6942 GB, free: 11.86 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 2.999e-05/0.1592, allocations: 3.938 kB / 0.6942 GB, free: 11.86 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 5.847e-05/0.1593, allocations: 5.469 kB / 0.6942 GB, free: 11.86 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002762/0.1596, allocations: 44.72 kB / 0.6943 GB, free: 11.82 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 9.773e-05/0.1597, allocations: 45.14 kB / 0.6943 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001001/0.1598, allocations: 12.36 kB / 0.6943 GB, free: 11.79 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 7.002e-05/0.1599, allocations: 20.95 kB / 0.6944 GB, free: 11.78 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 6.472e-05/0.16, allocations: 27.22 kB / 0.6944 GB, free: 11.76 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.588e-05/0.16, allocations: 7.562 kB / 0.6944 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 6.993e-05/0.1601, allocations: 18.77 kB / 0.6944 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 2.703e-05/0.1601, allocations: 17.7 kB / 0.6944 GB, free: 11.73 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 3.595e-05/0.1601, allocations: 13.28 kB / 0.6944 GB, free: 11.72 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001943/0.1603, allocations: 65.52 kB / 0.6945 GB, free: 11.68 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.1604, allocations: 1.781 kB / 0.6945 GB, free: 11.68 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.563e-06/0.1604, allocations: 0 / 0.6945 GB, free: 11.68 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 8.245e-06/0.1604, allocations: 0 / 0.6945 GB, free: 11.68 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006486/0.161, allocations: 368.2 kB / 0.6949 GB, free: 11.29 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.54e-05/0.1611, allocations: 9.5 kB / 0.6949 GB, free: 11.29 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.898e-05/0.1611, allocations: 7.797 kB / 0.6949 GB, free: 11.29 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00013/0.1613, allocations: 170.5 kB / 0.695 GB, free: 11.08 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.387e-05/0.1613, allocations: 2.094 kB / 0.695 GB, free: 11.08 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.407e-05/0.1613, allocations: 6.75 kB / 0.695 GB, free: 11.08 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002126/0.1615, allocations: 73.55 kB / 0.6951 GB, free: 11.02 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.357e-06/0.1615, allocations: 192 / 0.6951 GB, free: 11.02 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.221e-05/0.1615, allocations: 3.938 kB / 0.6951 GB, free: 11.02 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.1616, allocations: 5.188 kB / 0.6951 GB, free: 11.01 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002017/0.1618, allocations: 44.23 kB / 0.6952 GB, free: 10.99 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004724/0.1622, allocations: 274.7 kB / 0.6954 GB, free: 10.69 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001786/0.1624, allocations: 61.8 kB / 0.6955 GB, free: 10.64 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001049/0.1626, allocations: 32.09 kB / 0.6955 GB, free: 10.62 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.611e-05/0.1626, allocations: 5.375 kB / 0.6955 GB, free: 10.62 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002136/0.1628, allocations: 77.17 kB / 0.6956 GB, free: 10.55 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=7): time 1.644e-06/0.1628, allocations: 1.375 kB / 0.6956 GB, free: 10.55 MB / 0.5137 GB Notification: Performance of matching and sorting (n=7): time 0.0004457/0.1633, allocations: 132.6 kB / 0.6957 GB, free: 10.47 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.311e-05/0.1633, allocations: 52.78 kB / 0.6958 GB, free: 10.41 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.733e-05/0.1634, allocations: 106.1 kB / 0.6959 GB, free: 10.3 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.556e-05/0.1635, allocations: 27.08 kB / 0.6959 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 5.58e-05/0.1635, allocations: 89.47 kB / 0.696 GB, free: 10.18 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.701e-05/0.1636, allocations: 22.58 kB / 0.696 GB, free: 10.16 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.877e-05/0.1636, allocations: 20.59 kB / 0.696 GB, free: 10.14 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001428/0.1638, allocations: 324.1 kB / 0.6963 GB, free: 9.816 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000107/0.1639, allocations: 27.11 kB / 0.6964 GB, free: 9.805 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000134/0.164, allocations: 58.14 kB / 0.6964 GB, free: 9.75 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002674/0.1643, allocations: 98.48 kB / 0.6965 GB, free: 9.672 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.1643, allocations: 0 / 0.6965 GB, free: 9.672 MB / 0.5137 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002927/0.1646, allocations: 119 kB / 0.6966 GB, free: 9.598 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.362e-05/0.1646, allocations: 5.5 kB / 0.6966 GB, free: 9.598 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/0.1646, allocations: 5.5 kB / 0.6966 GB, free: 9.594 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.539e-05/0.1647, allocations: 1.375 kB / 0.6966 GB, free: 9.594 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001121/0.1648, allocations: 20.55 kB / 0.6967 GB, free: 9.586 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.172e-06/0.1648, allocations: 1.375 kB / 0.6967 GB, free: 9.586 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.01e-05/0.1649, allocations: 17.48 kB / 0.6967 GB, free: 9.574 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.095e-05/0.1649, allocations: 4.125 kB / 0.6967 GB, free: 9.574 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 (zerOrdHol.firstTrigger,$PRE.zerOrdHol.firstTrigger,zerOrdHol.sampleTrigger,$whenCondition1,$PRE.zerOrdHol.ySample,zerOrdHol.ySample) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.69e-05/0.165, allocations: 119.6 kB / 0.6968 GB, free: 9.453 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.429e-05/0.165, allocations: 6.703 kB / 0.6968 GB, free: 9.449 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003018/0.1653, allocations: 113.8 kB / 0.6969 GB, free: 9.363 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.1653, allocations: 1.344 kB / 0.6969 GB, free: 9.363 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.1653, allocations: 0 / 0.6969 GB, free: 9.363 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.1654, allocations: 1.344 kB / 0.6969 GB, free: 9.363 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004819/0.1658, allocations: 355.4 kB / 0.6972 GB, free: 9.012 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.1658, allocations: 0 / 0.6972 GB, free: 9.012 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.889e-05/0.1659, allocations: 14.95 kB / 0.6973 GB, free: 9.004 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.1659, allocations: 4.969 kB / 0.6973 GB, free: 9 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.107e-05/0.166, allocations: 4.844 kB / 0.6973 GB, free: 8.996 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.166, allocations: 0.875 kB / 0.6973 GB, free: 8.996 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.166, allocations: 0 / 0.6973 GB, free: 8.996 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003362/0.1663, allocations: 198.9 kB / 0.6975 GB, free: 8.828 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.154e-05/0.1664, allocations: 87.55 kB / 0.6975 GB, free: 8.727 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.869e-05/0.1664, allocations: 1.344 kB / 0.6975 GB, free: 8.727 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001017/0.1665, allocations: 12.05 kB / 0.6976 GB, free: 8.719 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.925e-05/0.1665, allocations: 7.797 kB / 0.6976 GB, free: 8.715 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.566e-05/0.1666, allocations: 5.25 kB / 0.6976 GB, free: 8.711 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 5.717e-05/0.1666, allocations: 84.84 kB / 0.6976 GB, free: 8.633 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1666, allocations: 3.938 kB / 0.6977 GB, free: 8.629 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002509/0.1669, allocations: 19 kB / 0.6977 GB, free: 8.621 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 (zerOrdHol.sampleTrigger,$whenCondition1,zerOrdHol.ySample,zerOrdHol.firstTrigger) * Number of discrete states: 1 (zerOrdHol.ySample) * 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.0001504/0.167, allocations: 109.2 kB / 0.6978 GB, free: 8.523 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002743/0.1673, allocations: 69.48 kB / 0.6978 GB, free: 8.496 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.1673, allocations: 0 / 0.6978 GB, free: 8.496 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001205/0.1675, allocations: 32.97 kB / 0.6979 GB, free: 8.484 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002665/0.1677, allocations: 12.38 kB / 0.6979 GB, free: 8.477 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003449/0.1681, allocations: 140.8 kB / 0.698 GB, free: 8.344 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003478/0.1685, allocations: 0.6826 MB / 0.6987 GB, free: 7.645 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 3.512e-05/0.1685, allocations: 7.609 kB / 0.6987 GB, free: 7.641 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.782e-05/0.1685, allocations: 11.16 kB / 0.6987 GB, free: 7.637 MB / 0.5137 GB Notification: Performance of SimCode: time 2.41e-07/0.1685, allocations: 0 / 0.6987 GB, free: 7.637 MB / 0.5137 GB Notification: Performance of Templates: time 0.003799/0.1723, allocations: 0.8465 MB / 0.6995 GB, free: 7.09 MB / 0.5137 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.716963161248714] Failed to read output from testmodel.py, exit status != 0: 0.47289911611005664 0.193171062 0.030105736 Calling exit ...