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.0009132/0.0009132, allocations: 72.83 kB / 20.72 MB, free: 3.77 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.001079/0.001079, 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 0.9569/0.9569, allocations: 177.1 MB / 204.6 MB, free: 5.5 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.5778/0.5778, 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 2.004e-06/2.004e-06, allocations: 0 / 428.7 MB, free: 2.844 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.722e-05/2.923e-05, allocations: 6.25 kB / 428.7 MB, free: 2.836 MB / 394.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Discrete.Validation.Sampler): time 0.002187/0.002216, allocations: 0.6622 MB / 429.4 MB, free: 2.172 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.001602/0.003818, allocations: 1.116 MB / 430.5 MB, free: 1.043 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.189e-05/0.00387, allocations: 4 kB / 430.5 MB, free: 1.039 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 3.391e-05/0.003904, allocations: 7.938 kB / 430.5 MB, free: 1.031 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 8.046e-05/0.003984, allocations: 3.938 kB / 430.5 MB, free: 1.027 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003608/0.004345, allocations: 51.69 kB / 430.5 MB, free: 0.9766 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001134/0.004458, allocations: 51.84 kB / 430.6 MB, free: 0.9258 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.031e-05/0.004549, allocations: 7.984 kB / 430.6 MB, free: 0.918 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.872e-05/0.004647, allocations: 19.98 kB / 430.6 MB, free: 0.8984 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.624e-05/0.004704, allocations: 19.92 kB / 430.6 MB, free: 0.8789 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.876e-05/0.004722, allocations: 4 kB / 430.6 MB, free: 0.875 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.087e-05/0.004803, allocations: 23.97 kB / 430.7 MB, free: 0.8516 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 2.634e-05/0.00483, allocations: 7.984 kB / 430.7 MB, free: 0.8438 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 2.92e-05/0.004859, allocations: 15.94 kB / 430.7 MB, free: 0.8281 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000158/0.005017, allocations: 55.8 kB / 430.7 MB, free: 0.7734 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.00502, allocations: 0 / 430.7 MB, free: 0.7734 MB / 394.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.005021, allocations: 0 / 430.7 MB, free: 0.7734 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.386e-06/0.005025, allocations: 3.938 kB / 430.7 MB, free: 0.7695 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.0004329/0.005458, allocations: 264.8 kB / 431 MB, free: 496 kB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.693e-05/0.005495, allocations: 8.031 kB / 431 MB, free: 488 kB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001066/0.005601, allocations: 4.938 kB / 431 MB, free: 484 kB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.421e-05/0.005695, allocations: 113.7 kB / 431.1 MB, free: 344 kB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.409e-05/0.00571, allocations: 8.375 kB / 431.1 MB, free: 336 kB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.471e-05/0.005724, allocations: 4.375 kB / 431.1 MB, free: 332 kB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001378/0.005862, allocations: 66.92 kB / 431.2 MB, free: 256 kB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.095e-06/0.00587, allocations: 192 / 431.2 MB, free: 256 kB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.945e-06/0.005878, allocations: 384 / 431.2 MB, free: 256 kB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.061e-06/0.005884, allocations: 384 / 431.2 MB, free: 256 kB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.64e-05/0.005921, allocations: 15.88 kB / 431.2 MB, free: 240 kB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003181/0.006239, allocations: 164.2 kB / 431.4 MB, free: 60 kB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.179e-05/0.00632, allocations: 26.58 kB / 431.4 MB, free: 24 kB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.13e-05/0.006342, allocations: 16.84 kB / 431.4 MB, free: 4 kB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.595e-05/0.006358, allocations: 0 / 431.4 MB, free: 4 kB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001036/0.006461, allocations: 63.45 kB / 431.5 MB, free: 15.93 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.783e-06/0.006463, allocations: 0 / 431.5 MB, free: 15.93 MB / 410.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001474/0.006611, allocations: 53.62 kB / 431.5 MB, free: 15.87 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.796e-05/0.006659, allocations: 55.41 kB / 431.6 MB, free: 15.8 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.662e-05/0.006735, allocations: 110.8 kB / 431.7 MB, free: 15.68 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.609e-05/0.006751, allocations: 29.7 kB / 431.7 MB, free: 15.65 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.825e-05/0.006789, allocations: 84.12 kB / 431.8 MB, free: 15.56 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.181e-05/0.006811, allocations: 11.91 kB / 431.8 MB, free: 15.55 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.759e-05/0.006879, allocations: 29.69 kB / 431.9 MB, free: 15.52 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.537e-05/0.006954, allocations: 314.8 kB / 432.2 MB, free: 15.2 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.028e-05/0.006975, allocations: 11.92 kB / 432.2 MB, free: 15.19 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.774e-05/0.007002, allocations: 31.42 kB / 432.2 MB, free: 15.14 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.855e-05/0.007051, allocations: 43.36 kB / 432.2 MB, free: 15.09 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.007054, allocations: 7.984 kB / 432.3 MB, free: 15.08 MB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 7.5e-05/0.007129, allocations: 57.61 kB / 432.3 MB, free: 15.02 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.18e-05/0.007141, allocations: 8.094 kB / 432.3 MB, free: 15.01 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.007146, allocations: 4 kB / 432.3 MB, free: 15.01 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.15e-05/0.007158, allocations: 3.938 kB / 432.3 MB, free: 15 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.769e-05/0.007226, allocations: 15.92 kB / 432.3 MB, free: 14.99 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.516e-06/0.007229, allocations: 4.094 kB / 432.3 MB, free: 14.98 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.714e-05/0.007256, allocations: 15.89 kB / 432.4 MB, free: 14.97 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.416e-06/0.007265, allocations: 7.984 kB / 432.4 MB, free: 14.96 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 5.306e-05/0.007318, allocations: 109.8 kB / 432.5 MB, free: 14.84 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.165e-06/0.007326, allocations: 4 kB / 432.5 MB, free: 14.84 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.378e-05/0.0074, allocations: 58.11 kB / 432.5 MB, free: 14.78 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.007402, allocations: 7.938 kB / 432.5 MB, free: 14.77 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.492e-06/0.007404, allocations: 0 / 432.5 MB, free: 14.77 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.995e-06/0.007407, allocations: 0 / 432.5 MB, free: 14.77 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001508/0.007557, allocations: 203.3 kB / 432.7 MB, free: 14.55 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.007559, allocations: 0 / 432.7 MB, free: 14.55 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.714e-05/0.007586, allocations: 7.984 kB / 432.7 MB, free: 14.54 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.594e-06/0.007589, allocations: 4.062 kB / 432.8 MB, free: 14.54 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.715e-06/0.007596, allocations: 11.94 kB / 432.8 MB, free: 14.52 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.785e-06/0.007604, allocations: 3.984 kB / 432.8 MB, free: 14.52 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.007605, allocations: 0 / 432.8 MB, free: 14.52 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.266e-05/0.007678, allocations: 147.5 kB / 432.9 MB, free: 14.36 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.835e-06/0.007686, allocations: 7.938 kB / 432.9 MB, free: 14.35 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.005e-05/0.007696, allocations: 3.938 kB / 432.9 MB, free: 14.35 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.417e-05/0.00774, allocations: 4 kB / 432.9 MB, free: 14.34 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.729e-05/0.007767, allocations: 11.98 kB / 432.9 MB, free: 14.33 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.536e-06/0.007776, allocations: 0 / 432.9 MB, free: 14.33 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.128e-05/0.007787, allocations: 8.859 kB / 432.9 MB, free: 14.32 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.007787, allocations: 0 / 432.9 MB, free: 14.32 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001294/0.007916, allocations: 12 kB / 433 MB, free: 14.31 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.0001008/0.008017, allocations: 92.34 kB / 433.1 MB, free: 14.21 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 6.835e-05/0.008086, allocations: 32.77 kB / 433.1 MB, free: 14.18 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.008088, allocations: 4 kB / 433.1 MB, free: 14.17 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 2.464e-05/0.008113, allocations: 16.8 kB / 433.1 MB, free: 14.15 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001307/0.008244, allocations: 11.98 kB / 433.1 MB, free: 14.14 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003459/0.00859, allocations: 144.5 kB / 433.3 MB, free: 13.97 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.052e-05/0.00862, allocations: 59.55 kB / 433.3 MB, free: 13.89 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 2.222e-05/0.008642, allocations: 3.984 kB / 433.3 MB, free: 13.89 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.6e-05/0.008688, allocations: 55.38 kB / 433.4 MB, free: 13.84 MB / 410.7 MB Notification: Performance of SimCode: time 3.5e-07/0.008689, allocations: 3.938 kB / 433.4 MB, free: 13.83 MB / 410.7 MB Notification: Performance of Templates: time 0.002346/0.01103, allocations: 0.8511 MB / 434.2 MB, free: 12.98 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 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.Sampler.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.4605050701647997]