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.001026/0.001026, allocations: 82.64 kB / 21.44 MB, free: 3.059 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.0009109/0.0009109, allocations: 168.2 kB / 24.84 MB, free: 9.254 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 0.9059/0.9059, allocations: 177.1 MB / 205.3 MB, free: 5.504 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.6283/0.6283, allocations: 115 MB / 376.8 MB, free: 7.488 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 1.754e-06/1.754e-06, allocations: 0.9844 kB / 482.7 MB, free: 11.71 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.937e-05/2.112e-05, allocations: 2.938 kB / 482.7 MB, free: 11.71 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Discrete.Validation.Sampler): time 0.001265/0.001286, allocations: 0.6555 MB / 483.4 MB, free: 11.33 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008482/0.002134, allocations: 1.107 MB / 484.5 MB, free: 10.55 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.618e-05/0.00217, allocations: 0.625 kB / 484.5 MB, free: 10.55 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 2.162e-05/0.002192, allocations: 7.875 kB / 484.5 MB, free: 10.54 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 5.284e-05/0.002244, allocations: 15.64 kB / 484.5 MB, free: 10.53 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002001/0.002445, allocations: 35.95 kB / 484.6 MB, free: 10.51 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 7.138e-05/0.002516, allocations: 57.19 kB / 484.6 MB, free: 10.48 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.221e-05/0.002578, allocations: 6.375 kB / 484.6 MB, free: 10.48 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.728e-05/0.002645, allocations: 28.03 kB / 484.6 MB, free: 10.47 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.6e-05/0.002681, allocations: 21.09 kB / 484.7 MB, free: 10.46 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.195e-05/0.002693, allocations: 4.094 kB / 484.7 MB, free: 10.46 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.668e-05/0.00274, allocations: 24.14 kB / 484.7 MB, free: 10.45 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.755e-05/0.002758, allocations: 9.938 kB / 484.7 MB, free: 10.45 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 1.869e-05/0.002776, allocations: 15.91 kB / 484.7 MB, free: 10.44 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 8.855e-05/0.002865, allocations: 52.47 kB / 484.8 MB, free: 10.41 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.805e-06/0.002868, allocations: 1.875 kB / 484.8 MB, free: 10.41 MB / 410.7 MB Notification: Performance of FrontEnd: time 6.51e-07/0.002868, allocations: 0 / 484.8 MB, free: 10.41 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.797e-06/0.002872, allocations: 0.7812 kB / 484.8 MB, free: 10.41 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.0003101/0.003182, allocations: 387.6 kB / 485.2 MB, free: 10.03 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.903e-05/0.003211, allocations: 10.22 kB / 485.2 MB, free: 10.03 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.104e-05/0.003282, allocations: 5.812 kB / 485.2 MB, free: 10.03 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.058e-05/0.003333, allocations: 127 kB / 485.3 MB, free: 9.887 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.347e-06/0.003342, allocations: 2.531 kB / 485.3 MB, free: 9.887 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.193e-06/0.003349, allocations: 4.125 kB / 485.3 MB, free: 9.887 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.954e-05/0.003429, allocations: 62.11 kB / 485.4 MB, free: 9.836 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.873e-06/0.003436, allocations: 192 / 485.4 MB, free: 9.836 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.762e-06/0.003443, allocations: 5.016 kB / 485.4 MB, free: 9.832 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.003447, allocations: 1.562 kB / 485.4 MB, free: 9.832 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.26e-05/0.00347, allocations: 14.23 kB / 485.4 MB, free: 9.828 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002022/0.003672, allocations: 249.6 kB / 485.6 MB, free: 9.582 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.361e-05/0.003726, allocations: 37.62 kB / 485.7 MB, free: 9.547 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.517e-05/0.003741, allocations: 19.98 kB / 485.7 MB, free: 9.531 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.09e-05/0.003752, allocations: 1.844 kB / 485.7 MB, free: 9.531 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.105e-05/0.003803, allocations: 61.41 kB / 485.7 MB, free: 9.473 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 7.31e-07/0.003803, allocations: 0 / 485.7 MB, free: 9.473 MB / 410.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001233/0.003927, allocations: 79.95 kB / 485.8 MB, free: 9.422 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.034e-05/0.003947, allocations: 57.88 kB / 485.9 MB, free: 9.355 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.713e-05/0.003984, allocations: 168.3 kB / 486 MB, free: 9.184 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.683e-06/0.003991, allocations: 30.83 kB / 486.1 MB, free: 9.148 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001598/0.004151, allocations: 129.4 kB / 486.2 MB, free: 25.02 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.292e-05/0.004164, allocations: 10.03 kB / 486.2 MB, free: 25.01 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.724e-05/0.004191, allocations: 33.08 kB / 486.2 MB, free: 24.98 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.299e-05/0.004284, allocations: 494.2 kB / 486.7 MB, free: 24.49 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.385e-05/0.004298, allocations: 8.422 kB / 486.7 MB, free: 24.49 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.211e-05/0.00432, allocations: 49.41 kB / 486.8 MB, free: 24.43 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.015e-05/0.00436, allocations: 54.06 kB / 486.8 MB, free: 24.38 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.004362, allocations: 1.531 kB / 486.8 MB, free: 24.38 MB / 426.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 7.244e-05/0.004434, allocations: 77.73 kB / 486.9 MB, free: 24.33 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.568e-06/0.004444, allocations: 5.062 kB / 486.9 MB, free: 24.33 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.037e-06/0.004448, allocations: 7.594 kB / 486.9 MB, free: 24.32 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.494e-06/0.004455, allocations: 2.031 kB / 486.9 MB, free: 24.32 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.685e-05/0.004512, allocations: 11.72 kB / 486.9 MB, free: 24.32 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.426e-06/0.004515, allocations: 2 kB / 486.9 MB, free: 24.32 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.557e-05/0.004541, allocations: 7.219 kB / 486.9 MB, free: 24.32 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.993e-06/0.004548, allocations: 6.578 kB / 487 MB, free: 24.32 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 5.312e-05/0.004601, allocations: 164 kB / 487.1 MB, free: 24.15 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.777e-06/0.00461, allocations: 3.969 kB / 487.1 MB, free: 24.15 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.553e-05/0.004685, allocations: 79.69 kB / 487.2 MB, free: 24.1 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.004687, allocations: 1.125 kB / 487.2 MB, free: 24.1 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.042e-06/0.004688, allocations: 0 / 487.2 MB, free: 24.1 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.004691, allocations: 1.75 kB / 487.2 MB, free: 24.1 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001469/0.004838, allocations: 301.8 kB / 487.5 MB, free: 23.81 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.004839, allocations: 0.6875 kB / 487.5 MB, free: 23.81 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.311e-05/0.004862, allocations: 5.25 kB / 487.5 MB, free: 23.81 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.004865, allocations: 5.375 kB / 487.5 MB, free: 23.81 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.169e-06/0.00487, allocations: 1.406 kB / 487.5 MB, free: 23.81 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.82e-07/0.004871, allocations: 0 / 487.5 MB, free: 23.81 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/0.004873, allocations: 4.891 kB / 487.5 MB, free: 23.81 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.109e-05/0.004954, allocations: 209.9 kB / 487.7 MB, free: 23.61 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.56e-06/0.004959, allocations: 6.547 kB / 487.7 MB, free: 23.61 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.536e-06/0.004968, allocations: 8.812 kB / 487.7 MB, free: 23.61 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.997e-05/0.005008, allocations: 4.312 kB / 487.7 MB, free: 23.61 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.17e-05/0.00503, allocations: 13.45 kB / 487.7 MB, free: 23.6 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.144e-06/0.005037, allocations: 5.219 kB / 487.7 MB, free: 23.59 MB / 426.7 MB Notification: Performance of sorting global known variables: time 3.217e-05/0.005069, allocations: 130.8 kB / 487.9 MB, free: 23.47 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005069, allocations: 1.562 kB / 487.9 MB, free: 23.47 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001501/0.005219, allocations: 10.44 kB / 487.9 MB, free: 23.47 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 7.546e-05/0.005294, allocations: 100 kB / 488 MB, free: 23.39 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 6.705e-05/0.005362, allocations: 42.08 kB / 488 MB, free: 23.36 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.61e-07/0.005362, allocations: 0 / 488 MB, free: 23.36 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 2.385e-05/0.005386, allocations: 20.3 kB / 488 MB, free: 23.35 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001686/0.005555, allocations: 9.656 kB / 488.1 MB, free: 23.35 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002809/0.005836, allocations: 151.7 kB / 488.2 MB, free: 23.21 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 1.913e-05/0.005855, allocations: 55.61 kB / 488.3 MB, free: 23.14 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 1.858e-05/0.005873, allocations: 5.625 kB / 488.3 MB, free: 23.14 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.014e-05/0.005913, allocations: 73.8 kB / 488.3 MB, free: 23.08 MB / 426.7 MB Notification: Performance of SimCode: time 7.62e-07/0.005914, allocations: 1.219 kB / 488.3 MB, free: 23.08 MB / 426.7 MB Notification: Performance of Templates: time 0.002091/0.008005, allocations: 0.935 MB / 489.3 MB, free: 23 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.499127203132957]