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.0009701/0.0009701, allocations: 88.22 kB / 20.43 MB, free: 4.148 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.0009856/0.0009856, allocations: 165 kB / 23.8 MB, free: 0.7812 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.004/1.004, allocations: 177.1 MB / 204.2 MB, free: 5.637 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.6407/0.6407, allocations: 115 MB / 375.7 MB, free: 7.633 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.164e-06/2.164e-06, allocations: 0 / 481.5 MB, free: 11.9 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.767e-05/1.984e-05, allocations: 2.312 kB / 481.5 MB, free: 11.9 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Discrete.Validation.Sampler): time 0.001627/0.001647, allocations: 0.6707 MB / 482.2 MB, free: 11.51 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009776/0.002624, allocations: 1.109 MB / 483.3 MB, free: 10.72 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.698e-05/0.002661, allocations: 2.094 kB / 483.3 MB, free: 10.72 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 2.694e-05/0.002688, allocations: 5.344 kB / 483.3 MB, free: 10.72 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 6.03e-05/0.002748, allocations: 7.922 kB / 483.3 MB, free: 10.71 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002587/0.003007, allocations: 47.41 kB / 483.3 MB, free: 10.69 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 7.768e-05/0.003085, allocations: 50.16 kB / 483.4 MB, free: 10.66 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.522e-05/0.00317, allocations: 7.781 kB / 483.4 MB, free: 10.66 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.884e-05/0.003239, allocations: 23.88 kB / 483.4 MB, free: 10.65 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.16e-05/0.003281, allocations: 25.83 kB / 483.4 MB, free: 10.64 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.676e-05/0.003297, allocations: 3.594 kB / 483.4 MB, free: 10.64 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.699e-05/0.003354, allocations: 23.94 kB / 483.5 MB, free: 10.63 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.967e-05/0.003374, allocations: 6.781 kB / 483.5 MB, free: 10.63 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.693e-05/0.003401, allocations: 15.5 kB / 483.5 MB, free: 10.62 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001177/0.003519, allocations: 58.59 kB / 483.5 MB, free: 10.59 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.783e-06/0.00352, allocations: 0 / 483.5 MB, free: 10.59 MB / 410.7 MB Notification: Performance of FrontEnd: time 5.71e-07/0.003521, allocations: 0 / 483.5 MB, free: 10.59 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.336e-06/0.003524, allocations: 1.094 kB / 483.5 MB, free: 10.59 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.000375/0.003899, allocations: 392 kB / 483.9 MB, free: 10.21 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.702e-05/0.003936, allocations: 12.78 kB / 483.9 MB, free: 10.2 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.805e-05/0.004024, allocations: 8.812 kB / 483.9 MB, free: 10.2 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.163e-05/0.004086, allocations: 113.7 kB / 484 MB, free: 10.07 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.159e-05/0.004098, allocations: 1.562 kB / 484 MB, free: 10.07 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.204e-05/0.00411, allocations: 3.219 kB / 484.1 MB, free: 10.07 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001111/0.004221, allocations: 66.08 kB / 484.1 MB, free: 10.02 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.004229, allocations: 0.7188 kB / 484.1 MB, free: 10.02 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.668e-06/0.004238, allocations: 1.5 kB / 484.1 MB, free: 10.02 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.004245, allocations: 1.312 kB / 484.1 MB, free: 10.02 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.751e-05/0.004282, allocations: 22.17 kB / 484.1 MB, free: 10.01 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002756/0.004558, allocations: 262.6 kB / 484.4 MB, free: 9.742 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.502e-05/0.004633, allocations: 42.34 kB / 484.4 MB, free: 9.703 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.314e-05/0.004656, allocations: 16.28 kB / 484.5 MB, free: 9.691 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.102e-05/0.004677, allocations: 2.312 kB / 484.5 MB, free: 9.691 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.072e-05/0.004738, allocations: 68.08 kB / 484.5 MB, free: 9.625 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.042e-06/0.004739, allocations: 2.281 kB / 484.5 MB, free: 9.625 MB / 410.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001716/0.00491, allocations: 70.75 kB / 484.6 MB, free: 9.582 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.431e-05/0.004935, allocations: 55.95 kB / 484.7 MB, free: 9.52 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.913e-05/0.004984, allocations: 170.4 kB / 484.8 MB, free: 9.348 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.564e-06/0.004991, allocations: 29.7 kB / 484.8 MB, free: 9.312 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000156/0.005147, allocations: 128.8 kB / 485 MB, free: 25.18 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.573e-05/0.005163, allocations: 22.69 kB / 485 MB, free: 25.16 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.077e-05/0.005194, allocations: 29.88 kB / 485 MB, free: 25.14 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001062/0.0053, allocations: 497.2 kB / 485.5 MB, free: 24.64 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.219e-05/0.005322, allocations: 10.3 kB / 485.5 MB, free: 24.64 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.989e-05/0.005352, allocations: 45.59 kB / 485.6 MB, free: 24.59 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.449e-05/0.005407, allocations: 60.66 kB / 485.6 MB, free: 24.53 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.005408, allocations: 0 / 485.6 MB, free: 24.53 MB / 426.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 8.908e-05/0.005497, allocations: 74.77 kB / 485.7 MB, free: 24.48 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.42e-05/0.005512, allocations: 10.69 kB / 485.7 MB, free: 24.48 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.159e-06/0.005517, allocations: 1.656 kB / 485.7 MB, free: 24.48 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.575e-05/0.005532, allocations: 1.969 kB / 485.7 MB, free: 24.48 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.621e-05/0.005599, allocations: 15.58 kB / 485.7 MB, free: 24.48 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.371e-06/0.005604, allocations: 2.969 kB / 485.7 MB, free: 24.48 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.584e-05/0.00563, allocations: 7.219 kB / 485.7 MB, free: 24.47 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.168e-06/0.005639, allocations: 6.906 kB / 485.7 MB, free: 24.47 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 6.463e-05/0.005704, allocations: 164.9 kB / 485.9 MB, free: 24.3 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.198e-06/0.005713, allocations: 7 kB / 485.9 MB, free: 24.3 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001028/0.005816, allocations: 76.69 kB / 486 MB, free: 24.25 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.005817, allocations: 4.672 kB / 486 MB, free: 24.25 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.005821, allocations: 5.141 kB / 486 MB, free: 24.24 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.005823, allocations: 1 kB / 486 MB, free: 24.24 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001809/0.006004, allocations: 319.4 kB / 486.3 MB, free: 23.93 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.006006, allocations: 1.219 kB / 486.3 MB, free: 23.93 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.906e-05/0.006035, allocations: 6.281 kB / 486.3 MB, free: 23.93 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.006037, allocations: 3.281 kB / 486.3 MB, free: 23.93 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.223e-06/0.006044, allocations: 2.219 kB / 486.3 MB, free: 23.93 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.51e-07/0.006044, allocations: 0 / 486.3 MB, free: 23.93 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.006046, allocations: 5.188 kB / 486.3 MB, free: 23.93 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001059/0.006151, allocations: 214.5 kB / 486.5 MB, free: 23.73 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.542e-06/0.006158, allocations: 6.641 kB / 486.5 MB, free: 23.73 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.14e-05/0.006169, allocations: 8.188 kB / 486.5 MB, free: 23.73 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.188e-05/0.006211, allocations: 3.938 kB / 486.6 MB, free: 23.73 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.244e-05/0.006244, allocations: 4.516 kB / 486.6 MB, free: 23.73 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.003e-05/0.006254, allocations: 2.469 kB / 486.6 MB, free: 23.73 MB / 426.7 MB Notification: Performance of sorting global known variables: time 3.808e-05/0.006292, allocations: 134.9 kB / 486.7 MB, free: 23.6 MB / 426.7 MB Notification: Performance of sort global known variables: time 7e-08/0.006292, allocations: 0 / 486.7 MB, free: 23.6 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001562/0.006448, allocations: 11.09 kB / 486.7 MB, free: 23.6 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 9.983e-05/0.006548, allocations: 98.41 kB / 486.8 MB, free: 23.52 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001005/0.006649, allocations: 40.22 kB / 486.8 MB, free: 23.5 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.252e-06/0.00665, allocations: 0 / 486.8 MB, free: 23.5 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 3.244e-05/0.006682, allocations: 32.14 kB / 486.9 MB, free: 23.48 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001795/0.006862, allocations: 9.094 kB / 486.9 MB, free: 23.47 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004139/0.007276, allocations: 144.5 kB / 487 MB, free: 23.34 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.409e-05/0.0073, allocations: 54.86 kB / 487.1 MB, free: 23.27 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 2.127e-05/0.007321, allocations: 8.453 kB / 487.1 MB, free: 23.27 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.351e-05/0.007345, allocations: 12.16 kB / 487.1 MB, free: 23.27 MB / 426.7 MB Notification: Performance of SimCode: time 7.52e-07/0.007345, allocations: 0 / 487.1 MB, free: 23.27 MB / 426.7 MB Notification: Performance of Templates: time 0.002426/0.009771, allocations: 0.8482 MB / 487.9 MB, free: 23.19 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: 3.527595192193985]