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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001304/0.001304, allocations: 114.6 kB / 19.59 MB, free: 2.301 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001459/0.001459, allocations: 191.4 kB / 22.85 MB, free: 5.645 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.512/1.512, allocations: 225.6 MB / 251.5 MB, free: 13.08 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 1.025/1.025, allocations: 149.5 MB / 456.3 MB, free: 1.289 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.002042/0.002042, allocations: 67.25 kB / 0.6324 GB, free: 9.148 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.198/0.2, allocations: 87.88 MB / 0.7182 GB, free: 1.195 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.001987/0.202, allocations: 0.5336 MB / 0.7187 GB, free: 0.668 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 4.717e-05/0.2021, allocations: 7.938 kB / 0.7187 GB, free: 0.6602 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.042e-05/0.2021, allocations: 0 / 0.7187 GB, free: 0.6602 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.873e-05/0.2022, allocations: 3.938 kB / 0.7187 GB, free: 0.6562 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 3.384e-05/0.2022, allocations: 4 kB / 0.7188 GB, free: 0.6523 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 3.065e-05/0.2022, allocations: 0 / 0.7188 GB, free: 0.6523 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 6.982e-05/0.2023, allocations: 4 kB / 0.7188 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 6.568e-05/0.2024, allocations: 3.984 kB / 0.7188 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 1.834e-05/0.2024, allocations: 3.984 kB / 0.7188 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 2.041e-05/0.2024, allocations: 0 / 0.7188 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.336e-05/0.2024, allocations: 0 / 0.7188 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 3.817e-06/0.2024, allocations: 4 kB / 0.7188 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.296e-05/0.2024, allocations: 0 / 0.7188 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.267e-05/0.2024, allocations: 0 / 0.7188 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 6.815e-05/0.2025, allocations: 7.938 kB / 0.7188 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.2025, allocations: 4 kB / 0.7188 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.134e-06/0.2025, allocations: 0 / 0.7188 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.919e-06/0.2025, allocations: 0 / 0.7188 GB, free: 0.625 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003558/0.2029, allocations: 234.5 kB / 0.719 GB, free: 372 kB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.246e-05/0.2029, allocations: 12.62 kB / 0.719 GB, free: 360 kB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.856e-05/0.203, allocations: 4.875 kB / 0.719 GB, free: 356 kB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001125/0.2031, allocations: 102.5 kB / 0.7191 GB, free: 228 kB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.028e-05/0.2031, allocations: 4.359 kB / 0.7191 GB, free: 224 kB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.253e-05/0.2031, allocations: 384 / 0.7191 GB, free: 224 kB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000104/0.2032, allocations: 38.27 kB / 0.7192 GB, free: 180 kB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/0.2032, allocations: 192 / 0.7192 GB, free: 180 kB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.023e-05/0.2032, allocations: 3.938 kB / 0.7192 GB, free: 176 kB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.2032, allocations: 0 / 0.7192 GB, free: 176 kB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.786e-05/0.2032, allocations: 4 kB / 0.7192 GB, free: 172 kB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003858/0.2036, allocations: 350.5 kB / 0.7195 GB, free: 15.78 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001076/0.2037, allocations: 177.6 kB / 0.7197 GB, free: 15.6 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.908e-05/0.2038, allocations: 80.14 kB / 0.7197 GB, free: 15.52 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.997e-05/0.2038, allocations: 75.28 kB / 0.7198 GB, free: 15.44 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.572e-05/0.2039, allocations: 109.9 kB / 0.7199 GB, free: 15.32 MB / 0.545 GB Notification: Performance of pre-optimization done (n=0): time 8.52e-07/0.2039, allocations: 0 / 0.7199 GB, free: 15.32 MB / 0.545 GB Notification: Performance of matching and sorting (n=0): time 7.829e-05/0.204, allocations: 37.64 kB / 0.72 GB, free: 15.28 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.499e-05/0.204, allocations: 134.7 kB / 0.7201 GB, free: 15.14 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.91e-05/0.2041, allocations: 89.86 kB / 0.7202 GB, free: 15.04 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.65e-05/0.2041, allocations: 29.7 kB / 0.7202 GB, free: 15 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.421e-05/0.2042, allocations: 80.14 kB / 0.7203 GB, free: 14.92 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.683e-06/0.2042, allocations: 0 / 0.7203 GB, free: 14.92 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.077e-05/0.2042, allocations: 9.719 kB / 0.7203 GB, free: 14.91 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001472/0.2044, allocations: 314.8 kB / 0.7206 GB, free: 14.59 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.434e-06/0.2044, allocations: 8.062 kB / 0.7206 GB, free: 14.58 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.569e-06/0.2044, allocations: 3.984 kB / 0.7206 GB, free: 14.58 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.4e-05/0.2044, allocations: 83.22 kB / 0.7207 GB, free: 14.5 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.778e-05/0.2044, allocations: 75.28 kB / 0.7208 GB, free: 14.42 MB / 0.545 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.087e-05/0.2045, allocations: 33.58 kB / 0.7208 GB, free: 14.38 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 4.752e-05/0.2045, allocations: 83.28 kB / 0.7209 GB, free: 14.3 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.209e-05/0.2046, allocations: 75.28 kB / 0.7209 GB, free: 14.23 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.256e-05/0.2047, allocations: 150.6 kB / 0.7211 GB, free: 14.08 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.295e-05/0.2047, allocations: 83.22 kB / 0.7212 GB, free: 14 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.875e-05/0.2048, allocations: 154.6 kB / 0.7213 GB, free: 13.84 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.37e-05/0.2048, allocations: 87.2 kB / 0.7214 GB, free: 13.76 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.781e-05/0.2049, allocations: 75.28 kB / 0.7215 GB, free: 13.68 MB / 0.545 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.0001395/0.205, allocations: 260.3 kB / 0.7217 GB, free: 13.42 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.421e-05/0.2051, allocations: 112.9 kB / 0.7218 GB, free: 13.3 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.53e-05/0.2052, allocations: 108.1 kB / 0.7219 GB, free: 13.19 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.602e-05/0.2053, allocations: 176.3 kB / 0.7221 GB, free: 13.01 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.341e-05/0.2054, allocations: 192.2 kB / 0.7223 GB, free: 12.81 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.34e-05/0.2054, allocations: 180.3 kB / 0.7224 GB, free: 12.63 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002543/0.2057, allocations: 372.2 kB / 0.7228 GB, free: 12.21 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.931e-05/0.2058, allocations: 112.9 kB / 0.7229 GB, free: 12.1 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.09e-05/0.2058, allocations: 109 kB / 0.723 GB, free: 11.98 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.484e-05/0.2059, allocations: 180.2 kB / 0.7232 GB, free: 11.8 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.288e-05/0.206, allocations: 176.3 kB / 0.7233 GB, free: 11.62 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.09e-05/0.206, allocations: 180.5 kB / 0.7235 GB, free: 11.44 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.815e-05/0.2061, allocations: 188.2 kB / 0.7237 GB, free: 11.25 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001684/0.2063, allocations: 311.7 kB / 0.724 GB, free: 10.92 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.072e-05/0.2064, allocations: 101 kB / 0.7241 GB, free: 10.81 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.91e-05/0.2065, allocations: 184.2 kB / 0.7243 GB, free: 10.62 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.182e-05/0.2065, allocations: 105 kB / 0.7244 GB, free: 10.52 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.287e-05/0.2066, allocations: 184.3 kB / 0.7245 GB, free: 10.33 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.79e-05/0.2067, allocations: 104.9 kB / 0.7246 GB, free: 10.22 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.478e-05/0.2067, allocations: 79.28 kB / 0.7247 GB, free: 10.14 MB / 0.545 GB Notification: Performance of sort global known variables: time 8.1e-08/0.2067, allocations: 0 / 0.7247 GB, free: 10.14 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000244/0.207, allocations: 0 / 0.7247 GB, free: 10.14 MB / 0.545 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.0001506/0.2071, allocations: 178.6 kB / 0.7249 GB, free: 9.953 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 4.677e-05/0.2072, allocations: 4 kB / 0.7249 GB, free: 9.949 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.2072, allocations: 3.938 kB / 0.7249 GB, free: 9.945 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.402e-06/0.2072, allocations: 0 / 0.7249 GB, free: 9.945 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004136/0.2076, allocations: 467.5 kB / 0.7253 GB, free: 9.484 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002678/0.2079, allocations: 156.2 kB / 0.7255 GB, free: 9.305 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003394/0.2082, allocations: 0.6729 MB / 0.7261 GB, free: 8.605 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 9.498e-06/0.2082, allocations: 3.984 kB / 0.7262 GB, free: 8.602 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.278e-05/0.2082, allocations: 7.438 kB / 0.7262 GB, free: 8.594 MB / 0.545 GB Notification: Performance of SimCode: time 7.91e-07/0.2082, allocations: 3.938 kB / 0.7262 GB, free: 8.59 MB / 0.545 GB Notification: Performance of Templates: time 0.002291/0.2105, allocations: 165 kB / 0.7263 GB, free: 8.43 MB / 0.545 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: 6.065632664598525] Failed to read output from testmodel.py, exit status != 0: 0.21932065673172474 0.235662424 0.029682202 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7fbc5dcc57b0>