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.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.001309/0.001309, allocations: 100.1 kB / 20.43 MB, free: 4.137 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.001503/0.001503, allocations: 169.3 kB / 23.8 MB, free: 0.7695 MB / 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 0.8868/0.8868, allocations: 177.1 MB / 204.2 MB, free: 5.633 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.5746/0.5746, allocations: 115 MB / 375.7 MB, free: 7.656 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.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 1.843e-06/1.843e-06, allocations: 0 / 481.5 MB, free: 11.92 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.146e-05/1.331e-05, allocations: 5.875 kB / 481.5 MB, free: 11.92 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Discrete.Validation.Sampler): time 0.001063/0.001077, allocations: 0.6706 MB / 482.2 MB, free: 11.53 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008159/0.001893, allocations: 1.11 MB / 483.3 MB, free: 10.74 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.481e-05/0.001927, allocations: 0 / 483.3 MB, free: 10.74 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 2.755e-05/0.001955, allocations: 4.844 kB / 483.3 MB, free: 10.74 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 5.623e-05/0.002011, allocations: 7.469 kB / 483.3 MB, free: 10.73 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002356/0.002247, allocations: 46.75 kB / 483.3 MB, free: 10.71 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 7.631e-05/0.002323, allocations: 52.36 kB / 483.4 MB, free: 10.68 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.786e-05/0.002401, allocations: 3.094 kB / 483.4 MB, free: 10.68 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.366e-05/0.002465, allocations: 30.42 kB / 483.4 MB, free: 10.67 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.816e-05/0.002503, allocations: 13 kB / 483.4 MB, free: 10.67 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.501e-05/0.002518, allocations: 6.062 kB / 483.4 MB, free: 10.67 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.8e-05/0.002576, allocations: 26.14 kB / 483.5 MB, free: 10.66 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.026e-05/0.002596, allocations: 15.75 kB / 483.5 MB, free: 10.65 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.437e-05/0.00262, allocations: 12.42 kB / 483.5 MB, free: 10.64 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001097/0.00273, allocations: 54.08 kB / 483.5 MB, free: 10.62 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.924e-06/0.002732, allocations: 1.031 kB / 483.5 MB, free: 10.62 MB / 410.7 MB Notification: Performance of FrontEnd: time 4.01e-07/0.002732, allocations: 1.062 kB / 483.5 MB, free: 10.62 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.626e-06/0.002736, 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.0003619/0.003098, allocations: 391.4 kB / 483.9 MB, free: 10.23 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.36e-05/0.003131, allocations: 10.78 kB / 483.9 MB, free: 10.23 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.782e-05/0.003219, allocations: 9.391 kB / 483.9 MB, free: 10.23 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.246e-05/0.003282, allocations: 115.8 kB / 484.1 MB, free: 10.09 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.126e-05/0.003293, allocations: 6.969 kB / 484.1 MB, free: 10.09 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.003e-05/0.003303, allocations: 3.688 kB / 484.1 MB, free: 10.09 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001041/0.003407, allocations: 64.66 kB / 484.1 MB, free: 10.04 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.492e-06/0.003414, allocations: 192 / 484.1 MB, free: 10.04 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.298e-06/0.003423, allocations: 5.312 kB / 484.1 MB, free: 10.04 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.414e-06/0.00343, allocations: 1.656 kB / 484.1 MB, free: 10.04 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.458e-05/0.003465, allocations: 14.98 kB / 484.1 MB, free: 10.03 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002675/0.003732, allocations: 265.6 kB / 484.4 MB, free: 9.762 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.405e-05/0.003806, allocations: 44.11 kB / 484.5 MB, free: 9.723 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.153e-05/0.003828, allocations: 12.88 kB / 484.5 MB, free: 9.711 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.544e-05/0.003843, allocations: 8.531 kB / 484.5 MB, free: 9.707 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.274e-05/0.003906, allocations: 68.55 kB / 484.5 MB, free: 9.641 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.703e-06/0.003908, allocations: 0.6875 kB / 484.5 MB, free: 9.641 MB / 410.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001581/0.004066, allocations: 70.89 kB / 484.6 MB, free: 9.598 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.547e-05/0.004091, allocations: 58.14 kB / 484.7 MB, free: 9.535 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001465/0.004238, allocations: 168.4 kB / 484.8 MB, free: 25.36 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 7.153e-06/0.004245, allocations: 29.64 kB / 484.9 MB, free: 25.33 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.052e-05/0.004286, allocations: 133.5 kB / 485 MB, free: 25.2 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.553e-05/0.004301, allocations: 10.38 kB / 485 MB, free: 25.19 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.905e-05/0.00433, allocations: 29.72 kB / 485 MB, free: 25.16 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001153/0.004445, allocations: 0.4911 MB / 485.5 MB, free: 24.66 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.292e-05/0.004468, allocations: 8.172 kB / 485.5 MB, free: 24.66 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.361e-05/0.004522, allocations: 50 kB / 485.6 MB, free: 24.61 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.367e-05/0.004576, allocations: 55.09 kB / 485.6 MB, free: 24.55 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.004579, allocations: 1.562 kB / 485.6 MB, free: 24.55 MB / 426.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 9.008e-05/0.004669, allocations: 76.38 kB / 485.7 MB, free: 24.5 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.004682, allocations: 8.938 kB / 485.7 MB, free: 24.5 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.004687, allocations: 2.625 kB / 485.7 MB, free: 24.5 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.225e-05/0.004699, allocations: 1.406 kB / 485.7 MB, free: 24.5 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.596e-05/0.004765, allocations: 19.55 kB / 485.7 MB, free: 24.49 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.162e-06/0.004771, allocations: 12.33 kB / 485.8 MB, free: 24.48 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.757e-05/0.004799, allocations: 7.375 kB / 485.8 MB, free: 24.48 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.246e-06/0.004807, allocations: 2.594 kB / 485.8 MB, free: 24.48 MB / 426.7 MB 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 5.955e-05/0.004866, allocations: 159.2 kB / 485.9 MB, free: 24.32 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.726e-06/0.004875, allocations: 7.625 kB / 485.9 MB, free: 24.32 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.681e-05/0.004972, allocations: 75.33 kB / 486 MB, free: 24.27 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.004974, allocations: 1.344 kB / 486 MB, free: 24.27 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.006e-06/0.004977, allocations: 0.9062 kB / 486 MB, free: 24.27 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.00498, allocations: 4.266 kB / 486 MB, free: 24.27 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001625/0.005143, allocations: 315.9 kB / 486.3 MB, free: 23.96 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/0.005145, allocations: 2.656 kB / 486.3 MB, free: 23.96 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.471e-05/0.005169, allocations: 7.234 kB / 486.3 MB, free: 23.96 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.005171, allocations: 1.219 kB / 486.3 MB, free: 23.96 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.512e-06/0.005178, allocations: 2.594 kB / 486.3 MB, free: 23.96 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.005179, allocations: 3.938 kB / 486.3 MB, free: 23.95 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.00518, allocations: 0 / 486.3 MB, free: 23.95 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.586e-05/0.005275, allocations: 218.5 kB / 486.5 MB, free: 23.75 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.951e-06/0.005281, allocations: 7.328 kB / 486.6 MB, free: 23.75 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.989e-06/0.005291, allocations: 1.062 kB / 486.6 MB, free: 23.75 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.141e-05/0.005333, allocations: 10.38 kB / 486.6 MB, free: 23.75 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.104e-05/0.005364, allocations: 5.172 kB / 486.6 MB, free: 23.75 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.051e-05/0.005374, allocations: 6.312 kB / 486.6 MB, free: 23.75 MB / 426.7 MB Notification: Performance of sorting global known variables: time 3.835e-05/0.005413, allocations: 126.8 kB / 486.7 MB, free: 23.62 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005413, allocations: 1.031 kB / 486.7 MB, free: 23.62 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001524/0.005565, allocations: 13.03 kB / 486.7 MB, free: 23.62 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 (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 8.841e-05/0.005653, allocations: 107.8 kB / 486.8 MB, free: 23.53 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 8.957e-05/0.005743, allocations: 38.98 kB / 486.9 MB, free: 23.51 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.062e-06/0.005744, allocations: 0 / 486.9 MB, free: 23.51 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 2.883e-05/0.005773, allocations: 21.09 kB / 486.9 MB, free: 23.5 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001705/0.005943, allocations: 19.88 kB / 486.9 MB, free: 23.49 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003747/0.006318, allocations: 139.5 kB / 487 MB, free: 23.36 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.403e-05/0.006342, allocations: 59.47 kB / 487.1 MB, free: 23.29 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 2.354e-05/0.006366, allocations: 3.188 kB / 487.1 MB, free: 23.29 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.281e-05/0.006389, allocations: 19.67 kB / 487.1 MB, free: 23.28 MB / 426.7 MB Notification: Performance of SimCode: time 3.6e-07/0.006389, allocations: 0 / 487.1 MB, free: 23.28 MB / 426.7 MB Notification: Performance of Templates: time 0.002339/0.008728, allocations: 0.9044 MB / 488 MB, free: 23.2 MB / 426.7 MB " [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=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.Sampler.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.362256222870201]