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.001061/0.001061, allocations: 73.88 kB / 20.65 MB, free: 3.844 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.001189/0.001189, allocations: 169 kB / 24.05 MB, free: 452 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.9694/0.9694, allocations: 177.1 MB / 204.5 MB, free: 5.508 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.6212/0.6212, allocations: 115 MB / 376 MB, free: 7.484 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.975e-06/2.975e-06, allocations: 0 / 481.9 MB, free: 11.7 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.649e-05/2.947e-05, allocations: 2.312 kB / 481.9 MB, free: 11.69 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Discrete.Validation.Sampler): time 0.002113/0.002143, allocations: 0.6607 MB / 482.6 MB, free: 11.31 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001427/0.00357, allocations: 1.118 MB / 483.7 MB, free: 10.52 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.755e-05/0.003618, allocations: 0 / 483.7 MB, free: 10.52 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 3.058e-05/0.003648, allocations: 3.938 kB / 483.7 MB, free: 10.51 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 7.014e-05/0.003718, allocations: 4.781 kB / 483.7 MB, free: 10.51 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002594/0.003978, allocations: 49.73 kB / 483.8 MB, free: 10.48 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 7.351e-05/0.004051, allocations: 48.41 kB / 483.8 MB, free: 10.46 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.345e-05/0.004125, allocations: 9.453 kB / 483.8 MB, free: 10.46 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.311e-05/0.004198, allocations: 27.92 kB / 483.9 MB, free: 10.45 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.299e-05/0.004241, allocations: 19.67 kB / 483.9 MB, free: 10.44 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.583e-05/0.004257, allocations: 3.969 kB / 483.9 MB, free: 10.44 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.882e-05/0.004316, allocations: 19.2 kB / 483.9 MB, free: 10.43 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.948e-05/0.004335, allocations: 14.14 kB / 483.9 MB, free: 10.43 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 1.894e-05/0.004354, allocations: 11.47 kB / 483.9 MB, free: 10.42 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 9.88e-05/0.004453, allocations: 57.53 kB / 484 MB, free: 10.39 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.874e-06/0.004455, allocations: 0 / 484 MB, free: 10.39 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.302e-06/0.004456, allocations: 1.094 kB / 484 MB, free: 10.39 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.085e-06/0.004459, allocations: 0.6562 kB / 484 MB, free: 10.39 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.000327/0.004786, allocations: 396.6 kB / 484.4 MB, free: 10 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.537e-05/0.004821, allocations: 9.719 kB / 484.4 MB, free: 10 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.38e-05/0.004895, allocations: 5.656 kB / 484.4 MB, free: 10 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.644e-05/0.004952, allocations: 115.2 kB / 484.5 MB, free: 9.871 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.979e-06/0.004962, allocations: 2.75 kB / 484.5 MB, free: 9.871 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.325e-06/0.00497, allocations: 6.969 kB / 484.5 MB, free: 9.867 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.28e-05/0.005063, allocations: 58.47 kB / 484.6 MB, free: 9.82 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.833e-06/0.00507, allocations: 1.531 kB / 484.6 MB, free: 9.82 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.881e-06/0.005075, allocations: 4.312 kB / 484.6 MB, free: 9.816 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/0.005081, allocations: 1.719 kB / 484.6 MB, free: 9.816 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.373e-05/0.005105, allocations: 20.72 kB / 484.6 MB, free: 9.805 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002334/0.005338, allocations: 249.8 kB / 484.8 MB, free: 9.559 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.998e-05/0.005398, allocations: 37.66 kB / 484.9 MB, free: 9.523 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.544e-05/0.005414, allocations: 19.7 kB / 484.9 MB, free: 9.508 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.867e-05/0.005432, allocations: 6.438 kB / 484.9 MB, free: 9.504 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.055e-05/0.005493, allocations: 59.83 kB / 485 MB, free: 9.445 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.142e-06/0.005494, allocations: 1.031 kB / 485 MB, free: 9.445 MB / 410.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001333/0.005627, allocations: 76.05 kB / 485 MB, free: 9.398 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.278e-05/0.00565, allocations: 57.91 kB / 485.1 MB, free: 9.332 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002084/0.005859, allocations: 168.6 kB / 485.3 MB, free: 25.16 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 8.115e-06/0.005867, allocations: 29.64 kB / 485.3 MB, free: 25.12 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.495e-05/0.005902, allocations: 128.9 kB / 485.4 MB, free: 25 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.536e-05/0.005917, allocations: 23.36 kB / 485.4 MB, free: 24.98 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.841e-05/0.005945, allocations: 25.91 kB / 485.5 MB, free: 24.95 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.457e-05/0.00604, allocations: 0.4901 MB / 485.9 MB, free: 24.46 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.34e-05/0.006053, allocations: 3.562 kB / 486 MB, free: 24.46 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.406e-05/0.006077, allocations: 40.89 kB / 486 MB, free: 24.41 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.244e-05/0.00613, allocations: 61.16 kB / 486.1 MB, free: 24.35 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.006132, allocations: 1.969 kB / 486.1 MB, free: 24.35 MB / 426.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 8.48e-05/0.006217, allocations: 70.19 kB / 486.1 MB, free: 24.31 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.187e-05/0.006228, allocations: 6.031 kB / 486.1 MB, free: 24.31 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.209e-06/0.006234, allocations: 5.062 kB / 486.1 MB, free: 24.3 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.128e-05/0.006245, allocations: 1.969 kB / 486.1 MB, free: 24.3 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.948e-05/0.006304, allocations: 20.69 kB / 486.2 MB, free: 24.3 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.256e-06/0.006308, allocations: 1.688 kB / 486.2 MB, free: 24.3 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.62e-05/0.006334, allocations: 6.875 kB / 486.2 MB, free: 24.29 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.542e-06/0.00634, allocations: 3.594 kB / 486.2 MB, free: 24.29 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.292e-05/0.006403, allocations: 157.3 kB / 486.3 MB, free: 24.13 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.218e-05/0.006415, allocations: 11.08 kB / 486.3 MB, free: 24.13 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.941e-05/0.006515, allocations: 77.16 kB / 486.4 MB, free: 24.07 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.006518, allocations: 1.188 kB / 486.4 MB, free: 24.07 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.694e-06/0.006519, allocations: 1.438 kB / 486.4 MB, free: 24.07 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.006522, allocations: 1.156 kB / 486.4 MB, free: 24.07 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001808/0.006703, allocations: 290.8 kB / 486.7 MB, free: 23.8 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.006705, allocations: 1.156 kB / 486.7 MB, free: 23.8 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.759e-05/0.006733, allocations: 8.469 kB / 486.7 MB, free: 23.8 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.006735, allocations: 7.875 kB / 486.7 MB, free: 23.79 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.139e-06/0.00674, allocations: 6.156 kB / 486.7 MB, free: 23.79 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.006742, allocations: 5.344 kB / 486.7 MB, free: 23.78 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.006743, allocations: 1.531 kB / 486.7 MB, free: 23.78 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001014/0.006844, allocations: 204.3 kB / 486.9 MB, free: 23.59 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.514e-06/0.006852, allocations: 6.016 kB / 486.9 MB, free: 23.59 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.298e-06/0.006861, allocations: 5.031 kB / 486.9 MB, free: 23.59 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.396e-05/0.006905, allocations: 13.91 kB / 486.9 MB, free: 23.58 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.747e-05/0.006933, allocations: 5.328 kB / 487 MB, free: 23.58 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.518e-06/0.006942, allocations: 1.344 kB / 487 MB, free: 23.58 MB / 426.7 MB Notification: Performance of sorting global known variables: time 3.762e-05/0.00698, allocations: 130.9 kB / 487.1 MB, free: 23.46 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00698, allocations: 1 kB / 487.1 MB, free: 23.46 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001691/0.007149, allocations: 17.03 kB / 487.1 MB, free: 23.45 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 0.0001026/0.007252, allocations: 103.2 kB / 487.2 MB, free: 23.36 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 7.546e-05/0.007327, allocations: 32.58 kB / 487.2 MB, free: 23.35 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.242e-06/0.007328, allocations: 1.75 kB / 487.2 MB, free: 23.35 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 2.684e-05/0.007355, allocations: 25.03 kB / 487.3 MB, free: 23.33 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000172/0.007527, allocations: 11.7 kB / 487.3 MB, free: 23.33 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003344/0.007862, allocations: 142.5 kB / 487.4 MB, free: 23.2 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.279e-05/0.007884, allocations: 58.44 kB / 487.5 MB, free: 23.13 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 2.227e-05/0.007907, allocations: 6.688 kB / 487.5 MB, free: 23.13 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.583e-05/0.007952, allocations: 76.16 kB / 487.5 MB, free: 23.07 MB / 426.7 MB Notification: Performance of SimCode: time 7.21e-07/0.007953, allocations: 0 / 487.5 MB, free: 23.07 MB / 426.7 MB Notification: Performance of Templates: time 0.00238/0.01033, allocations: 0.928 MB / 488.5 MB, free: 22.97 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.4417489147745073]