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.001879/0.001879, allocations: 93.47 kB / 20.21 MB, free: 4.211 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.002026/0.002026, allocations: 165.2 kB / 23.53 MB, free: 0.8945 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 1.591/1.591, allocations: 177.1 MB / 203.9 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 178] 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 1.099/1.099, allocations: 115 MB / 375.3 MB, free: 7.562 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 2.655e-06/2.655e-06, allocations: 0.7656 kB / 480.8 MB, free: 11.94 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.711e-05/2.977e-05, allocations: 2.312 kB / 480.8 MB, free: 11.94 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Discrete.Validation.Sampler): time 0.001593/0.001622, allocations: 0.6579 MB / 481.4 MB, free: 11.56 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001161/0.002783, allocations: 1.09 MB / 482.5 MB, free: 10.77 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.117e-05/0.002825, allocations: 0.5 kB / 482.5 MB, free: 10.77 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 2.36e-05/0.002848, allocations: 4.562 kB / 482.5 MB, free: 10.77 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 6.708e-05/0.002915, allocations: 5.156 kB / 482.5 MB, free: 10.76 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002814/0.003197, allocations: 48.69 kB / 482.6 MB, free: 10.74 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 8.902e-05/0.003286, allocations: 43.92 kB / 482.6 MB, free: 10.72 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.533e-05/0.003371, allocations: 18.08 kB / 482.6 MB, free: 10.71 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.816e-05/0.003449, allocations: 25.98 kB / 482.7 MB, free: 10.7 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.346e-05/0.003493, allocations: 17.91 kB / 482.7 MB, free: 10.69 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.717e-05/0.00351, allocations: 3.125 kB / 482.7 MB, free: 10.69 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.116e-05/0.003571, allocations: 17.95 kB / 482.7 MB, free: 10.69 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.064e-05/0.003592, allocations: 16 kB / 482.7 MB, free: 10.68 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.101e-05/0.003623, allocations: 10.83 kB / 482.7 MB, free: 10.68 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001412/0.003764, allocations: 68.06 kB / 482.8 MB, free: 10.65 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.485e-06/0.003766, allocations: 0.75 kB / 482.8 MB, free: 10.65 MB / 410.7 MB Notification: Performance of FrontEnd: time 6.81e-07/0.003767, allocations: 0 / 482.8 MB, free: 10.65 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.138e-06/0.003771, allocations: 0.9375 kB / 482.8 MB, free: 10.65 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.0005063/0.004277, allocations: 388.9 kB / 483.2 MB, free: 10.27 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.791e-05/0.004315, allocations: 12.22 kB / 483.2 MB, free: 10.27 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001131/0.004428, allocations: 12.17 kB / 483.2 MB, free: 10.26 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.361e-05/0.004512, allocations: 127.4 kB / 483.3 MB, free: 10.11 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.446e-05/0.004526, allocations: 6.078 kB / 483.3 MB, free: 10.11 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.057e-05/0.004537, allocations: 3.562 kB / 483.3 MB, free: 10.11 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001537/0.004691, allocations: 57.48 kB / 483.4 MB, free: 10.07 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.004701, allocations: 192 / 483.4 MB, free: 10.07 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.015e-05/0.004711, allocations: 0.9688 kB / 483.4 MB, free: 10.07 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.419e-06/0.004716, allocations: 384 / 483.4 MB, free: 10.07 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001197/0.004835, allocations: 32.78 kB / 483.4 MB, free: 10.06 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005533/0.005389, allocations: 271.9 kB / 483.7 MB, free: 25.79 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001288/0.005518, allocations: 60.05 kB / 483.7 MB, free: 25.75 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.534e-05/0.005583, allocations: 25.98 kB / 483.8 MB, free: 25.73 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.493e-05/0.005608, allocations: 5.156 kB / 483.8 MB, free: 25.73 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001225/0.00573, allocations: 79.53 kB / 483.8 MB, free: 25.66 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 1.393e-06/0.005732, allocations: 0 / 483.8 MB, free: 25.66 MB / 426.7 MB Notification: Performance of matching and sorting (n=6): time 0.0003343/0.006066, allocations: 108.1 kB / 484 MB, free: 25.61 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.601e-05/0.006092, allocations: 56.94 kB / 484 MB, free: 25.54 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001045/0.006197, allocations: 170.5 kB / 484.2 MB, free: 25.37 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 9.568e-06/0.006206, allocations: 26.86 kB / 484.2 MB, free: 25.34 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.776e-05/0.006274, allocations: 133.4 kB / 484.3 MB, free: 25.21 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.902e-05/0.006293, allocations: 17.44 kB / 484.3 MB, free: 25.2 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.019e-05/0.006333, allocations: 31.61 kB / 484.4 MB, free: 25.16 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002277/0.006561, allocations: 495.2 kB / 484.9 MB, free: 24.67 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.499e-05/0.006626, allocations: 20.23 kB / 484.9 MB, free: 24.67 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.68e-05/0.006703, allocations: 64.05 kB / 484.9 MB, free: 24.61 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001348/0.006837, allocations: 86.95 kB / 485 MB, free: 24.54 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.006839, allocations: 0 / 485 MB, free: 24.54 MB / 426.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002086/0.007048, allocations: 96.89 kB / 485.1 MB, free: 24.49 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.513e-05/0.007063, allocations: 9.094 kB / 485.1 MB, free: 24.48 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.007069, allocations: 5 kB / 485.1 MB, free: 24.48 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.649e-05/0.007085, allocations: 2.438 kB / 485.1 MB, free: 24.48 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.592e-05/0.007171, allocations: 8.25 kB / 485.1 MB, free: 24.48 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.007178, allocations: 5.859 kB / 485.2 MB, free: 24.48 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.862e-05/0.007227, allocations: 14.08 kB / 485.2 MB, free: 24.48 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.148e-05/0.007238, allocations: 3.75 kB / 485.2 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 0.0001101/0.007348, allocations: 164.5 kB / 485.3 MB, free: 24.31 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.55e-05/0.007364, allocations: 7.281 kB / 485.3 MB, free: 24.3 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002036/0.007568, allocations: 94.69 kB / 485.4 MB, free: 24.25 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.007571, allocations: 4.391 kB / 485.4 MB, free: 24.25 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.775e-06/0.007574, allocations: 0 / 485.4 MB, free: 24.25 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.007578, allocations: 2.562 kB / 485.4 MB, free: 24.25 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000365/0.007943, allocations: 340.6 kB / 485.8 MB, free: 23.93 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.007946, allocations: 5.688 kB / 485.8 MB, free: 23.93 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.311e-05/0.007989, allocations: 5.344 kB / 485.8 MB, free: 23.93 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.007991, allocations: 0 / 485.8 MB, free: 23.93 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.978e-06/0.008001, allocations: 6.656 kB / 485.8 MB, free: 23.93 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.008002, allocations: 0 / 485.8 MB, free: 23.93 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.008004, allocations: 1.344 kB / 485.8 MB, free: 23.93 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002606/0.008265, allocations: 238.1 kB / 486 MB, free: 23.72 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.938e-06/0.008274, allocations: 13.14 kB / 486 MB, free: 23.71 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.605e-05/0.00829, allocations: 4.594 kB / 486 MB, free: 23.71 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.02e-05/0.008371, allocations: 10.47 kB / 486 MB, free: 23.71 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.233e-05/0.008413, allocations: 4.719 kB / 486.1 MB, free: 23.71 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.306e-05/0.008426, allocations: 2.469 kB / 486.1 MB, free: 23.71 MB / 426.7 MB Notification: Performance of sorting global known variables: time 8.511e-05/0.008511, allocations: 131.6 kB / 486.2 MB, free: 23.59 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.008511, allocations: 0.9688 kB / 486.2 MB, free: 23.59 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002311/0.008742, allocations: 10.22 kB / 486.2 MB, free: 23.59 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 0.0001563/0.008899, allocations: 96.38 kB / 486.3 MB, free: 23.5 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002108/0.009109, allocations: 66.56 kB / 486.4 MB, free: 23.47 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.352e-06/0.009111, allocations: 2 kB / 486.4 MB, free: 23.47 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 8.191e-05/0.009193, allocations: 31.77 kB / 486.4 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.0002567/0.009449, allocations: 22.8 kB / 486.4 MB, free: 23.45 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003204/0.00977, allocations: 134.6 kB / 486.5 MB, free: 23.32 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.485e-05/0.009815, allocations: 71.66 kB / 486.6 MB, free: 23.25 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 2.895e-05/0.009844, allocations: 9.281 kB / 486.6 MB, free: 23.25 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.76e-05/0.009871, allocations: 11.72 kB / 486.6 MB, free: 23.24 MB / 426.7 MB Notification: Performance of SimCode: time 5.01e-07/0.009872, allocations: 0 / 486.6 MB, free: 23.24 MB / 426.7 MB Notification: Performance of Templates: time 0.003665/0.01354, allocations: 0.8317 MB / 487.5 MB, free: 23.17 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: 5.656201079022139]