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.0008786/0.0008786, allocations: 72.95 kB / 20.72 MB, free: 3.766 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.000918/0.000918, allocations: 169 kB / 24.14 MB, free: 352 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.113/1.113, allocations: 177.1 MB / 204.6 MB, free: 5.492 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.6296/0.6296, allocations: 115 MB / 376 MB, free: 7.508 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.844e-06/1.844e-06, allocations: 0 / 428.7 MB, free: 2.797 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.745e-05/1.93e-05, allocations: 6.312 kB / 428.7 MB, free: 2.789 MB / 394.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Discrete.Validation.Sampler): time 0.002052/0.002071, allocations: 0.7169 MB / 429.5 MB, free: 2.07 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.00174/0.003811, allocations: 1.108 MB / 430.6 MB, free: 0.9492 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.573e-05/0.003877, allocations: 0 / 430.6 MB, free: 0.9492 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 3.999e-05/0.003917, allocations: 7.938 kB / 430.6 MB, free: 0.9414 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00011/0.004027, allocations: 11.86 kB / 430.6 MB, free: 0.9297 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003062/0.004333, allocations: 47.77 kB / 430.6 MB, free: 0.8828 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 8.426e-05/0.004417, allocations: 43.86 kB / 430.7 MB, free: 0.8398 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.123e-05/0.004489, allocations: 7.984 kB / 430.7 MB, free: 0.832 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.788e-05/0.004566, allocations: 35.84 kB / 430.7 MB, free: 0.7969 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.45e-05/0.004611, allocations: 19.97 kB / 430.7 MB, free: 0.7773 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.839e-05/0.004629, allocations: 4 kB / 430.7 MB, free: 0.7734 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.506e-05/0.004704, allocations: 15.98 kB / 430.7 MB, free: 0.7578 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 2.13e-05/0.004726, allocations: 11.92 kB / 430.8 MB, free: 0.7461 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 2.692e-05/0.004753, allocations: 23.98 kB / 430.8 MB, free: 0.7227 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001128/0.004865, allocations: 47.81 kB / 430.8 MB, free: 0.6758 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.114e-06/0.004868, allocations: 0 / 430.8 MB, free: 0.6758 MB / 394.7 MB Notification: Performance of FrontEnd: time 6.81e-07/0.004868, allocations: 0 / 430.8 MB, free: 0.6758 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.007e-06/0.004872, allocations: 4 kB / 430.8 MB, free: 0.6719 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003407/0.005213, allocations: 260.8 kB / 431.1 MB, free: 400 kB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.133e-05/0.005244, allocations: 8.031 kB / 431.1 MB, free: 392 kB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.782e-05/0.005322, allocations: 4.938 kB / 431.1 MB, free: 388 kB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.398e-05/0.005396, allocations: 117.7 kB / 431.2 MB, free: 244 kB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.277e-06/0.005405, allocations: 8.375 kB / 431.2 MB, free: 236 kB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.033e-06/0.005412, allocations: 384 / 431.2 MB, free: 236 kB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.599e-05/0.005508, allocations: 62.94 kB / 431.3 MB, free: 164 kB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.543e-06/0.005515, allocations: 192 / 431.3 MB, free: 164 kB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.787e-06/0.005524, allocations: 4.375 kB / 431.3 MB, free: 160 kB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.005529, allocations: 4.375 kB / 431.3 MB, free: 156 kB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.422e-05/0.005553, allocations: 7.938 kB / 431.3 MB, free: 148 kB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002514/0.005805, allocations: 168.2 kB / 431.5 MB, free: 15.96 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.007e-05/0.005865, allocations: 38.62 kB / 431.5 MB, free: 15.92 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.458e-05/0.005879, allocations: 12.86 kB / 431.5 MB, free: 15.9 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.265e-05/0.005892, allocations: 0 / 431.5 MB, free: 15.9 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.92e-05/0.005951, allocations: 51.39 kB / 431.6 MB, free: 15.84 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 9.12e-07/0.005952, allocations: 0 / 431.6 MB, free: 15.84 MB / 410.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001076/0.00606, allocations: 61.69 kB / 431.6 MB, free: 15.77 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.477e-05/0.006094, allocations: 55.41 kB / 431.7 MB, free: 15.71 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.496e-05/0.006149, allocations: 110.7 kB / 431.8 MB, free: 15.59 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.27e-05/0.006162, allocations: 29.7 kB / 431.8 MB, free: 15.55 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.588e-05/0.006188, allocations: 80.14 kB / 431.9 MB, free: 15.47 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.85e-05/0.006206, allocations: 23.81 kB / 431.9 MB, free: 15.45 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.044e-05/0.006237, allocations: 17.72 kB / 431.9 MB, free: 15.42 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.44e-05/0.006311, allocations: 326.8 kB / 432.3 MB, free: 15.09 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.382e-05/0.006325, allocations: 4 kB / 432.3 MB, free: 15.09 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.616e-05/0.006351, allocations: 31.42 kB / 432.3 MB, free: 15.05 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.916e-05/0.0064, allocations: 51.33 kB / 432.3 MB, free: 14.98 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.006402, allocations: 0 / 432.3 MB, free: 14.98 MB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 7.327e-05/0.006476, allocations: 69.53 kB / 432.4 MB, free: 14.91 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.016e-05/0.006486, allocations: 8.094 kB / 432.4 MB, free: 14.9 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.006491, allocations: 4 kB / 432.4 MB, free: 14.9 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.245e-05/0.006504, allocations: 3.938 kB / 432.4 MB, free: 14.89 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.277e-05/0.006567, allocations: 8 kB / 432.4 MB, free: 14.89 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.958e-06/0.006571, allocations: 4 kB / 432.4 MB, free: 14.88 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.943e-05/0.0066, allocations: 15.88 kB / 432.5 MB, free: 14.87 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.074e-06/0.006607, allocations: 0 / 432.5 MB, free: 14.87 MB / 410.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 6.424e-05/0.006671, allocations: 117.8 kB / 432.6 MB, free: 14.74 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.117e-06/0.006681, allocations: 4 kB / 432.6 MB, free: 14.74 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.902e-05/0.00676, allocations: 54.61 kB / 432.6 MB, free: 14.68 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.006762, allocations: 7.938 kB / 432.6 MB, free: 14.67 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.663e-06/0.006764, allocations: 0 / 432.6 MB, free: 14.67 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.006767, allocations: 4 kB / 432.6 MB, free: 14.67 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001703/0.006938, allocations: 202.8 kB / 432.8 MB, free: 14.45 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.006939, allocations: 4 kB / 432.8 MB, free: 14.44 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.755e-05/0.006966, allocations: 7.984 kB / 432.8 MB, free: 14.43 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.063e-06/0.006968, allocations: 0 / 432.8 MB, free: 14.43 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.781e-06/0.006974, allocations: 3.938 kB / 432.9 MB, free: 14.43 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.51e-07/0.006975, allocations: 0 / 432.9 MB, free: 14.43 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.006976, allocations: 0 / 432.9 MB, free: 14.43 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.43e-05/0.00706, allocations: 151.5 kB / 433 MB, free: 14.27 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.217e-06/0.007069, allocations: 15.94 kB / 433 MB, free: 14.25 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.678e-06/0.007079, allocations: 3.938 kB / 433 MB, free: 14.25 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.291e-05/0.007122, allocations: 7.984 kB / 433 MB, free: 14.24 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.738e-05/0.007149, allocations: 0 / 433 MB, free: 14.24 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.019e-05/0.007159, allocations: 4 kB / 433 MB, free: 14.23 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.369e-05/0.007173, allocations: 16.84 kB / 433 MB, free: 14.21 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007173, allocations: 0 / 433 MB, free: 14.21 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000139/0.007312, allocations: 11.94 kB / 433.1 MB, free: 14.2 MB / 410.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.0001014/0.007413, allocations: 80.36 kB / 433.1 MB, free: 14.12 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 7.925e-05/0.007493, allocations: 40.78 kB / 433.2 MB, free: 14.07 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.007495, allocations: 0 / 433.2 MB, free: 14.07 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 2.566e-05/0.00752, allocations: 16.84 kB / 433.2 MB, free: 14.05 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000136/0.007656, allocations: 12.44 kB / 433.2 MB, free: 14.04 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003707/0.008027, allocations: 148.4 kB / 433.3 MB, free: 13.87 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.828e-05/0.008065, allocations: 59.34 kB / 433.4 MB, free: 13.79 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 2.146e-05/0.008087, allocations: 8.188 kB / 433.4 MB, free: 13.79 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.87e-05/0.008135, allocations: 55.38 kB / 433.5 MB, free: 13.73 MB / 410.7 MB Notification: Performance of SimCode: time 5.91e-07/0.008136, allocations: 0 / 433.5 MB, free: 13.73 MB / 410.7 MB Notification: Performance of Templates: time 0.002345/0.01048, allocations: 0.8586 MB / 434.3 MB, free: 12.88 MB / 410.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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.Sampler.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.486700701061636]