Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Timer.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.001346/0.001346, allocations: 119 kB / 19.69 MB, free: 2.199 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.001567/0.001567, allocations: 222.4 kB / 23.01 MB, free: 5.047 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.475/1.475, allocations: 230.6 MB / 256.8 MB, free: 7.953 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.9719/0.9719, allocations: 150 MB / 463.2 MB, free: 10.45 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: "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Logical.Validation.Timer,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_Timer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Logical.Validation.Timer,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_Timer",fmuType="me",version="2.0",platforms={"static"}) [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.002049/0.002049, allocations: 69.83 kB / 0.6413 GB, free: 10.3 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1844/0.1864, allocations: 89.17 MB / 0.7284 GB, free: 1.207 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Validation.Timer): time 0.00202/0.1884, allocations: 0.7213 MB / 0.7291 GB, free: 500 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001886/0.1903, allocations: 1.307 MB / 0.7303 GB, free: 15.17 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.375e-05/0.1904, allocations: 0 / 0.7303 GB, free: 15.17 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.635e-05/0.1904, allocations: 7.875 kB / 0.7304 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 9.544e-05/0.1905, allocations: 19.8 kB / 0.7304 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007548/0.1913, allocations: 247.2 kB / 0.7306 GB, free: 14.9 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0003213/0.1916, allocations: 251.6 kB / 0.7308 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001052/0.1917, allocations: 12.23 kB / 0.7309 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001604/0.1918, allocations: 103.8 kB / 0.731 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001818/0.192, allocations: 91.75 kB / 0.731 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 4.157e-05/0.1921, allocations: 24 kB / 0.7311 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 9.442e-05/0.1922, allocations: 39.98 kB / 0.7311 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 4.61e-05/0.1922, allocations: 31.89 kB / 0.7311 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.000126/0.1923, allocations: 91.75 kB / 0.7312 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003034/0.1926, allocations: 227.6 kB / 0.7314 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/0.1926, allocations: 4 kB / 0.7314 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.192e-06/0.1926, allocations: 0 / 0.7314 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.602e-06/0.1927, allocations: 0 / 0.7314 GB, free: 14.04 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0007227/0.1934, allocations: 425.3 kB / 0.7318 GB, free: 13.58 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.811e-05/0.1934, allocations: 11.97 kB / 0.7319 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.525e-05/0.1935, allocations: 42.73 kB / 0.7319 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.695e-05/0.1935, allocations: 20.88 kB / 0.7319 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005564/0.1941, allocations: 190.5 kB / 0.7321 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.057e-05/0.1941, allocations: 12.36 kB / 0.7321 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.508e-05/0.1942, allocations: 20.38 kB / 0.7321 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002501/0.1944, allocations: 142.5 kB / 0.7323 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.468e-06/0.1944, allocations: 0 / 0.7323 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.507e-05/0.1944, allocations: 0 / 0.7323 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.03e-05/0.1944, allocations: 15.94 kB / 0.7323 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001275/0.1946, allocations: 55.95 kB / 0.7323 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008272/0.1954, allocations: 499.7 kB / 0.7328 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002994/0.1957, allocations: 145.2 kB / 0.733 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001015/0.1958, allocations: 49.69 kB / 0.733 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.464e-05/0.1958, allocations: 4 kB / 0.733 GB, free: 12.28 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004207/0.1962, allocations: 209.6 kB / 0.7332 GB, free: 12.06 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=22): time 1.323e-06/0.1962, allocations: 0 / 0.7332 GB, free: 12.06 MB / 0.5606 GB Notification: Performance of matching and sorting (n=22): time 0.0005718/0.1968, allocations: 313.4 kB / 0.7335 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.929e-05/0.1969, allocations: 89.05 kB / 0.7336 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001068/0.197, allocations: 128.6 kB / 0.7337 GB, free: 11.51 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.738e-05/0.197, allocations: 41.7 kB / 0.7338 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 7.55e-05/0.1971, allocations: 104.5 kB / 0.7339 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 5.304e-05/0.1972, allocations: 55.62 kB / 0.7339 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001193/0.1973, allocations: 69.69 kB / 0.734 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001408/0.1974, allocations: 330.8 kB / 0.7343 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001841/0.1976, allocations: 88.23 kB / 0.7344 GB, free: 10.8 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002194/0.1978, allocations: 152.2 kB / 0.7345 GB, free: 10.63 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003316/0.1982, allocations: 247 kB / 0.7347 GB, free: 10.35 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.1982, allocations: 0 / 0.7347 GB, free: 10.35 MB / 0.5606 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006086/0.1988, allocations: 365 kB / 0.7351 GB, free: 9.973 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 6.688e-05/0.1988, allocations: 59.41 kB / 0.7352 GB, free: 9.902 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.1988, allocations: 4 kB / 0.7352 GB, free: 9.898 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.863e-05/0.1989, allocations: 4 kB / 0.7352 GB, free: 9.895 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001069/0.199, allocations: 28.08 kB / 0.7352 GB, free: 9.867 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.114e-05/0.199, allocations: 4 kB / 0.7352 GB, free: 9.863 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003482/0.1993, allocations: 67.81 kB / 0.7353 GB, free: 9.797 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.575e-05/0.1994, allocations: 16 kB / 0.7353 GB, free: 9.781 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 27 (thrTim.passed,$PRE.thrTim.passed,noThr.passed,$PRE.noThr.passed,$whenCondition10,$whenCondition11,booPul.y,$PRE.booPul.y,thrTim.entryTime,$PRE.thrTim.entryTime,noThr.entryTime,$PRE.noThr.entryTime,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition9,thrTim1.passed,$PRE.thrTim1.passed,$whenCondition4,$whenCondition5,booPul1.y,$PRE.booPul1.y,thrTim1.entryTime,$PRE.thrTim1.entryTime,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 2 * 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.0001732/0.1996, allocations: 147.8 kB / 0.7354 GB, free: 9.629 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.391e-05/0.1996, allocations: 15.91 kB / 0.7354 GB, free: 9.613 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.982e-05/0.1996, allocations: 20.42 kB / 0.7354 GB, free: 9.594 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.254e-06/0.1997, allocations: 3.938 kB / 0.7355 GB, free: 9.59 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/0.1997, allocations: 0 / 0.7355 GB, free: 9.59 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.085e-06/0.1997, allocations: 4 kB / 0.7355 GB, free: 9.586 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007011/0.2004, allocations: 0.5808 MB / 0.736 GB, free: 8.957 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.619e-06/0.2004, allocations: 4 kB / 0.736 GB, free: 8.953 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.5e-05/0.2004, allocations: 11.92 kB / 0.736 GB, free: 8.941 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.841e-06/0.2004, allocations: 11.94 kB / 0.736 GB, free: 8.93 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.017e-05/0.2004, allocations: 7.984 kB / 0.7361 GB, free: 8.922 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.068e-06/0.2005, allocations: 7.938 kB / 0.7361 GB, free: 8.914 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.2005, allocations: 0 / 0.7361 GB, free: 8.914 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004871/0.2009, allocations: 421.4 kB / 0.7365 GB, free: 8.488 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 2.034e-05/0.201, allocations: 7.953 kB / 0.7365 GB, free: 8.48 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.294e-05/0.201, allocations: 15.94 kB / 0.7365 GB, free: 8.465 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001425/0.2011, allocations: 15.98 kB / 0.7365 GB, free: 8.449 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.036e-05/0.2012, allocations: 31.89 kB / 0.7365 GB, free: 8.418 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.012e-05/0.2012, allocations: 11.98 kB / 0.7365 GB, free: 8.406 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 7.497e-05/0.2013, allocations: 95.27 kB / 0.7366 GB, free: 8.312 MB / 0.5606 GB Notification: Performance of sort global known variables: time 6.1e-08/0.2013, allocations: 0 / 0.7366 GB, free: 8.312 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003781/0.2017, allocations: 55.98 kB / 0.7367 GB, free: 8.258 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 19 ($whenCondition4,$whenCondition5,$whenCondition1,$whenCondition2,$whenCondition3,thrTim1.passed,thrTim1.entryTime,booPul1.y,$whenCondition10,$whenCondition11,$whenCondition9,$whenCondition6,$whenCondition7,$whenCondition8,noThr.passed,noThr.entryTime,thrTim.passed,thrTim.entryTime,booPul.y) * Number of discrete states: 3 (noThr.entryTime,thrTim.entryTime,thrTim1.entryTime) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.0009378/0.2026, allocations: 0.9693 MB / 0.7376 GB, free: 7.262 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.000538/0.2032, allocations: 317.6 kB / 0.7379 GB, free: 6.93 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.2032, allocations: 0 / 0.7379 GB, free: 6.93 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001608/0.2033, allocations: 86.08 kB / 0.738 GB, free: 6.848 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004092/0.2037, allocations: 31.97 kB / 0.7381 GB, free: 6.816 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002872/0.2066, allocations: 2.29 MB / 0.7403 GB, free: 4.375 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003558/0.207, allocations: 0.7047 MB / 0.741 GB, free: 3.645 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 6.862e-05/0.207, allocations: 17.48 kB / 0.741 GB, free: 3.629 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.229e-05/0.2071, allocations: 39.42 kB / 0.741 GB, free: 3.59 MB / 0.5606 GB Notification: Performance of SimCode: time 7.22e-07/0.2071, allocations: 0 / 0.741 GB, free: 3.59 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03364/0.2408, allocations: 4.32 MB / 0.7453 GB, free: 15.43 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.82/11.06, allocations: 7.125 kB / 0.7453 GB, free: 15.42 MB / 0.5762 GB " [Timeout remaining time 649] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Timer.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Timer.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Timer_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_Timer.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Timer.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.022950238999329] Failed to read output from testmodel.py, exit status != 0: 11.164085136999347 11.180108998 10.984190504 Calling exit ...