Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Edge.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.001375/0.001375, allocations: 114.4 kB / 19.59 MB, free: 2.281 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.001462/0.001462, allocations: 193.4 kB / 22.85 MB, free: 5.664 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.485/1.485, allocations: 225.6 MB / 251.5 MB, free: 13.05 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.9657/0.9657, allocations: 149.5 MB / 456.3 MB, free: 1.266 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.Edge,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Edge") translateModel(IBPSA.Controls.OBC.CDL.Logical.Validation.Edge,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Edge") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002893/0.002893, allocations: 71.88 kB / 0.6324 GB, free: 9.098 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2131/0.216, allocations: 87.87 MB / 0.7182 GB, free: 1.148 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Validation.Edge): time 0.002556/0.2185, allocations: 0.739 MB / 0.7189 GB, free: 424 kB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002177/0.2207, allocations: 1.158 MB / 0.7201 GB, free: 15.24 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.262e-05/0.2208, allocations: 0 / 0.7201 GB, free: 15.24 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.724e-05/0.2208, allocations: 3.938 kB / 0.7201 GB, free: 15.24 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 8.671e-05/0.2209, allocations: 19.86 kB / 0.7201 GB, free: 15.22 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006884/0.2216, allocations: 130.6 kB / 0.7202 GB, free: 15.09 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002411/0.2219, allocations: 115.8 kB / 0.7203 GB, free: 14.98 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001018/0.222, allocations: 11.98 kB / 0.7203 GB, free: 14.97 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001285/0.2221, allocations: 51.91 kB / 0.7204 GB, free: 14.92 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001176/0.2222, allocations: 51.75 kB / 0.7204 GB, free: 14.87 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 4.898e-05/0.2222, allocations: 12 kB / 0.7204 GB, free: 14.86 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 9.667e-05/0.2223, allocations: 23.98 kB / 0.7205 GB, free: 14.83 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.868e-05/0.2224, allocations: 8 kB / 0.7205 GB, free: 14.82 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 8.454e-05/0.2225, allocations: 47.83 kB / 0.7205 GB, free: 14.78 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002379/0.2227, allocations: 107.6 kB / 0.7206 GB, free: 14.67 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.2227, allocations: 0 / 0.7206 GB, free: 14.67 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.623e-06/0.2227, allocations: 0 / 0.7206 GB, free: 14.67 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.253e-06/0.2227, allocations: 0 / 0.7206 GB, free: 14.67 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006938/0.2234, allocations: 335.8 kB / 0.7209 GB, free: 14.3 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.877e-05/0.2235, allocations: 12.62 kB / 0.7209 GB, free: 14.29 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.174e-05/0.2235, allocations: 8.891 kB / 0.721 GB, free: 14.29 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001386/0.2237, allocations: 114.5 kB / 0.7211 GB, free: 14.15 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.205e-05/0.2237, allocations: 8.312 kB / 0.7211 GB, free: 14.14 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.508e-05/0.2237, allocations: 12.38 kB / 0.7211 GB, free: 14.13 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002483/0.224, allocations: 66.16 kB / 0.7211 GB, free: 14.06 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/0.224, allocations: 4.125 kB / 0.7212 GB, free: 14.05 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.573e-05/0.224, allocations: 7.938 kB / 0.7212 GB, free: 14.05 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.265e-05/0.224, allocations: 4 kB / 0.7212 GB, free: 14.04 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002241/0.2242, allocations: 35.95 kB / 0.7212 GB, free: 14.01 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006007/0.2248, allocations: 299.8 kB / 0.7215 GB, free: 13.67 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002197/0.2251, allocations: 74.47 kB / 0.7216 GB, free: 13.59 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001151/0.2252, allocations: 28.95 kB / 0.7216 GB, free: 13.56 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.273e-05/0.2252, allocations: 0 / 0.7216 GB, free: 13.56 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002418/0.2254, allocations: 91.36 kB / 0.7217 GB, free: 13.46 MB / 0.545 GB Notification: Performance of pre-optimization done (n=8): time 1.192e-06/0.2254, allocations: 0 / 0.7217 GB, free: 13.46 MB / 0.545 GB Notification: Performance of matching and sorting (n=8): time 0.0005131/0.2259, allocations: 145.5 kB / 0.7218 GB, free: 13.31 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.048e-05/0.226, allocations: 55.48 kB / 0.7219 GB, free: 13.24 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001334/0.2261, allocations: 121.8 kB / 0.722 GB, free: 13.11 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.416e-05/0.2262, allocations: 29.7 kB / 0.722 GB, free: 13.08 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.607e-05/0.2262, allocations: 96.08 kB / 0.7221 GB, free: 12.98 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.048e-05/0.2263, allocations: 23.83 kB / 0.7221 GB, free: 12.96 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.847e-05/0.2264, allocations: 41.7 kB / 0.7222 GB, free: 12.91 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001735/0.2265, allocations: 314.8 kB / 0.7225 GB, free: 12.59 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000179/0.2267, allocations: 51.95 kB / 0.7225 GB, free: 12.54 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002069/0.2269, allocations: 84.25 kB / 0.7226 GB, free: 12.45 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003241/0.2272, allocations: 146.1 kB / 0.7227 GB, free: 12.28 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.2272, allocations: 3.938 kB / 0.7227 GB, free: 12.28 MB / 0.545 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005173/0.2278, allocations: 215.3 kB / 0.7229 GB, free: 12.05 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 5.079e-05/0.2278, allocations: 41.69 kB / 0.723 GB, free: 12.01 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/0.2278, allocations: 0 / 0.723 GB, free: 12.01 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.796e-05/0.2278, allocations: 3.938 kB / 0.723 GB, free: 12 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001073/0.2279, allocations: 15.92 kB / 0.723 GB, free: 11.99 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.636e-06/0.228, allocations: 4 kB / 0.723 GB, free: 11.98 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002352/0.2282, allocations: 27.97 kB / 0.723 GB, free: 11.96 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.249e-05/0.2282, allocations: 11.98 kB / 0.723 GB, free: 11.95 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: 10 (triggeredSampler.y,$PRE.triggeredSampler.y,$whenCondition1,$whenCondition2,edge1.y,edge1.u,$PRE.edge1.u,booPul.y,$PRE.booPul.y,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 1 * 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.0001422/0.2284, allocations: 131.9 kB / 0.7232 GB, free: 11.81 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.93e-05/0.2284, allocations: 7.953 kB / 0.7232 GB, free: 11.8 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.709e-05/0.2284, allocations: 8.375 kB / 0.7232 GB, free: 11.79 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.12e-06/0.2284, allocations: 4 kB / 0.7232 GB, free: 11.79 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.2284, allocations: 0 / 0.7232 GB, free: 11.79 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.535e-06/0.2284, allocations: 3.984 kB / 0.7232 GB, free: 11.78 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005607/0.229, allocations: 353.4 kB / 0.7235 GB, free: 11.39 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.229, allocations: 0 / 0.7235 GB, free: 11.39 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.161e-05/0.2291, allocations: 11.98 kB / 0.7235 GB, free: 11.38 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.2291, allocations: 0 / 0.7235 GB, free: 11.38 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.869e-06/0.2291, allocations: 0 / 0.7235 GB, free: 11.38 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.2291, allocations: 0 / 0.7235 GB, free: 11.38 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.2291, allocations: 3.938 kB / 0.7235 GB, free: 11.37 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005033/0.2296, allocations: 223.3 kB / 0.7238 GB, free: 11.14 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.478e-05/0.2296, allocations: 0 / 0.7238 GB, free: 11.14 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.949e-05/0.2296, allocations: 7.984 kB / 0.7238 GB, free: 11.13 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001254/0.2298, allocations: 8 kB / 0.7238 GB, free: 11.12 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.581e-05/0.2298, allocations: 3.984 kB / 0.7238 GB, free: 11.12 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.218e-05/0.2298, allocations: 7.938 kB / 0.7238 GB, free: 11.11 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.086e-05/0.2299, allocations: 91.27 kB / 0.7239 GB, free: 11.02 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.2299, allocations: 0 / 0.7239 GB, free: 11.02 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002699/0.2301, allocations: 28 kB / 0.7239 GB, free: 10.99 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 (edge1.y,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,edge1.u,triggeredSampler.y) * Number of discrete states: 1 (edge1.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * 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.0001693/0.2303, allocations: 99.23 kB / 0.724 GB, free: 10.89 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.000431/0.2307, allocations: 167.3 kB / 0.7241 GB, free: 10.71 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.2307, allocations: 0 / 0.7241 GB, free: 10.71 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001323/0.2309, allocations: 36.17 kB / 0.7242 GB, free: 10.68 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003073/0.2312, allocations: 23.92 kB / 0.7242 GB, free: 10.65 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004598/0.2316, allocations: 162.8 kB / 0.7244 GB, free: 10.46 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003717/0.232, allocations: 0.691 MB / 0.725 GB, free: 9.746 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.929e-05/0.2321, allocations: 4 kB / 0.725 GB, free: 9.742 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.444e-05/0.2321, allocations: 19.42 kB / 0.7251 GB, free: 9.723 MB / 0.545 GB Notification: Performance of SimCode: time 6.62e-07/0.2321, allocations: 0 / 0.7251 GB, free: 9.723 MB / 0.545 GB Notification: Performance of Templates: time 0.005131/0.2372, allocations: 1.469 MB / 0.7265 GB, free: 8.273 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Edge.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Edge.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Edge.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Edge -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Edge.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.034481632523239] Failed to read output from testmodel.py, exit status != 0: 0.24786897748708725 0.26273088299999997 0.036541223000000005 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f0dc61617b0>