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.0009669/0.0009669, allocations: 72.19 kB / 9.907 MB, free: 0.7812 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.004726/0.005693, allocations: 447.8 kB / 10.34 MB, free: 352 kB / 10.45 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.0008947/0.0008947, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002136/0.00303, allocations: 463.6 kB / 11.69 MB, free: 2.48 MB / 13.93 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.9932/0.9932, allocations: 177.2 MB / 189.6 MB, free: 5.301 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1033/1.097, allocations: 53.65 MB / 243.2 MB, free: 15.57 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.654/0.654, allocations: 119.1 MB / 363.1 MB, free: 3.715 MB / 346.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0665/0.7205, allocations: 37.86 MB / 400.9 MB, free: 13.73 MB / 394.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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.874e-06/1.874e-06, allocations: 0 / 402.2 MB, free: 12.46 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.836e-06/1.071e-05, allocations: 2.312 kB / 402.2 MB, free: 12.45 MB / 394.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Discrete.Validation.Sampler): time 0.001076/0.001086, allocations: 0.6974 MB / 402.9 MB, free: 11.75 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008995/0.001986, allocations: 1.108 MB / 404 MB, free: 10.63 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.294e-05/0.002019, allocations: 0 / 404 MB, free: 10.63 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 2.054e-05/0.002039, allocations: 3.938 kB / 404 MB, free: 10.62 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 3e-05/0.002069, allocations: 19.86 kB / 404 MB, free: 10.61 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001306/0.0022, allocations: 35.78 kB / 404.1 MB, free: 10.57 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 7.642e-05/0.002276, allocations: 55.83 kB / 404.1 MB, free: 10.52 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.464e-05/0.002341, allocations: 4 kB / 404.1 MB, free: 10.51 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.406e-05/0.002415, allocations: 39.84 kB / 404.2 MB, free: 10.47 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.315e-05/0.002458, allocations: 19.97 kB / 404.2 MB, free: 10.45 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.361e-05/0.002472, allocations: 4 kB / 404.2 MB, free: 10.45 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.618e-05/0.002538, allocations: 15.98 kB / 404.2 MB, free: 10.43 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 1.458e-05/0.002553, allocations: 11.94 kB / 404.2 MB, free: 10.42 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 2.092e-05/0.002574, allocations: 8 kB / 404.2 MB, free: 10.41 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 9.929e-05/0.002673, allocations: 43.84 kB / 404.3 MB, free: 10.37 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.092e-05/0.002684, allocations: 0 / 404.3 MB, free: 10.37 MB / 394.7 MB Notification: Performance of FrontEnd: time 4.11e-07/0.002684, allocations: 0 / 404.3 MB, free: 10.37 MB / 394.7 MB Notification: Performance of Transformations before backend: time 9.648e-06/0.002694, allocations: 0 / 404.3 MB, free: 10.37 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.0003586/0.003052, allocations: 284.4 kB / 404.5 MB, free: 10.07 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.647e-05/0.003079, allocations: 8.031 kB / 404.6 MB, free: 10.06 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.758e-05/0.003176, allocations: 86.03 kB / 404.6 MB, free: 9.957 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.766e-05/0.003244, allocations: 121.7 kB / 404.8 MB, free: 9.812 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.907e-06/0.003253, allocations: 4.375 kB / 404.8 MB, free: 9.809 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.723e-06/0.00326, allocations: 4.375 kB / 404.8 MB, free: 9.805 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.689e-05/0.003347, allocations: 62.94 kB / 404.8 MB, free: 9.734 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.031e-06/0.003353, allocations: 4.125 kB / 404.8 MB, free: 9.73 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.523e-06/0.003359, allocations: 4.359 kB / 404.8 MB, free: 9.727 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.818e-06/0.003363, allocations: 384 / 404.8 MB, free: 9.727 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.485e-05/0.003388, allocations: 15.94 kB / 404.9 MB, free: 9.711 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002089/0.003597, allocations: 160.2 kB / 405 MB, free: 9.539 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.678e-05/0.003654, allocations: 38.48 kB / 405 MB, free: 9.492 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.43e-05/0.003668, allocations: 12.98 kB / 405.1 MB, free: 9.477 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.555e-05/0.003683, allocations: 4 kB / 405.1 MB, free: 9.473 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.138e-05/0.003745, allocations: 51.39 kB / 405.1 MB, free: 9.41 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 8.52e-07/0.003746, allocations: 0 / 405.1 MB, free: 9.41 MB / 394.7 MB Notification: Performance of matching and sorting (n=6): time 9.916e-05/0.003845, allocations: 65.55 kB / 405.2 MB, free: 9.34 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.376e-05/0.003879, allocations: 55.41 kB / 405.2 MB, free: 9.273 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.079e-05/0.003929, allocations: 106.8 kB / 405.3 MB, free: 9.156 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.281e-05/0.003942, allocations: 29.7 kB / 405.4 MB, free: 9.121 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.875e-05/0.003971, allocations: 88.12 kB / 405.5 MB, free: 9.031 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.444e-05/0.003985, allocations: 11.91 kB / 405.5 MB, free: 9.02 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.808e-05/0.004013, allocations: 25.69 kB / 405.5 MB, free: 8.988 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 6.643e-05/0.00408, allocations: 318.8 kB / 405.8 MB, free: 8.668 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.09e-05/0.004091, allocations: 4 kB / 405.8 MB, free: 8.664 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.433e-05/0.004115, allocations: 35.41 kB / 405.8 MB, free: 8.617 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.947e-05/0.004155, allocations: 43.36 kB / 405.9 MB, free: 8.562 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.004156, allocations: 0 / 405.9 MB, free: 8.562 MB / 394.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 6.019e-05/0.004216, allocations: 65.55 kB / 405.9 MB, free: 8.492 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.024e-05/0.004226, allocations: 4 kB / 405.9 MB, free: 8.488 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.004231, allocations: 8.094 kB / 406 MB, free: 8.48 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.424e-06/0.004239, allocations: 3.938 kB / 406 MB, free: 8.477 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.638e-05/0.004295, allocations: 15.98 kB / 406 MB, free: 8.461 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.595e-06/0.004298, allocations: 0 / 406 MB, free: 8.461 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.38e-05/0.004321, allocations: 11.89 kB / 406 MB, free: 8.449 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.31e-06/0.004327, allocations: 160 / 406 MB, free: 8.449 MB / 394.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.054e-05/0.004377, allocations: 121.8 kB / 406.1 MB, free: 8.32 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.703e-06/0.004384, allocations: 4.5 kB / 406.1 MB, free: 8.316 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.162e-05/0.004446, allocations: 54.11 kB / 406.2 MB, free: 8.258 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.004449, allocations: 8 kB / 406.2 MB, free: 8.25 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.054e-06/0.004451, allocations: 8 kB / 406.2 MB, free: 8.242 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.004454, allocations: 0 / 406.2 MB, free: 8.242 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001353/0.004589, allocations: 210.7 kB / 406.4 MB, free: 8.012 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.00459, allocations: 0 / 406.4 MB, free: 8.012 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.192e-05/0.004612, allocations: 4 kB / 406.4 MB, free: 8.008 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.835e-06/0.00462, allocations: 11.92 kB / 406.4 MB, free: 7.996 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.312e-06/0.004621, allocations: 0 / 406.4 MB, free: 7.996 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.907e-06/0.004625, allocations: 0 / 406.4 MB, free: 7.996 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.91e-07/0.004626, allocations: 0 / 406.4 MB, free: 7.996 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.973e-06/0.004628, allocations: 3.984 kB / 406.4 MB, free: 7.992 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.526e-05/0.004693, allocations: 147.5 kB / 406.5 MB, free: 7.832 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.728e-06/0.004703, allocations: 11.92 kB / 406.6 MB, free: 7.82 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.659e-05/0.004739, allocations: 4 kB / 406.6 MB, free: 7.816 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.286e-05/0.004762, allocations: 7.984 kB / 406.6 MB, free: 7.809 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.863e-06/0.004769, allocations: 0 / 406.6 MB, free: 7.809 MB / 394.7 MB Notification: Performance of sorting global known variables: time 9.077e-06/0.004778, allocations: 8.859 kB / 406.6 MB, free: 7.797 MB / 394.7 MB Notification: Performance of sort global known variables: time 5e-08/0.004778, allocations: 0 / 406.6 MB, free: 7.797 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000126/0.004904, allocations: 19.95 kB / 406.6 MB, free: 7.777 MB / 394.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.011e-05/0.004984, allocations: 84.34 kB / 406.7 MB, free: 7.688 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 6.269e-05/0.005047, allocations: 40.77 kB / 406.7 MB, free: 7.645 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.007e-06/0.005051, allocations: 4 kB / 406.7 MB, free: 7.641 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 2.114e-05/0.005072, allocations: 13.17 kB / 406.7 MB, free: 7.625 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000115/0.005187, allocations: 12.11 kB / 406.8 MB, free: 7.613 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005458/0.005733, allocations: 148.5 kB / 406.9 MB, free: 7.441 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.013e-05/0.005763, allocations: 63.28 kB / 407 MB, free: 7.359 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 2.305e-05/0.005786, allocations: 8.188 kB / 407 MB, free: 7.352 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.326e-05/0.005829, allocations: 51.38 kB / 407 MB, free: 7.301 MB / 394.7 MB Notification: Performance of SimCode: time 5.81e-07/0.00583, allocations: 0 / 407 MB, free: 7.301 MB / 394.7 MB Notification: Performance of Templates: time 0.00213/0.007959, allocations: 0.8738 MB / 407.9 MB, free: 6.426 MB / 394.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.213691865094006]