Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.Constant.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.001368/0.001368, allocations: 105.2 kB / 20.45 MB, free: 1.5 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.00229/0.00229, allocations: 219.2 kB / 23.76 MB, free: 4.711 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.485/1.485, allocations: 230.6 MB / 257.5 MB, free: 7.984 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.9734/0.9734, allocations: 150 MB / 463.9 MB, free: 10.48 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.Logical.Sources.Validation.Constant,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.Constant") translateModel(IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.Constant,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.Constant") [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.002058/0.002058, allocations: 63.03 kB / 0.6425 GB, free: 9.895 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1961/0.1982, allocations: 89.17 MB / 0.7296 GB, free: 0.7773 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.001906/0.2001, allocations: 0.527 MB / 0.7301 GB, free: 260 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 4.619e-05/0.2002, allocations: 4 kB / 0.7301 GB, free: 256 kB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.249e-05/0.2002, allocations: 4 kB / 0.7301 GB, free: 252 kB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.706e-05/0.2002, allocations: 3.938 kB / 0.7301 GB, free: 248 kB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 3.016e-05/0.2002, allocations: 0 / 0.7301 GB, free: 248 kB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 2.959e-05/0.2003, allocations: 4 kB / 0.7301 GB, free: 244 kB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 7.177e-05/0.2003, allocations: 3.984 kB / 0.7301 GB, free: 240 kB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 6.566e-05/0.2004, allocations: 4 kB / 0.7301 GB, free: 236 kB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 1.467e-05/0.2004, allocations: 7.938 kB / 0.7301 GB, free: 228 kB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 2.332e-05/0.2004, allocations: 0 / 0.7301 GB, free: 228 kB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.253e-05/0.2005, allocations: 0 / 0.7301 GB, free: 228 kB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 3.887e-06/0.2005, allocations: 0 / 0.7301 GB, free: 228 kB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.523e-05/0.2005, allocations: 3.984 kB / 0.7301 GB, free: 224 kB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.171e-05/0.2005, allocations: 4 kB / 0.7301 GB, free: 220 kB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 6.207e-05/0.2006, allocations: 0 / 0.7301 GB, free: 220 kB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.2006, allocations: 4 kB / 0.7301 GB, free: 216 kB / 0.545 GB Notification: Performance of FrontEnd: time 1.653e-06/0.2006, allocations: 4 kB / 0.7301 GB, free: 212 kB / 0.545 GB Notification: Performance of Transformations before backend: time 5.35e-06/0.2006, allocations: 7.875 kB / 0.7302 GB, free: 204 kB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003517/0.2009, allocations: 241 kB / 0.7304 GB, free: 15.93 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.966e-05/0.201, allocations: 8.031 kB / 0.7304 GB, free: 15.93 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.402e-05/0.201, allocations: 0.9375 kB / 0.7304 GB, free: 15.93 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001111/0.2011, allocations: 106.5 kB / 0.7305 GB, free: 15.8 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.565e-05/0.2011, allocations: 4.375 kB / 0.7305 GB, free: 15.79 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.306e-06/0.2011, allocations: 384 / 0.7305 GB, free: 15.79 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.035e-05/0.2012, allocations: 34.2 kB / 0.7305 GB, free: 15.75 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.716e-06/0.2012, allocations: 192 / 0.7305 GB, free: 15.75 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.065e-05/0.2012, allocations: 3.938 kB / 0.7305 GB, free: 15.75 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.2012, allocations: 4 kB / 0.7305 GB, free: 15.75 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.581e-05/0.2013, allocations: 3.984 kB / 0.7305 GB, free: 15.74 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003487/0.2016, allocations: 350.6 kB / 0.7309 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001124/0.2017, allocations: 177 kB / 0.731 GB, free: 15.17 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.169e-05/0.2018, allocations: 80.14 kB / 0.7311 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.691e-05/0.2018, allocations: 79.27 kB / 0.7312 GB, free: 15.01 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.742e-05/0.2019, allocations: 113.9 kB / 0.7313 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=0): time 9.82e-07/0.2019, allocations: 0 / 0.7313 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of matching and sorting (n=0): time 7.717e-05/0.2019, allocations: 25.7 kB / 0.7313 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.107e-05/0.202, allocations: 134.6 kB / 0.7315 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.474e-05/0.2021, allocations: 93.86 kB / 0.7316 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.711e-05/0.2021, allocations: 25.7 kB / 0.7316 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.54e-05/0.2022, allocations: 80.14 kB / 0.7317 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.873e-06/0.2022, allocations: 0 / 0.7317 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.859e-05/0.2022, allocations: 9.719 kB / 0.7317 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001503/0.2024, allocations: 322.8 kB / 0.732 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.769e-06/0.2024, allocations: 0 / 0.732 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.358e-06/0.2024, allocations: 8.125 kB / 0.732 GB, free: 14.15 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.396e-05/0.2024, allocations: 75.28 kB / 0.732 GB, free: 14.08 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.982e-05/0.2024, allocations: 75.28 kB / 0.7321 GB, free: 14 MB / 0.5606 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.44e-05/0.2025, allocations: 33.64 kB / 0.7322 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.473e-05/0.2025, allocations: 79.28 kB / 0.7322 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.493e-05/0.2026, allocations: 79.22 kB / 0.7323 GB, free: 13.81 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.202e-05/0.2027, allocations: 150.6 kB / 0.7324 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.852e-05/0.2027, allocations: 87.22 kB / 0.7325 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.406e-05/0.2028, allocations: 158.5 kB / 0.7327 GB, free: 13.42 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.563e-05/0.2028, allocations: 79.22 kB / 0.7328 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.318e-05/0.2029, allocations: 79.22 kB / 0.7328 GB, free: 13.26 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (0): * Single equations (assignments): 0 * 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 0.0001407/0.203, allocations: 268.3 kB / 0.7331 GB, free: 12.99 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.36e-05/0.2031, allocations: 101 kB / 0.7332 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.881e-05/0.2032, allocations: 116.1 kB / 0.7333 GB, free: 12.76 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.641e-05/0.2032, allocations: 188.2 kB / 0.7335 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.527e-05/0.2033, allocations: 180.2 kB / 0.7336 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.138e-05/0.2034, allocations: 180.2 kB / 0.7338 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002721/0.2037, allocations: 376.2 kB / 0.7342 GB, free: 11.79 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.938e-05/0.2037, allocations: 113.2 kB / 0.7343 GB, free: 11.67 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.523e-05/0.2038, allocations: 101 kB / 0.7344 GB, free: 11.56 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.047e-05/0.2039, allocations: 180.3 kB / 0.7346 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.044e-05/0.204, allocations: 184.2 kB / 0.7347 GB, free: 11.19 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.575e-05/0.204, allocations: 176.3 kB / 0.7349 GB, free: 11.01 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.000104/0.2041, allocations: 184.2 kB / 0.7351 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001808/0.2043, allocations: 315.7 kB / 0.7354 GB, free: 10.49 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.308e-05/0.2044, allocations: 101 kB / 0.7355 GB, free: 10.39 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001027/0.2045, allocations: 184.2 kB / 0.7356 GB, free: 10.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.269e-05/0.2046, allocations: 104.9 kB / 0.7357 GB, free: 10.09 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.59e-05/0.2047, allocations: 188.3 kB / 0.7359 GB, free: 9.898 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.563e-05/0.2047, allocations: 104.9 kB / 0.736 GB, free: 9.789 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.937e-05/0.2048, allocations: 79.28 kB / 0.7361 GB, free: 9.711 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.2048, allocations: 0 / 0.7361 GB, free: 9.711 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000278/0.205, allocations: 0 / 0.7361 GB, free: 9.711 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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 Backend phase and start with SimCode phase: time 0.0001516/0.2052, allocations: 174.5 kB / 0.7363 GB, free: 9.527 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 4.709e-05/0.2052, allocations: 4.094 kB / 0.7363 GB, free: 9.523 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.2052, allocations: 0 / 0.7363 GB, free: 9.523 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 9.82e-07/0.2052, allocations: 0 / 0.7363 GB, free: 9.523 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004388/0.2057, allocations: 463.6 kB / 0.7367 GB, free: 9.066 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002651/0.2059, allocations: 177.9 kB / 0.7369 GB, free: 8.859 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000339/0.2063, allocations: 0.6806 MB / 0.7375 GB, free: 8.152 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.76e-05/0.2063, allocations: 7.438 kB / 0.7376 GB, free: 8.145 MB / 0.5606 GB Notification: Performance of SimCode: time 2.81e-07/0.2063, allocations: 0 / 0.7376 GB, free: 8.145 MB / 0.5606 GB Notification: Performance of Templates: time 0.001756/0.2081, allocations: 319.6 kB / 0.7379 GB, free: 7.836 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.Constant.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.Constant.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.Constant -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.854419236071408] Failed to read output from testmodel.py, exit status != 0: 0.21631145593710244 0.23010653800000003 0.026564255000000002 Calling exit ...