Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.UnitDelay.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.0009012/0.0009012, allocations: 84.22 kB / 20.94 MB, free: 3.605 MB / 18.57 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.000896/0.000896, allocations: 169 kB / 24.25 MB, free: 304 kB / 18.57 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 1.088/1.088, allocations: 177.2 MB / 204.6 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.6392/0.6392, allocations: 114.9 MB / 376 MB, free: 7.621 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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.UnitDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.UnitDelay") translateModel(IBPSA.Controls.OBC.CDL.Discrete.Validation.UnitDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.UnitDelay") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.893e-06/1.893e-06, allocations: 0 / 481.5 MB, free: 11.93 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.978e-05/2.167e-05, allocations: 3.094 kB / 481.5 MB, free: 11.92 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Discrete.Validation.UnitDelay): time 0.001194/0.001216, allocations: 0.6688 MB / 482.2 MB, free: 11.54 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001014/0.00223, allocations: 1.11 MB / 483.3 MB, free: 10.75 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.237e-05/0.002282, allocations: 0.75 kB / 483.3 MB, free: 10.75 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 2.949e-05/0.002311, allocations: 4.656 kB / 483.3 MB, free: 10.75 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 7.327e-05/0.002385, allocations: 8.5 kB / 483.3 MB, free: 10.74 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002916/0.002676, allocations: 48.66 kB / 483.3 MB, free: 10.71 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001012/0.002777, allocations: 47.05 kB / 483.4 MB, free: 10.69 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001085/0.002886, allocations: 7.812 kB / 483.4 MB, free: 10.69 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.865e-05/0.002985, allocations: 35.89 kB / 483.4 MB, free: 10.67 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.536e-05/0.00303, allocations: 14.11 kB / 483.4 MB, free: 10.67 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.86e-05/0.003049, allocations: 3.5 kB / 483.4 MB, free: 10.67 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.284e-05/0.003111, allocations: 23.67 kB / 483.5 MB, free: 10.66 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.17e-05/0.003133, allocations: 17.89 kB / 483.5 MB, free: 10.65 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.991e-05/0.003163, allocations: 11.34 kB / 483.5 MB, free: 10.64 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001254/0.003288, allocations: 54.17 kB / 483.5 MB, free: 10.62 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.114e-06/0.003291, allocations: 0.625 kB / 483.5 MB, free: 10.62 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.003292, allocations: 0.75 kB / 483.5 MB, free: 10.62 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.179e-06/0.003297, allocations: 0 / 483.5 MB, free: 10.62 MB / 410.7 MB 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.0003797/0.003677, allocations: 387.8 kB / 483.9 MB, free: 10.23 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.824e-05/0.003715, allocations: 11.22 kB / 483.9 MB, free: 10.23 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.617e-05/0.003811, allocations: 4.375 kB / 483.9 MB, free: 10.23 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.404e-05/0.003885, allocations: 115.4 kB / 484.1 MB, free: 10.09 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.678e-05/0.003902, allocations: 12.31 kB / 484.1 MB, free: 10.09 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.082e-05/0.003913, allocations: 0.9688 kB / 484.1 MB, free: 10.09 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001243/0.004037, allocations: 62.75 kB / 484.1 MB, free: 10.04 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.544e-06/0.004044, allocations: 192 / 484.1 MB, free: 10.04 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.197e-06/0.004054, allocations: 1.75 kB / 484.1 MB, free: 10.04 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.075e-06/0.004062, allocations: 5.812 kB / 484.1 MB, free: 10.04 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.661e-05/0.004098, allocations: 14.84 kB / 484.1 MB, free: 10.03 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003253/0.004424, allocations: 277.9 kB / 484.4 MB, free: 9.758 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.352e-05/0.004497, allocations: 42.88 kB / 484.5 MB, free: 9.719 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.244e-05/0.00452, allocations: 12.06 kB / 484.5 MB, free: 9.707 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.949e-05/0.004539, allocations: 4.5 kB / 484.5 MB, free: 9.707 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.014e-05/0.004609, allocations: 71.14 kB / 484.5 MB, free: 9.637 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.243e-06/0.00461, allocations: 1.25 kB / 484.5 MB, free: 9.637 MB / 410.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001719/0.004782, allocations: 73.78 kB / 484.6 MB, free: 9.594 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.889e-05/0.004811, allocations: 53.22 kB / 484.7 MB, free: 9.531 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.354e-05/0.004875, allocations: 171.5 kB / 484.8 MB, free: 9.359 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.496e-06/0.004883, allocations: 29.7 kB / 484.9 MB, free: 9.324 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001687/0.005052, allocations: 140.3 kB / 485 MB, free: 25.19 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.677e-05/0.005069, allocations: 12.25 kB / 485 MB, free: 25.18 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.128e-05/0.0051, allocations: 39.42 kB / 485.1 MB, free: 25.14 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001103/0.00521, allocations: 492.1 kB / 485.5 MB, free: 24.65 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.374e-05/0.005234, allocations: 9.641 kB / 485.5 MB, free: 24.65 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.467e-05/0.005269, allocations: 53.31 kB / 485.6 MB, free: 24.59 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.161e-05/0.00533, allocations: 70.19 kB / 485.7 MB, free: 24.52 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.005333, allocations: 0.8438 kB / 485.7 MB, free: 24.52 MB / 426.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 9.644e-05/0.005429, allocations: 80.3 kB / 485.7 MB, free: 24.47 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.358e-05/0.005443, allocations: 10.81 kB / 485.8 MB, free: 24.47 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.005447, allocations: 0 / 485.8 MB, free: 24.47 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.247e-05/0.00546, allocations: 3.844 kB / 485.8 MB, free: 24.47 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.444e-05/0.005544, allocations: 15.03 kB / 485.8 MB, free: 24.47 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.00555, allocations: 3.5 kB / 485.8 MB, free: 24.47 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.883e-05/0.005578, allocations: 22.38 kB / 485.8 MB, free: 24.45 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.538e-06/0.005588, allocations: 4.562 kB / 485.8 MB, free: 24.45 MB / 426.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 (unitDelay1.u_internal,$PRE.unitDelay1.u_internal,unitDelay1.y,$PRE.unitDelay1.y,unitDelay1.sampleTrigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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 6.416e-05/0.005652, allocations: 162 kB / 486 MB, free: 24.29 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.907e-06/0.005661, allocations: 8.531 kB / 486 MB, free: 24.29 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001004/0.005762, allocations: 67.34 kB / 486 MB, free: 24.24 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.367e-06/0.005765, allocations: 6.844 kB / 486 MB, free: 24.24 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.005769, allocations: 0 / 486 MB, free: 24.24 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.005774, allocations: 4.547 kB / 486 MB, free: 24.24 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001855/0.005959, allocations: 323.6 kB / 486.4 MB, free: 23.92 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.005962, allocations: 1 kB / 486.4 MB, free: 23.92 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.881e-05/0.00599, allocations: 9 kB / 486.4 MB, free: 23.92 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.005993, allocations: 2.562 kB / 486.4 MB, free: 23.92 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.943e-06/0.006, allocations: 0 / 486.4 MB, free: 23.92 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.006001, allocations: 1.031 kB / 486.4 MB, free: 23.92 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.006002, allocations: 0 / 486.4 MB, free: 23.92 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001088/0.006111, allocations: 226.8 kB / 486.6 MB, free: 23.71 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.921e-06/0.006117, allocations: 6.109 kB / 486.6 MB, free: 23.71 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.578e-05/0.006133, allocations: 2.875 kB / 486.6 MB, free: 23.71 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.381e-05/0.006166, allocations: 6.531 kB / 486.6 MB, free: 23.71 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.773e-05/0.006204, allocations: 5.141 kB / 486.6 MB, free: 23.71 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.41e-06/0.00621, allocations: 6.156 kB / 486.6 MB, free: 23.7 MB / 426.7 MB Notification: Performance of sorting global known variables: time 4.294e-05/0.006252, allocations: 128.6 kB / 486.8 MB, free: 23.59 MB / 426.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.006253, allocations: 0 / 486.8 MB, free: 23.59 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001653/0.006418, allocations: 14.03 kB / 486.8 MB, free: 23.58 MB / 426.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 (unitDelay1.sampleTrigger,$whenCondition1,unitDelay1.y,unitDelay1.u_internal) * Number of discrete states: 1 (unitDelay1.u_internal) * 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 9.951e-05/0.006517, allocations: 106.1 kB / 486.9 MB, free: 23.49 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001019/0.006619, allocations: 39.19 kB / 486.9 MB, free: 23.47 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.312e-06/0.006621, allocations: 1.062 kB / 486.9 MB, free: 23.47 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 3.283e-05/0.006653, allocations: 25.5 kB / 486.9 MB, free: 23.46 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001888/0.006842, allocations: 12.94 kB / 486.9 MB, free: 23.45 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004203/0.007262, allocations: 151.8 kB / 487.1 MB, free: 23.32 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.521e-05/0.007288, allocations: 55.83 kB / 487.1 MB, free: 23.25 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 2.422e-05/0.007312, allocations: 7.156 kB / 487.2 MB, free: 23.25 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.107e-05/0.007333, allocations: 11.78 kB / 487.2 MB, free: 23.24 MB / 426.7 MB Notification: Performance of SimCode: time 8.82e-07/0.007334, allocations: 0 / 487.2 MB, free: 23.24 MB / 426.7 MB Notification: Performance of Templates: time 0.002521/0.009855, allocations: 0.8389 MB / 488 MB, free: 23.18 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.UnitDelay.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.UnitDelay.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.UnitDelay.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.UnitDelay.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.UnitDelay.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.UnitDelay -abortSlowSimulation -alarm=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.UnitDelay.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.586184866959229]