Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.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.001191/0.001191, allocations: 105.2 kB / 20.44 MB, free: 1.504 MB / 14.72 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.001456/0.001456, allocations: 213.8 kB / 23.76 MB, free: 4.723 MB / 14.72 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.504/1.504, allocations: 230.6 MB / 257.5 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 178] 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.9652/0.9652, allocations: 150 MB / 463.9 MB, free: 10.46 MB / 366.1 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.TriggeredSampler,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler") translateModel(IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler") [Timeout 660] "Notification: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002075/0.002075, allocations: 65.92 kB / 0.6425 GB, free: 9.852 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.193/0.1951, allocations: 89.17 MB / 0.7296 GB, free: 0.7383 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler): time 0.002844/0.198, allocations: 0.7361 MB / 0.7303 GB, free: 16 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002046/0.2, allocations: 1.221 MB / 0.7315 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.23e-05/0.2001, allocations: 0 / 0.7315 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 4.253e-05/0.2001, allocations: 7.875 kB / 0.7315 GB, free: 14.76 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 9.808e-05/0.2002, allocations: 11.92 kB / 0.7315 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006721/0.2009, allocations: 140.5 kB / 0.7316 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002497/0.2012, allocations: 123.8 kB / 0.7317 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001175/0.2013, allocations: 20.11 kB / 0.7318 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001347/0.2014, allocations: 47.91 kB / 0.7318 GB, free: 14.42 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001253/0.2015, allocations: 51.88 kB / 0.7319 GB, free: 14.37 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.279e-05/0.2016, allocations: 15.94 kB / 0.7319 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001037/0.2017, allocations: 31.97 kB / 0.7319 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.833e-05/0.2017, allocations: 15.98 kB / 0.7319 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 8.294e-05/0.2018, allocations: 43.8 kB / 0.732 GB, free: 14.26 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002525/0.202, allocations: 135.5 kB / 0.7321 GB, free: 14.13 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.202, allocations: 0 / 0.7321 GB, free: 14.13 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.323e-06/0.202, allocations: 0 / 0.7321 GB, free: 14.13 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.085e-06/0.202, allocations: 0 / 0.7321 GB, free: 14.13 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0006887/0.2027, allocations: 347.8 kB / 0.7324 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.844e-05/0.2028, allocations: 12.03 kB / 0.7324 GB, free: 13.74 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001411/0.2029, allocations: 8.891 kB / 0.7324 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001327/0.203, allocations: 123.4 kB / 0.7326 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.078e-05/0.2031, allocations: 8.375 kB / 0.7326 GB, free: 13.58 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.206e-05/0.2031, allocations: 4.375 kB / 0.7326 GB, free: 13.58 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002187/0.2033, allocations: 74.16 kB / 0.7326 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.181e-05/0.2033, allocations: 3.938 kB / 0.7326 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.521e-05/0.2033, allocations: 4 kB / 0.7326 GB, free: 13.49 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/0.2033, allocations: 8 kB / 0.7327 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001961/0.2035, allocations: 47.95 kB / 0.7327 GB, free: 13.44 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000569/0.2041, allocations: 311.7 kB / 0.733 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001789/0.2043, allocations: 54.53 kB / 0.733 GB, free: 13.03 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001021/0.2044, allocations: 36.95 kB / 0.7331 GB, free: 12.99 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.761e-05/0.2044, allocations: 0 / 0.7331 GB, free: 12.99 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002547/0.2047, allocations: 91.34 kB / 0.7332 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=8): time 1.132e-06/0.2047, allocations: 0 / 0.7332 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of matching and sorting (n=8): time 0.0004619/0.2051, allocations: 157.5 kB / 0.7333 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.927e-05/0.2052, allocations: 59.41 kB / 0.7334 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001037/0.2053, allocations: 114.9 kB / 0.7335 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.885e-05/0.2053, allocations: 33.64 kB / 0.7335 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 7.485e-05/0.2054, allocations: 96.08 kB / 0.7336 GB, free: 12.4 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.23e-05/0.2054, allocations: 23.8 kB / 0.7336 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.126e-05/0.2055, allocations: 33.7 kB / 0.7337 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001599/0.2057, allocations: 330.8 kB / 0.734 GB, free: 12 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001606/0.2058, allocations: 51.95 kB / 0.734 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001978/0.206, allocations: 91.23 kB / 0.7341 GB, free: 11.85 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002993/0.2063, allocations: 154.7 kB / 0.7343 GB, free: 11.67 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.2063, allocations: 0 / 0.7343 GB, free: 11.67 MB / 0.5606 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004869/0.2068, allocations: 215.2 kB / 0.7345 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.622e-05/0.2068, allocations: 37.7 kB / 0.7345 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.2069, allocations: 3.984 kB / 0.7345 GB, free: 11.4 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.813e-05/0.2069, allocations: 4 kB / 0.7345 GB, free: 11.4 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001005/0.207, allocations: 12 kB / 0.7345 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.276e-06/0.207, allocations: 3.984 kB / 0.7345 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002026/0.2072, allocations: 35.91 kB / 0.7346 GB, free: 11.35 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.409e-05/0.2072, allocations: 16.08 kB / 0.7346 GB, free: 11.33 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 9 (triSam1.y,$PRE.triSam1.y,triSam.y,$PRE.triSam.y,booPul.y,$PRE.booPul.y,$whenCondition3,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 1 * 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 0.0001122/0.2073, allocations: 127.7 kB / 0.7347 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.404e-05/0.2073, allocations: 3.953 kB / 0.7347 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003039/0.2076, allocations: 122 kB / 0.7348 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.365e-06/0.2076, allocations: 3.938 kB / 0.7348 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/0.2076, allocations: 4 kB / 0.7348 GB, free: 11.06 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.2076, allocations: 4 kB / 0.7348 GB, free: 11.06 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004511/0.2081, allocations: 349.9 kB / 0.7352 GB, free: 10.67 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.195e-06/0.2081, allocations: 0 / 0.7352 GB, free: 10.67 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.915e-05/0.2082, allocations: 11.98 kB / 0.7352 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.33e-06/0.2082, allocations: 4 kB / 0.7352 GB, free: 10.65 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.425e-06/0.2082, allocations: 0 / 0.7352 GB, free: 10.65 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.2082, allocations: 0 / 0.7352 GB, free: 10.65 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/0.2082, allocations: 4.016 kB / 0.7352 GB, free: 10.65 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003255/0.2085, allocations: 219.4 kB / 0.7354 GB, free: 10.42 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.53e-05/0.2085, allocations: 11.94 kB / 0.7354 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.764e-05/0.2085, allocations: 7.938 kB / 0.7354 GB, free: 10.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.331e-05/0.2086, allocations: 7.984 kB / 0.7354 GB, free: 10.39 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.022e-05/0.2087, allocations: 7.938 kB / 0.7354 GB, free: 10.38 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.207e-06/0.2087, allocations: 7.984 kB / 0.7354 GB, free: 10.38 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.816e-05/0.2087, allocations: 92.81 kB / 0.7355 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.2087, allocations: 0 / 0.7355 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.00026/0.209, allocations: 27.98 kB / 0.7356 GB, free: 10.26 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition3,$whenCondition1,$whenCondition2,booPul.y,triSam.y,triSam1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0001461/0.2091, allocations: 99.19 kB / 0.7356 GB, free: 10.15 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003835/0.2095, allocations: 171.5 kB / 0.7358 GB, free: 9.973 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.2095, allocations: 8 kB / 0.7358 GB, free: 9.965 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001283/0.2097, allocations: 31.97 kB / 0.7358 GB, free: 9.934 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002703/0.2099, allocations: 18.02 kB / 0.7359 GB, free: 9.918 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004397/0.2104, allocations: 204.8 kB / 0.7361 GB, free: 9.684 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003352/0.2107, allocations: 0.6924 MB / 0.7367 GB, free: 8.965 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.165e-05/0.2107, allocations: 11.44 kB / 0.7367 GB, free: 8.953 MB / 0.5606 GB Notification: Performance of SimCode: time 3.81e-07/0.2107, allocations: 0 / 0.7367 GB, free: 8.953 MB / 0.5606 GB Notification: Performance of Templates: time 0.003311/0.214, allocations: 1.298 MB / 0.738 GB, free: 7.668 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.9684531460516155] Failed to read output from testmodel.py, exit status != 0: 0.22361770877614617 0.23802748499999996 0.032899298 Calling exit ...