Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Or.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.001367/0.001367, allocations: 113.3 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.00145/0.00145, allocations: 194.2 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.51/1.51, allocations: 225.6 MB / 251.5 MB, free: 13.07 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 0.9881/0.9881, allocations: 149.5 MB / 456.3 MB, free: 1.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 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.Validation.Or,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Or") translateModel(IBPSA.Controls.OBC.CDL.Logical.Validation.Or,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Or") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00201/0.00201, allocations: 66.92 kB / 0.6324 GB, free: 9.203 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2055/0.2075, allocations: 87.88 MB / 0.7182 GB, free: 1.238 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Validation.Or): time 0.001991/0.2095, allocations: 0.6334 MB / 0.7188 GB, free: 0.6094 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0018/0.2113, allocations: 1.194 MB / 0.72 GB, free: 15.4 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.937e-05/0.2113, allocations: 0 / 0.72 GB, free: 15.4 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.029e-05/0.2114, allocations: 7.875 kB / 0.72 GB, free: 15.39 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 8.772e-05/0.2114, allocations: 23.78 kB / 0.72 GB, free: 15.37 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.000763/0.2122, allocations: 222 kB / 0.7202 GB, free: 15.16 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002495/0.2125, allocations: 167.8 kB / 0.7204 GB, free: 15 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 9.01e-05/0.2125, allocations: 7.984 kB / 0.7204 GB, free: 14.99 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001149/0.2127, allocations: 71.83 kB / 0.7205 GB, free: 14.92 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001367/0.2128, allocations: 63.84 kB / 0.7205 GB, free: 14.86 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.442e-05/0.2128, allocations: 16 kB / 0.7206 GB, free: 14.84 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 8.442e-05/0.2129, allocations: 35.98 kB / 0.7206 GB, free: 14.8 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.024e-05/0.2129, allocations: 3.938 kB / 0.7206 GB, free: 14.8 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 9.679e-05/0.213, allocations: 55.89 kB / 0.7206 GB, free: 14.75 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.000234/0.2133, allocations: 155.5 kB / 0.7208 GB, free: 14.59 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.2133, allocations: 0 / 0.7208 GB, free: 14.59 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.703e-06/0.2133, allocations: 0 / 0.7208 GB, free: 14.59 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.66e-06/0.2133, allocations: 4 kB / 0.7208 GB, free: 14.59 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006029/0.2139, allocations: 362.6 kB / 0.7211 GB, free: 14.19 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.2139, allocations: 8.625 kB / 0.7212 GB, free: 14.18 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.78e-05/0.214, allocations: 12.89 kB / 0.7212 GB, free: 14.17 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001101/0.2141, allocations: 114.4 kB / 0.7213 GB, free: 14.04 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.639e-05/0.2141, allocations: 12.36 kB / 0.7213 GB, free: 14.02 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.093e-05/0.2142, allocations: 8.375 kB / 0.7213 GB, free: 14.02 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001259/0.2143, allocations: 46.19 kB / 0.7213 GB, free: 13.96 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.937e-06/0.2143, allocations: 192 / 0.7213 GB, free: 13.96 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.956e-05/0.2143, allocations: 19.92 kB / 0.7214 GB, free: 13.95 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.2143, allocations: 0 / 0.7214 GB, free: 13.95 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.23e-05/0.2144, allocations: 15.98 kB / 0.7214 GB, free: 13.93 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005708/0.2149, allocations: 315.9 kB / 0.7217 GB, free: 13.58 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 8.88e-05/0.215, allocations: 38.45 kB / 0.7217 GB, free: 13.53 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.151e-05/0.2151, allocations: 16.94 kB / 0.7217 GB, free: 13.51 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.553e-05/0.2151, allocations: 4 kB / 0.7217 GB, free: 13.51 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001463/0.2152, allocations: 75.38 kB / 0.7218 GB, free: 13.42 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 1.583e-06/0.2152, allocations: 0 / 0.7218 GB, free: 13.42 MB / 0.545 GB Notification: Performance of matching and sorting (n=7): time 0.0002843/0.2155, allocations: 113.5 kB / 0.7219 GB, free: 13.3 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.765e-05/0.2156, allocations: 51.41 kB / 0.722 GB, free: 13.24 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001334/0.2157, allocations: 125.7 kB / 0.7221 GB, free: 13.11 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.741e-05/0.2157, allocations: 33.64 kB / 0.7221 GB, free: 13.07 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.106e-05/0.2158, allocations: 96.14 kB / 0.7222 GB, free: 12.97 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.799e-05/0.2158, allocations: 11.91 kB / 0.7222 GB, free: 12.96 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001003/0.2159, allocations: 49.69 kB / 0.7223 GB, free: 12.91 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001504/0.2161, allocations: 318.8 kB / 0.7226 GB, free: 12.59 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001426/0.2162, allocations: 59.97 kB / 0.7226 GB, free: 12.53 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001623/0.2164, allocations: 96.25 kB / 0.7227 GB, free: 12.42 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002273/0.2166, allocations: 159.6 kB / 0.7229 GB, free: 12.23 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.2166, allocations: 0 / 0.7229 GB, free: 12.23 MB / 0.545 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004723/0.2171, allocations: 264.8 kB / 0.7231 GB, free: 11.96 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 7.063e-05/0.2172, allocations: 67.39 kB / 0.7232 GB, free: 11.88 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/0.2172, allocations: 8.125 kB / 0.7232 GB, free: 11.87 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.541e-05/0.2172, allocations: 0 / 0.7232 GB, free: 11.87 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.56e-05/0.2172, allocations: 7.984 kB / 0.7232 GB, free: 11.86 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.553e-06/0.2172, allocations: 480 / 0.7232 GB, free: 11.86 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003695/0.2176, allocations: 51.88 kB / 0.7233 GB, free: 11.81 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.317e-05/0.2176, allocations: 12 kB / 0.7233 GB, free: 11.8 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,or1.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 7 * 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.0001226/0.2177, allocations: 133.7 kB / 0.7234 GB, free: 11.66 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.33e-05/0.2177, allocations: 7.953 kB / 0.7234 GB, free: 11.65 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.825e-05/0.2178, allocations: 16.31 kB / 0.7234 GB, free: 11.64 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.2178, allocations: 0 / 0.7234 GB, free: 11.64 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.2178, allocations: 0 / 0.7234 GB, free: 11.64 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.2178, allocations: 0 / 0.7234 GB, free: 11.64 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001483/0.2179, allocations: 152.6 kB / 0.7236 GB, free: 11.45 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.2179, allocations: 0 / 0.7236 GB, free: 11.45 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.576e-06/0.2179, allocations: 0 / 0.7236 GB, free: 11.45 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.531e-06/0.2179, allocations: 4 kB / 0.7236 GB, free: 11.44 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.745e-06/0.218, allocations: 4 kB / 0.7236 GB, free: 11.44 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.218, allocations: 0 / 0.7236 GB, free: 11.44 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.218, allocations: 0 / 0.7236 GB, free: 11.44 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001583/0.2181, allocations: 113 kB / 0.7237 GB, free: 11.31 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.2e-05/0.2181, allocations: 7.953 kB / 0.7237 GB, free: 11.3 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.577e-05/0.2181, allocations: 0 / 0.7237 GB, free: 11.3 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.66e-05/0.2182, allocations: 12.05 kB / 0.7237 GB, free: 11.29 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.556e-05/0.2182, allocations: 7.938 kB / 0.7237 GB, free: 11.28 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.244e-06/0.2182, allocations: 7.984 kB / 0.7237 GB, free: 11.27 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.65e-05/0.2183, allocations: 91.22 kB / 0.7238 GB, free: 11.18 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.2183, allocations: 0 / 0.7238 GB, free: 11.18 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002437/0.2185, allocations: 32 kB / 0.7238 GB, free: 11.15 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: 7 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,or1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001547/0.2187, allocations: 103.2 kB / 0.7239 GB, free: 11.04 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.000378/0.219, allocations: 222.6 kB / 0.7241 GB, free: 10.8 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.2191, allocations: 4.25 kB / 0.7241 GB, free: 10.8 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 5.07e-05/0.2191, allocations: 23.98 kB / 0.7242 GB, free: 10.77 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002591/0.2194, allocations: 15.98 kB / 0.7242 GB, free: 10.76 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003794/0.2197, allocations: 150.9 kB / 0.7243 GB, free: 10.58 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003158/0.2201, allocations: 0.6848 MB / 0.725 GB, free: 9.867 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.643e-05/0.2201, allocations: 4 kB / 0.725 GB, free: 9.863 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.039e-05/0.2201, allocations: 19.42 kB / 0.725 GB, free: 9.844 MB / 0.545 GB Notification: Performance of SimCode: time 3.21e-07/0.2201, allocations: 3.938 kB / 0.725 GB, free: 9.84 MB / 0.545 GB Notification: Performance of Templates: time 0.00529/0.2254, allocations: 1.862 MB / 0.7268 GB, free: 8 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Or.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Or.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Or.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Or.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Or.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Or -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Or.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.9722377602010965] Failed to read output from testmodel.py, exit status != 0: 0.23534030467271805 0.24989232800000002 0.03347851 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7fbb2efd97b0>