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.001361/0.001361, allocations: 114.2 kB / 17.84 MB, free: 5.336 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.001474/0.001474, allocations: 207.1 kB / 20.8 MB, free: 2.391 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.558/1.558, allocations: 230.6 MB / 254.2 MB, free: 15.09 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.073/1.073, allocations: 150 MB / 460.2 MB, free: 5.312 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Logical.Validation.Timer,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_Timer",fmuType="cs",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.001958/0.001958, allocations: 66.03 kB / 0.6368 GB, free: 30.54 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1827/0.1846, allocations: 89.14 MB / 0.7239 GB, free: 4.031 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Validation.Timer): time 0.001907/0.1866, allocations: 0.7072 MB / 0.7245 GB, free: 3.32 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001889/0.1884, allocations: 1.297 MB / 0.7258 GB, free: 2.012 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.576e-05/0.1885, allocations: 0 / 0.7258 GB, free: 2.012 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.923e-05/0.1885, allocations: 7.938 kB / 0.7258 GB, free: 2.004 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 9.662e-05/0.1886, allocations: 23.78 kB / 0.7258 GB, free: 1.98 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007754/0.1894, allocations: 247.7 kB / 0.7261 GB, free: 1.746 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0003608/0.1898, allocations: 255.5 kB / 0.7263 GB, free: 1.492 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001087/0.1899, allocations: 12.23 kB / 0.7263 GB, free: 1.477 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001595/0.19, allocations: 95.86 kB / 0.7264 GB, free: 1.383 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002006/0.1902, allocations: 103.7 kB / 0.7265 GB, free: 1.281 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 5.321e-05/0.1903, allocations: 24 kB / 0.7266 GB, free: 1.258 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001091/0.1904, allocations: 39.92 kB / 0.7266 GB, free: 1.219 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 4.698e-05/0.1905, allocations: 27.97 kB / 0.7266 GB, free: 1.191 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001304/0.1906, allocations: 91.73 kB / 0.7267 GB, free: 1.102 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003545/0.1909, allocations: 231.5 kB / 0.7269 GB, free: 0.875 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.1909, allocations: 0 / 0.7269 GB, free: 0.875 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.653e-06/0.1909, allocations: 0 / 0.7269 GB, free: 0.875 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.041e-05/0.191, allocations: 0 / 0.7269 GB, free: 0.875 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.0009576/0.1919, allocations: 0.4906 MB / 0.7274 GB, free: 328 kB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.316e-05/0.192, allocations: 12.03 kB / 0.7274 GB, free: 316 kB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.165e-05/0.192, allocations: 4.188 kB / 0.7274 GB, free: 312 kB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.169e-05/0.1921, allocations: 38.73 kB / 0.7275 GB, free: 264 kB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.737e-05/0.1921, allocations: 20.88 kB / 0.7275 GB, free: 244 kB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006982/0.1928, allocations: 256.4 kB / 0.7277 GB, free: 15.95 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.033e-05/0.1929, allocations: 8.375 kB / 0.7277 GB, free: 15.94 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.35e-05/0.1929, allocations: 24.36 kB / 0.7278 GB, free: 15.91 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002737/0.1932, allocations: 137.9 kB / 0.7279 GB, free: 15.77 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.1932, allocations: 0 / 0.7279 GB, free: 15.77 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.307e-05/0.1932, allocations: 3.984 kB / 0.7279 GB, free: 15.77 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.55e-06/0.1932, allocations: 4 kB / 0.7279 GB, free: 15.76 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001426/0.1934, allocations: 59.95 kB / 0.7279 GB, free: 15.7 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009206/0.1943, allocations: 0.5239 MB / 0.7285 GB, free: 15.13 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003119/0.1946, allocations: 137.1 kB / 0.7286 GB, free: 14.98 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001132/0.1947, allocations: 57.69 kB / 0.7286 GB, free: 14.91 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.415e-05/0.1947, allocations: 4 kB / 0.7286 GB, free: 14.91 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004541/0.1952, allocations: 205.8 kB / 0.7288 GB, free: 14.69 MB / 0.545 GB Notification: Performance of pre-optimization done (n=22): time 1.253e-06/0.1952, allocations: 0 / 0.7288 GB, free: 14.69 MB / 0.545 GB Notification: Performance of matching and sorting (n=22): time 0.0006478/0.1958, allocations: 309.4 kB / 0.7291 GB, free: 14.38 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.36e-05/0.1959, allocations: 89.09 kB / 0.7292 GB, free: 14.28 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001292/0.196, allocations: 128.5 kB / 0.7293 GB, free: 14.14 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.215e-05/0.1961, allocations: 41.7 kB / 0.7294 GB, free: 14.1 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.639e-05/0.1962, allocations: 96.8 kB / 0.7295 GB, free: 14 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.964e-05/0.1962, allocations: 51.64 kB / 0.7295 GB, free: 13.95 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001364/0.1964, allocations: 82.05 kB / 0.7296 GB, free: 13.86 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001578/0.1965, allocations: 322.8 kB / 0.7299 GB, free: 13.54 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002056/0.1967, allocations: 92.16 kB / 0.73 GB, free: 13.45 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002462/0.197, allocations: 156.7 kB / 0.7302 GB, free: 13.27 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000347/0.1973, allocations: 243 kB / 0.7304 GB, free: 12.99 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.1973, allocations: 4 kB / 0.7304 GB, free: 12.98 MB / 0.545 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006262/0.198, allocations: 356.7 kB / 0.7307 GB, free: 12.62 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 6.946e-05/0.198, allocations: 69.11 kB / 0.7308 GB, free: 12.54 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.198, allocations: 0 / 0.7308 GB, free: 12.54 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.318e-05/0.1981, allocations: 7.938 kB / 0.7308 GB, free: 12.53 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001079/0.1982, allocations: 23.92 kB / 0.7308 GB, free: 12.51 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.304e-05/0.1982, allocations: 7.938 kB / 0.7308 GB, free: 12.5 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004011/0.1986, allocations: 68.05 kB / 0.7309 GB, free: 12.43 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.077e-05/0.1986, allocations: 19.98 kB / 0.7309 GB, free: 12.41 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.0001777/0.1988, allocations: 140 kB / 0.7311 GB, free: 12.27 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.038e-05/0.1988, allocations: 15.91 kB / 0.7311 GB, free: 12.25 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.34e-05/0.1989, allocations: 24.44 kB / 0.7311 GB, free: 12.23 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.524e-06/0.1989, allocations: 7.938 kB / 0.7311 GB, free: 12.22 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/0.1989, allocations: 0 / 0.7311 GB, free: 12.22 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.404e-06/0.1989, allocations: 3.984 kB / 0.7311 GB, free: 12.21 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007384/0.1996, allocations: 0.6054 MB / 0.7317 GB, free: 11.55 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.1996, allocations: 0 / 0.7317 GB, free: 11.55 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.945e-05/0.1997, allocations: 15.86 kB / 0.7317 GB, free: 11.54 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.562e-06/0.1997, allocations: 7.984 kB / 0.7317 GB, free: 11.53 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.964e-05/0.1997, allocations: 8.094 kB / 0.7317 GB, free: 11.52 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.087e-06/0.1997, allocations: 11.92 kB / 0.7317 GB, free: 11.51 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.1997, allocations: 80 / 0.7317 GB, free: 11.51 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004769/0.2002, allocations: 421.3 kB / 0.7321 GB, free: 11.09 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.579e-05/0.2003, allocations: 89.05 kB / 0.7322 GB, free: 10.98 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.518e-05/0.2003, allocations: 11.94 kB / 0.7322 GB, free: 10.97 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001564/0.2004, allocations: 15.98 kB / 0.7322 GB, free: 10.95 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.735e-05/0.2005, allocations: 27.97 kB / 0.7323 GB, free: 10.93 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.163e-05/0.2005, allocations: 15.98 kB / 0.7323 GB, free: 10.91 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.488e-05/0.2006, allocations: 95.27 kB / 0.7324 GB, free: 10.82 MB / 0.545 GB Notification: Performance of sort global known variables: time 6e-08/0.2006, allocations: 0 / 0.7324 GB, free: 10.82 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000367/0.201, allocations: 59.92 kB / 0.7324 GB, free: 10.76 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.0008895/0.2019, allocations: 0.9729 MB / 0.7334 GB, free: 9.758 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005481/0.2024, allocations: 310.6 kB / 0.7337 GB, free: 9.43 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.2024, allocations: 0 / 0.7337 GB, free: 9.43 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001559/0.2026, allocations: 86.75 kB / 0.7338 GB, free: 9.348 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004275/0.203, allocations: 33.89 kB / 0.7338 GB, free: 9.316 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003482/0.2065, allocations: 2.278 MB / 0.736 GB, free: 6.895 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004205/0.2069, allocations: 0.7163 MB / 0.7367 GB, free: 6.152 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 8.447e-05/0.207, allocations: 13.55 kB / 0.7367 GB, free: 6.141 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.256e-05/0.2071, allocations: 43.42 kB / 0.7368 GB, free: 6.098 MB / 0.545 GB Notification: Performance of SimCode: time 1.482e-06/0.2071, allocations: 0 / 0.7368 GB, free: 6.098 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02324/0.2303, allocations: 4.15 MB / 0.7408 GB, free: 2.086 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.436/8.667, allocations: 15.67 kB / 0.7408 GB, free: 2.07 MB / 0.545 GB " [Timeout remaining time 651] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_Timer_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=50 --tolerance=1e-06 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 os._exit(0), Time elapsed: 12.78561780799646] Failed to read output from testmodel.py, exit status != 0: 8.795744773000479 8.811477098 8.61757832 Calling exit ...