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.001825/0.001825, allocations: 111.3 kB / 17.12 MB, free: 5.926 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.002176/0.002176, allocations: 204 kB / 20.09 MB, free: 2.977 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.68/1.68, allocations: 230.6 MB / 253.5 MB, free: 15.08 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 1.035/1.035, allocations: 150 MB / 459.5 MB, free: 5.258 MB / 350.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.002876/0.002876, allocations: 69.14 kB / 0.6361 GB, free: 30.55 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1836/0.1865, allocations: 89.13 MB / 0.7232 GB, free: 4.051 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Validation.Timer): time 0.002176/0.1887, allocations: 0.7168 MB / 0.7239 GB, free: 3.332 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001932/0.1906, allocations: 1.305 MB / 0.7251 GB, free: 2.016 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.293e-05/0.1907, allocations: 4 kB / 0.7251 GB, free: 2.012 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 4.367e-05/0.1907, allocations: 7.922 kB / 0.7252 GB, free: 2.004 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001078/0.1908, allocations: 15.8 kB / 0.7252 GB, free: 1.988 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009135/0.1918, allocations: 260.5 kB / 0.7254 GB, free: 1.742 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0004428/0.1922, allocations: 251.5 kB / 0.7257 GB, free: 1.492 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001206/0.1923, allocations: 12.22 kB / 0.7257 GB, free: 1.477 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000236/0.1926, allocations: 99.86 kB / 0.7258 GB, free: 1.379 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002383/0.1928, allocations: 99.67 kB / 0.7259 GB, free: 1.281 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 5.881e-05/0.1929, allocations: 24 kB / 0.7259 GB, free: 1.258 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001139/0.193, allocations: 31.98 kB / 0.7259 GB, free: 1.227 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 4.789e-05/0.193, allocations: 31.97 kB / 0.7259 GB, free: 1.195 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001351/0.1932, allocations: 83.75 kB / 0.726 GB, free: 1.113 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003543/0.1935, allocations: 231.5 kB / 0.7262 GB, free: 0.8867 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.1935, allocations: 7.938 kB / 0.7263 GB, free: 0.8789 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.134e-06/0.1935, allocations: 0 / 0.7263 GB, free: 0.8789 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 7.715e-06/0.1935, allocations: 0 / 0.7263 GB, free: 0.8789 MB / 0.5294 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.0009095/0.1944, allocations: 0.4906 MB / 0.7267 GB, free: 332 kB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.364e-05/0.1945, allocations: 8.031 kB / 0.7267 GB, free: 324 kB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.009e-05/0.1945, allocations: 42.73 kB / 0.7268 GB, free: 272 kB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.17e-05/0.1946, allocations: 16.89 kB / 0.7268 GB, free: 256 kB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007165/0.1953, allocations: 252.3 kB / 0.727 GB, free: 15.96 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.357e-05/0.1954, allocations: 12.36 kB / 0.7271 GB, free: 15.95 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.224e-05/0.1954, allocations: 20.38 kB / 0.7271 GB, free: 15.93 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002849/0.1957, allocations: 141.9 kB / 0.7272 GB, free: 15.79 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.879e-06/0.1957, allocations: 0 / 0.7272 GB, free: 15.79 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.012e-05/0.1957, allocations: 4 kB / 0.7272 GB, free: 15.78 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.716e-06/0.1958, allocations: 7.984 kB / 0.7272 GB, free: 15.77 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001464/0.1959, allocations: 59.95 kB / 0.7273 GB, free: 15.71 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008993/0.1968, allocations: 0.5162 MB / 0.7278 GB, free: 15.14 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002798/0.1971, allocations: 137.2 kB / 0.7279 GB, free: 14.99 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.741e-05/0.1972, allocations: 57.62 kB / 0.728 GB, free: 14.93 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 9.879e-06/0.1972, allocations: 0 / 0.728 GB, free: 14.93 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004093/0.1976, allocations: 208.8 kB / 0.7282 GB, free: 14.71 MB / 0.545 GB Notification: Performance of pre-optimization done (n=22): time 1.994e-06/0.1976, allocations: 3.938 kB / 0.7282 GB, free: 14.7 MB / 0.545 GB Notification: Performance of matching and sorting (n=22): time 0.0006465/0.1982, allocations: 309.5 kB / 0.7285 GB, free: 14.39 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.964e-05/0.1983, allocations: 89.05 kB / 0.7285 GB, free: 14.29 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002049/0.1985, allocations: 128.4 kB / 0.7287 GB, free: 14.16 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.386e-05/0.1986, allocations: 41.7 kB / 0.7287 GB, free: 14.11 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.91e-05/0.1987, allocations: 108.8 kB / 0.7288 GB, free: 14 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.792e-05/0.1987, allocations: 51.64 kB / 0.7289 GB, free: 13.95 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001376/0.1989, allocations: 69.67 kB / 0.7289 GB, free: 13.88 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0002985/0.1992, allocations: 326.8 kB / 0.7292 GB, free: 13.55 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002161/0.1994, allocations: 84.23 kB / 0.7293 GB, free: 13.46 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002462/0.1996, allocations: 160.2 kB / 0.7295 GB, free: 13.28 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003663/0.2, allocations: 243 kB / 0.7297 GB, free: 13 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.969e-06/0.2, allocations: 4 kB / 0.7297 GB, free: 13 MB / 0.545 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006817/0.2007, allocations: 360.7 kB / 0.7301 GB, free: 12.62 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 7.721e-05/0.2008, allocations: 67.39 kB / 0.7301 GB, free: 12.55 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.053e-05/0.2008, allocations: 4 kB / 0.7301 GB, free: 12.54 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.042e-05/0.2008, allocations: 224 / 0.7301 GB, free: 12.54 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001072/0.2009, allocations: 24.25 kB / 0.7301 GB, free: 12.52 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.045e-06/0.2009, allocations: 4 kB / 0.7301 GB, free: 12.52 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003972/0.2013, allocations: 71.75 kB / 0.7302 GB, free: 12.45 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.16e-05/0.2013, allocations: 20 kB / 0.7302 GB, free: 12.43 MB / 0.545 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.0001792/0.2015, allocations: 144 kB / 0.7304 GB, free: 12.28 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.463e-05/0.2016, allocations: 27.83 kB / 0.7304 GB, free: 12.25 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.243e-05/0.2016, allocations: 12.5 kB / 0.7304 GB, free: 12.23 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.047e-06/0.2016, allocations: 11.88 kB / 0.7304 GB, free: 12.22 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.2016, allocations: 0 / 0.7304 GB, free: 12.22 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.89e-06/0.2016, allocations: 0 / 0.7304 GB, free: 12.22 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008069/0.2024, allocations: 0.6095 MB / 0.731 GB, free: 11.56 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.2024, allocations: 0 / 0.731 GB, free: 11.56 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.04e-05/0.2025, allocations: 11.94 kB / 0.731 GB, free: 11.55 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.74e-06/0.2025, allocations: 7.938 kB / 0.731 GB, free: 11.54 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.343e-05/0.2025, allocations: 11.98 kB / 0.731 GB, free: 11.53 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/0.2025, allocations: 0 / 0.731 GB, free: 11.53 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.2025, allocations: 0 / 0.731 GB, free: 11.53 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004934/0.203, allocations: 418.6 kB / 0.7314 GB, free: 11.1 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.041e-05/0.2031, allocations: 85.06 kB / 0.7315 GB, free: 11 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.346e-05/0.2031, allocations: 15.92 kB / 0.7315 GB, free: 10.98 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001444/0.2033, allocations: 19.98 kB / 0.7316 GB, free: 10.96 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.156e-05/0.2033, allocations: 23.91 kB / 0.7316 GB, free: 10.94 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.292e-05/0.2034, allocations: 15.98 kB / 0.7316 GB, free: 10.93 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.95e-05/0.2035, allocations: 95.27 kB / 0.7317 GB, free: 10.83 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.2035, allocations: 0 / 0.7317 GB, free: 10.83 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003923/0.2038, allocations: 55.94 kB / 0.7317 GB, free: 10.78 MB / 0.545 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.001138/0.205, allocations: 0.972 MB / 0.7327 GB, free: 9.781 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005951/0.2056, allocations: 317.1 kB / 0.733 GB, free: 9.449 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.2056, allocations: 0 / 0.733 GB, free: 9.449 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001903/0.2058, allocations: 88.33 kB / 0.7331 GB, free: 9.363 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004314/0.2062, allocations: 34.06 kB / 0.7331 GB, free: 9.332 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003522/0.2097, allocations: 2.286 MB / 0.7353 GB, free: 6.902 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003966/0.2101, allocations: 0.7085 MB / 0.736 GB, free: 6.164 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 7.327e-05/0.2102, allocations: 17.55 kB / 0.7361 GB, free: 6.148 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.147e-05/0.2103, allocations: 39.42 kB / 0.7361 GB, free: 6.109 MB / 0.545 GB Notification: Performance of SimCode: time 5.31e-07/0.2103, allocations: 0 / 0.7361 GB, free: 6.109 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03117/0.2415, allocations: 4.122 MB / 0.7401 GB, free: 2.09 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.155/8.397, allocations: 14.34 kB / 0.7401 GB, free: 2.078 MB / 0.545 GB " [Timeout remaining time 652] (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: 12.837893072981387] Failed to read output from testmodel.py, exit status != 0: 8.466842337045819 8.482265842 8.285653246 Calling exit ...