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.0006812/0.0006812, allocations: 85.05 kB / 9.985 MB, free: 0.7031 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009269/0.001608, allocations: 452 kB / 10.43 MB, free: 268 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.0006644/0.0006644, allocations: 161.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008596/0.001524, allocations: 483.5 kB / 11.8 MB, free: 2.363 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.8718/0.8718, allocations: 177.2 MB / 189.7 MB, free: 5.258 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0818/0.9536, allocations: 53.68 MB / 243.4 MB, free: 15.51 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.616/0.616, allocations: 120.1 MB / 364.2 MB, free: 2.562 MB / 346.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.06398/0.68, allocations: 38.16 MB / 402.4 MB, free: 12.29 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 2.164e-06/2.164e-06, allocations: 0 / 403.7 MB, free: 10.99 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.975e-05/2.191e-05, allocations: 6.25 kB / 403.7 MB, free: 10.98 MB / 394.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Discrete.Validation.Sampler): time 0.002064/0.002086, allocations: 0.7014 MB / 404.4 MB, free: 10.28 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.001279/0.003364, allocations: 1.112 MB / 405.5 MB, free: 9.156 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.014e-05/0.003405, allocations: 0 / 405.5 MB, free: 9.156 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 2.897e-05/0.003434, allocations: 3.938 kB / 405.5 MB, free: 9.152 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 5.204e-05/0.003486, allocations: 19.91 kB / 405.5 MB, free: 9.133 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002236/0.003709, allocations: 43.7 kB / 405.6 MB, free: 9.09 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001153/0.003824, allocations: 47.86 kB / 405.6 MB, free: 9.043 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.555e-05/0.00391, allocations: 8 kB / 405.6 MB, free: 9.035 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001086/0.004019, allocations: 39.89 kB / 405.7 MB, free: 8.996 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.569e-05/0.004084, allocations: 19.92 kB / 405.7 MB, free: 8.977 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.861e-05/0.004103, allocations: 4 kB / 405.7 MB, free: 8.973 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.808e-05/0.004201, allocations: 19.98 kB / 405.7 MB, free: 8.953 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 2.334e-05/0.004224, allocations: 4 kB / 405.7 MB, free: 8.949 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 3.057e-05/0.004255, allocations: 15.94 kB / 405.7 MB, free: 8.934 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001339/0.004389, allocations: 51.81 kB / 405.8 MB, free: 8.883 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.35e-05/0.004402, allocations: 0 / 405.8 MB, free: 8.883 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.482e-06/0.004404, allocations: 0 / 405.8 MB, free: 8.883 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.252e-05/0.004416, allocations: 0 / 405.8 MB, free: 8.883 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.0004932/0.00491, allocations: 268.5 kB / 406 MB, free: 8.594 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.39e-05/0.004943, allocations: 12.03 kB / 406.1 MB, free: 8.582 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000139/0.005082, allocations: 86.03 kB / 406.1 MB, free: 8.48 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.586e-05/0.005178, allocations: 129.6 kB / 406.3 MB, free: 8.328 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.081e-05/0.005189, allocations: 384 / 406.3 MB, free: 8.328 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.449e-05/0.005204, allocations: 8.375 kB / 406.3 MB, free: 8.32 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000135/0.005339, allocations: 62.94 kB / 406.3 MB, free: 8.25 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.286e-06/0.005347, allocations: 192 / 406.3 MB, free: 8.25 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.524e-06/0.005354, allocations: 384 / 406.3 MB, free: 8.25 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.005361, allocations: 384 / 406.3 MB, free: 8.25 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.274e-05/0.005394, allocations: 11.94 kB / 406.3 MB, free: 8.238 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003067/0.0057, allocations: 160.3 kB / 406.5 MB, free: 8.066 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.313e-05/0.005793, allocations: 34.5 kB / 406.5 MB, free: 8.023 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.915e-05/0.005813, allocations: 8.859 kB / 406.5 MB, free: 8.012 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.758e-05/0.00583, allocations: 4 kB / 406.6 MB, free: 8.008 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.379e-05/0.005924, allocations: 59.58 kB / 406.6 MB, free: 7.938 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.733e-06/0.005926, allocations: 0 / 406.6 MB, free: 7.938 MB / 394.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001366/0.006062, allocations: 57.56 kB / 406.7 MB, free: 7.875 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.469e-05/0.006107, allocations: 59.41 kB / 406.7 MB, free: 7.805 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.296e-05/0.00618, allocations: 106.7 kB / 406.8 MB, free: 7.688 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.553e-05/0.006195, allocations: 29.7 kB / 406.9 MB, free: 7.652 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.757e-05/0.006233, allocations: 84.09 kB / 406.9 MB, free: 7.566 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.268e-05/0.006256, allocations: 19.89 kB / 407 MB, free: 7.547 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.955e-05/0.006295, allocations: 17.7 kB / 407 MB, free: 7.523 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.556e-05/0.006391, allocations: 326.8 kB / 407.3 MB, free: 7.195 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.916e-05/0.00641, allocations: 4 kB / 407.3 MB, free: 7.191 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.431e-05/0.006444, allocations: 31.44 kB / 407.3 MB, free: 7.148 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.493e-05/0.006509, allocations: 43.34 kB / 407.4 MB, free: 7.094 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.006511, allocations: 4 kB / 407.4 MB, free: 7.09 MB / 394.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001023/0.006614, allocations: 57.56 kB / 407.4 MB, free: 7.027 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.564e-05/0.006629, allocations: 11.92 kB / 407.4 MB, free: 7.016 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.006635, allocations: 8.094 kB / 407.5 MB, free: 7.008 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.476e-05/0.00665, allocations: 3.938 kB / 407.5 MB, free: 7.004 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.792e-05/0.006748, allocations: 8.5 kB / 407.5 MB, free: 6.996 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.688e-06/0.006757, allocations: 4 kB / 407.5 MB, free: 6.992 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.405e-05/0.006801, allocations: 15.92 kB / 407.5 MB, free: 6.977 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.131e-05/0.006813, allocations: 0 / 407.5 MB, free: 6.977 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 7.287e-05/0.006886, allocations: 113.8 kB / 407.6 MB, free: 6.855 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.589e-05/0.006901, allocations: 15.94 kB / 407.6 MB, free: 6.84 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001199/0.007021, allocations: 54.11 kB / 407.7 MB, free: 6.777 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.007026, allocations: 3.938 kB / 407.7 MB, free: 6.773 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.124e-06/0.007028, allocations: 4 kB / 407.7 MB, free: 6.77 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.007032, allocations: 4 kB / 407.7 MB, free: 6.766 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002309/0.007263, allocations: 198.8 kB / 407.9 MB, free: 6.547 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.007265, allocations: 4 kB / 407.9 MB, free: 6.543 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.439e-05/0.00732, allocations: 7.984 kB / 407.9 MB, free: 6.535 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.217e-05/0.007332, allocations: 7.891 kB / 407.9 MB, free: 6.527 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.007335, allocations: 4 kB / 407.9 MB, free: 6.523 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.005e-06/0.007343, allocations: 4 kB / 407.9 MB, free: 6.52 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.434e-06/0.007346, allocations: 0 / 407.9 MB, free: 6.52 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.007347, allocations: 0 / 407.9 MB, free: 6.52 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001187/0.007466, allocations: 151.5 kB / 408 MB, free: 6.355 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.351e-05/0.00748, allocations: 3.938 kB / 408 MB, free: 6.352 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.003e-05/0.00756, allocations: 11.98 kB / 408.1 MB, free: 6.34 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.881e-05/0.007588, allocations: 0 / 408.1 MB, free: 6.34 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.372e-05/0.007602, allocations: 4 kB / 408.1 MB, free: 6.336 MB / 394.7 MB Notification: Performance of sorting global known variables: time 1.854e-05/0.007621, allocations: 13.03 kB / 408.1 MB, free: 6.32 MB / 394.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.007621, allocations: 0 / 408.1 MB, free: 6.32 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002122/0.007833, allocations: 12 kB / 408.1 MB, free: 6.309 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 0.0001362/0.007969, allocations: 88.34 kB / 408.2 MB, free: 6.215 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 9.182e-05/0.008061, allocations: 32.97 kB / 408.2 MB, free: 6.18 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.62e-06/0.008067, allocations: 4 kB / 408.2 MB, free: 6.176 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.523e-05/0.008112, allocations: 28.78 kB / 408.2 MB, free: 6.145 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002259/0.008338, allocations: 71.33 kB / 408.3 MB, free: 6.062 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008098/0.009148, allocations: 136.5 kB / 408.4 MB, free: 5.902 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.907e-05/0.009187, allocations: 55.36 kB / 408.5 MB, free: 5.828 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 3.204e-05/0.009219, allocations: 8.281 kB / 408.5 MB, free: 5.82 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.993e-05/0.009279, allocations: 63.36 kB / 408.6 MB, free: 5.758 MB / 394.7 MB Notification: Performance of SimCode: time 7.234e-06/0.009286, allocations: 0 / 408.6 MB, free: 5.758 MB / 394.7 MB Notification: Performance of Templates: time 0.003258/0.01254, allocations: 0.8491 MB / 409.4 MB, free: 4.91 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: 2.9221575204283]