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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001199/0.001199, allocations: 72.19 kB / 9.907 MB, free: 0.7812 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001452/0.002651, allocations: 447.8 kB / 10.34 MB, free: 352 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009837/0.0009837, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001316/0.002299, allocations: 463.6 kB / 11.69 MB, free: 2.48 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.981/0.981, allocations: 177.1 MB / 189.6 MB, free: 3.77 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1795/1.161, allocations: 53.65 MB / 243.2 MB, free: 2.375 MB / 234.7 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.674/0.674, allocations: 119.1 MB / 363.1 MB, free: 4.969 MB / 346.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07189/0.7458, allocations: 37.86 MB / 400.9 MB, free: 15.31 MB / 394.7 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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 1.754e-06/1.754e-06, allocations: 0 / 402.2 MB, free: 14.04 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.236e-05/2.412e-05, allocations: 6.109 kB / 402.2 MB, free: 14.04 MB / 394.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold): time 0.001543/0.001567, allocations: 0.7119 MB / 402.9 MB, free: 13.33 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.001024/0.002592, allocations: 1.127 MB / 404 MB, free: 12.19 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.239e-05/0.002634, allocations: 0 / 404 MB, free: 12.19 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 2.068e-05/0.002655, allocations: 3.938 kB / 404 MB, free: 12.18 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 3.353e-05/0.002688, allocations: 11.88 kB / 404 MB, free: 12.17 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001906/0.002879, allocations: 47.81 kB / 404.1 MB, free: 12.12 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 7.983e-05/0.002959, allocations: 43.86 kB / 404.1 MB, free: 12.08 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.238e-05/0.003031, allocations: 11.98 kB / 404.1 MB, free: 12.07 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.234e-05/0.003114, allocations: 39.84 kB / 404.2 MB, free: 12.03 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.956e-05/0.003163, allocations: 19.95 kB / 404.2 MB, free: 12.01 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.329e-05/0.003176, allocations: 4 kB / 404.2 MB, free: 12.01 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.539e-05/0.003252, allocations: 23.94 kB / 404.2 MB, free: 11.98 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 1.567e-05/0.003267, allocations: 4 kB / 404.2 MB, free: 11.98 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 2.314e-05/0.003291, allocations: 19.92 kB / 404.3 MB, free: 11.96 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001041/0.003395, allocations: 39.91 kB / 404.3 MB, free: 11.92 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.458e-05/0.003409, allocations: 0 / 404.3 MB, free: 11.92 MB / 394.7 MB Notification: Performance of FrontEnd: time 5.21e-07/0.00341, allocations: 4 kB / 404.3 MB, free: 11.92 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.648e-05/0.003426, allocations: 0 / 404.3 MB, free: 11.92 MB / 394.7 MB 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.0004886/0.003915, allocations: 276.4 kB / 404.6 MB, free: 11.62 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.039e-05/0.003945, allocations: 15.89 kB / 404.6 MB, free: 11.61 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001059/0.004051, allocations: 89.97 kB / 404.7 MB, free: 11.5 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.66e-05/0.004128, allocations: 117.7 kB / 404.8 MB, free: 11.36 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.656e-06/0.004136, allocations: 384 / 404.8 MB, free: 11.36 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.366e-06/0.004145, allocations: 8.375 kB / 404.8 MB, free: 11.35 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.866e-05/0.004243, allocations: 70.92 kB / 404.9 MB, free: 11.27 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.863e-06/0.00425, allocations: 192 / 404.9 MB, free: 11.27 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.182e-06/0.004256, allocations: 384 / 404.9 MB, free: 11.27 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.503e-06/0.004263, allocations: 4.375 kB / 404.9 MB, free: 11.27 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.589e-05/0.004289, allocations: 11.92 kB / 404.9 MB, free: 11.26 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002347/0.004524, allocations: 164.2 kB / 405 MB, free: 11.08 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.004e-05/0.004584, allocations: 30.56 kB / 405.1 MB, free: 11.04 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.419e-05/0.004598, allocations: 16.98 kB / 405.1 MB, free: 11.02 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.743e-05/0.004615, allocations: 4 kB / 405.1 MB, free: 11.02 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.136e-05/0.004687, allocations: 55.45 kB / 405.1 MB, free: 10.95 MB / 394.7 MB Notification: Performance of pre-optimization done (n=7): time 1.263e-06/0.004688, allocations: 0 / 405.1 MB, free: 10.95 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001165/0.004804, allocations: 69.53 kB / 405.2 MB, free: 10.88 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.73e-05/0.004842, allocations: 55.41 kB / 405.3 MB, free: 10.81 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.429e-05/0.004896, allocations: 110.7 kB / 405.4 MB, free: 10.69 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.033e-05/0.004906, allocations: 25.7 kB / 405.4 MB, free: 10.66 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.713e-05/0.004933, allocations: 88.08 kB / 405.5 MB, free: 10.57 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.953e-05/0.004953, allocations: 27.83 kB / 405.5 MB, free: 10.54 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.587e-05/0.004979, allocations: 17.72 kB / 405.5 MB, free: 10.52 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 6.727e-05/0.005046, allocations: 326.8 kB / 405.9 MB, free: 10.19 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.133e-05/0.005057, allocations: 4 kB / 405.9 MB, free: 10.19 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.77e-05/0.005085, allocations: 44.2 kB / 405.9 MB, free: 10.13 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.563e-05/0.005131, allocations: 52.47 kB / 406 MB, free: 10.06 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/0.005133, allocations: 0 / 406 MB, free: 10.06 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002046/0.005337, allocations: 77.64 kB / 406 MB, free: 9.98 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.134e-05/0.005349, allocations: 8.031 kB / 406 MB, free: 9.973 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/0.005353, allocations: 0 / 406 MB, free: 9.973 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.037e-06/0.005362, allocations: 7.938 kB / 406 MB, free: 9.965 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.339e-05/0.005435, allocations: 15.98 kB / 406.1 MB, free: 9.949 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.517e-06/0.005438, allocations: 4 kB / 406.1 MB, free: 9.945 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.637e-05/0.005465, allocations: 11.92 kB / 406.1 MB, free: 9.934 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.294e-06/0.005472, allocations: 4 kB / 406.1 MB, free: 9.93 MB / 394.7 MB 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 5.728e-05/0.005529, allocations: 117.7 kB / 406.2 MB, free: 9.805 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.536e-06/0.005538, allocations: 8 kB / 406.2 MB, free: 9.797 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.391e-05/0.005612, allocations: 58.11 kB / 406.3 MB, free: 9.73 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.005614, allocations: 3.938 kB / 406.3 MB, free: 9.727 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.623e-06/0.005616, allocations: 0 / 406.3 MB, free: 9.727 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.005619, allocations: 0 / 406.3 MB, free: 9.727 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001597/0.005779, allocations: 214.8 kB / 406.5 MB, free: 9.492 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.00578, allocations: 0 / 406.5 MB, free: 9.492 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.07e-05/0.005811, allocations: 8 kB / 406.5 MB, free: 9.484 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.073e-06/0.005818, allocations: 7.891 kB / 406.5 MB, free: 9.477 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.356e-06/0.005822, allocations: 4.031 kB / 406.5 MB, free: 9.473 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.481e-06/0.005827, allocations: 4 kB / 406.5 MB, free: 9.469 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.265e-06/0.005829, allocations: 3.984 kB / 406.5 MB, free: 9.465 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.00583, allocations: 4 kB / 406.5 MB, free: 9.461 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.098e-05/0.005901, allocations: 151.5 kB / 406.7 MB, free: 9.297 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.298e-05/0.005914, allocations: 3.938 kB / 406.7 MB, free: 9.293 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.913e-05/0.005953, allocations: 7.984 kB / 406.7 MB, free: 9.285 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.519e-05/0.005978, allocations: 7.984 kB / 406.7 MB, free: 9.277 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.997e-06/0.005987, allocations: 4 kB / 406.7 MB, free: 9.273 MB / 394.7 MB Notification: Performance of sorting global known variables: time 9.958e-06/0.005997, allocations: 8.859 kB / 406.7 MB, free: 9.262 MB / 394.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005997, allocations: 0 / 406.7 MB, free: 9.262 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001291/0.006127, allocations: 12 kB / 406.7 MB, free: 9.25 MB / 394.7 MB 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 9.372e-05/0.00622, allocations: 92.41 kB / 406.8 MB, free: 9.152 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 7.568e-05/0.006296, allocations: 36.77 kB / 406.8 MB, free: 9.113 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.879e-06/0.006301, allocations: 4 kB / 406.8 MB, free: 9.109 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 2.38e-05/0.006325, allocations: 16.86 kB / 406.8 MB, free: 9.09 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000125/0.00645, allocations: 16.17 kB / 406.9 MB, free: 9.074 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005803/0.00703, allocations: 160.4 kB / 407 MB, free: 8.891 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.178e-05/0.007062, allocations: 66.44 kB / 407.1 MB, free: 8.809 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 2.611e-05/0.007088, allocations: 8.625 kB / 407.1 MB, free: 8.801 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.411e-05/0.007132, allocations: 59.36 kB / 407.1 MB, free: 8.742 MB / 394.7 MB Notification: Performance of SimCode: time 5.01e-07/0.007132, allocations: 0 / 407.1 MB, free: 8.742 MB / 394.7 MB Notification: Performance of Templates: time 0.002271/0.009404, allocations: 0.9162 MB / 408.1 MB, free: 7.84 MB / 394.7 MB " [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=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.2155485218390822]