Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.FallingEdge.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.001305/0.001305, 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.001508/0.001508, allocations: 188.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.518/1.518, 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.9963/0.9963, allocations: 149.5 MB / 456.3 MB, free: 1.27 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.FallingEdge,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.FallingEdge") translateModel(IBPSA.Controls.OBC.CDL.Logical.Validation.FallingEdge,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.FallingEdge") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002127/0.002127, allocations: 67.34 kB / 0.6324 GB, free: 9.172 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2153/0.2174, allocations: 87.88 MB / 0.7182 GB, free: 1.207 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Validation.FallingEdge): time 0.002191/0.2196, allocations: 0.739 MB / 0.7189 GB, free: 484 kB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.00167/0.2212, allocations: 1.162 MB / 0.7201 GB, free: 15.3 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.866e-05/0.2213, allocations: 4 kB / 0.7201 GB, free: 15.29 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.961e-05/0.2213, allocations: 3.938 kB / 0.7201 GB, free: 15.29 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 8.413e-05/0.2214, allocations: 11.88 kB / 0.7201 GB, free: 15.28 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006196/0.2221, allocations: 130.6 kB / 0.7202 GB, free: 15.15 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002117/0.2223, allocations: 119.8 kB / 0.7203 GB, free: 15.04 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001038/0.2224, allocations: 15.98 kB / 0.7203 GB, free: 15.02 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 9.921e-05/0.2225, allocations: 43.91 kB / 0.7204 GB, free: 14.98 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001113/0.2226, allocations: 55.75 kB / 0.7204 GB, free: 14.92 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.109e-05/0.2226, allocations: 16 kB / 0.7205 GB, free: 14.91 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 7.154e-05/0.2227, allocations: 19.98 kB / 0.7205 GB, free: 14.89 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 3.123e-05/0.2227, allocations: 19.88 kB / 0.7205 GB, free: 14.87 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 7.741e-05/0.2228, allocations: 43.83 kB / 0.7205 GB, free: 14.82 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002109/0.223, allocations: 115.6 kB / 0.7206 GB, free: 14.71 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.223, allocations: 0 / 0.7206 GB, free: 14.71 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.704e-06/0.223, allocations: 0 / 0.7206 GB, free: 14.71 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.28e-05/0.223, allocations: 0 / 0.7206 GB, free: 14.71 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006634/0.2237, allocations: 343.8 kB / 0.721 GB, free: 14.34 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.2237, allocations: 8.625 kB / 0.721 GB, free: 14.33 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.057e-05/0.2238, allocations: 12.89 kB / 0.721 GB, free: 14.32 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001101/0.2239, allocations: 106.5 kB / 0.7211 GB, free: 14.19 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.852e-05/0.2239, allocations: 4.375 kB / 0.7211 GB, free: 14.18 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.317e-05/0.2239, allocations: 4.375 kB / 0.7211 GB, free: 14.18 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002185/0.2242, allocations: 70.16 kB / 0.7212 GB, free: 14.11 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.2242, allocations: 192 / 0.7212 GB, free: 14.11 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.614e-05/0.2242, allocations: 7.938 kB / 0.7212 GB, free: 14.1 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.123e-06/0.2242, allocations: 4 kB / 0.7212 GB, free: 14.09 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002033/0.2244, allocations: 43.95 kB / 0.7212 GB, free: 14.05 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005961/0.225, allocations: 315.7 kB / 0.7215 GB, free: 13.7 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002014/0.2252, allocations: 54.55 kB / 0.7216 GB, free: 13.64 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001122/0.2253, allocations: 36.95 kB / 0.7216 GB, free: 13.6 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.745e-05/0.2253, allocations: 0 / 0.7216 GB, free: 13.6 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002306/0.2256, allocations: 83.36 kB / 0.7217 GB, free: 13.5 MB / 0.545 GB Notification: Performance of pre-optimization done (n=8): time 1.653e-06/0.2256, allocations: 0 / 0.7217 GB, free: 13.5 MB / 0.545 GB Notification: Performance of matching and sorting (n=8): time 0.0005091/0.2261, allocations: 149.5 kB / 0.7218 GB, free: 13.35 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.861e-05/0.2261, allocations: 55.47 kB / 0.7219 GB, free: 13.29 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001186/0.2263, allocations: 125.8 kB / 0.722 GB, free: 13.15 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.739e-05/0.2263, allocations: 29.7 kB / 0.722 GB, free: 13.12 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.561e-05/0.2264, allocations: 88.14 kB / 0.7221 GB, free: 13.03 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.258e-05/0.2264, allocations: 11.91 kB / 0.7221 GB, free: 13.02 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.464e-05/0.2265, allocations: 45.62 kB / 0.7222 GB, free: 12.96 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001444/0.2266, allocations: 322.8 kB / 0.7225 GB, free: 12.64 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001796/0.2268, allocations: 59.95 kB / 0.7225 GB, free: 12.58 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001917/0.227, allocations: 84.25 kB / 0.7226 GB, free: 12.48 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003159/0.2273, allocations: 141.9 kB / 0.7228 GB, free: 12.32 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.2273, allocations: 0 / 0.7228 GB, free: 12.32 MB / 0.545 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005301/0.2278, allocations: 211.5 kB / 0.723 GB, free: 12.11 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 5.28e-05/0.2279, allocations: 37.81 kB / 0.723 GB, free: 12.06 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.2279, allocations: 4 kB / 0.723 GB, free: 12.06 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.416e-05/0.2279, allocations: 7.938 kB / 0.723 GB, free: 12.05 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001125/0.228, allocations: 15.92 kB / 0.723 GB, free: 12.04 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.055e-05/0.228, allocations: 3.984 kB / 0.723 GB, free: 12.03 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002316/0.2283, allocations: 39.86 kB / 0.7231 GB, free: 11.99 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.761e-05/0.2283, allocations: 11.98 kB / 0.7231 GB, free: 11.98 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,falEdg.not_u,$PRE.falEdg.not_u,falEdg.y,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.0001563/0.2285, allocations: 128 kB / 0.7232 GB, free: 11.85 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.918e-05/0.2285, allocations: 3.953 kB / 0.7232 GB, free: 11.84 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.386e-05/0.2285, allocations: 12.38 kB / 0.7232 GB, free: 11.83 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.978e-06/0.2285, allocations: 0 / 0.7232 GB, free: 11.83 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.618e-06/0.2285, allocations: 4.062 kB / 0.7232 GB, free: 11.82 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.2285, allocations: 0 / 0.7232 GB, free: 11.82 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006507/0.2292, allocations: 353.5 kB / 0.7236 GB, free: 11.43 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.287e-06/0.2292, allocations: 4 kB / 0.7236 GB, free: 11.43 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.253e-05/0.2293, allocations: 7.984 kB / 0.7236 GB, free: 11.42 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.26e-06/0.2293, allocations: 4 kB / 0.7236 GB, free: 11.41 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.137e-05/0.2293, allocations: 0 / 0.7236 GB, free: 11.41 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.295e-06/0.2293, allocations: 0 / 0.7236 GB, free: 11.41 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.037e-06/0.2293, allocations: 3.984 kB / 0.7236 GB, free: 11.41 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003494/0.2296, allocations: 219.3 kB / 0.7238 GB, free: 11.18 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.504e-05/0.2296, allocations: 11.94 kB / 0.7238 GB, free: 11.17 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.06e-05/0.2297, allocations: 0 / 0.7238 GB, free: 11.17 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.643e-05/0.2298, allocations: 4 kB / 0.7238 GB, free: 11.16 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.715e-05/0.2298, allocations: 19.86 kB / 0.7238 GB, free: 11.14 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.134e-05/0.2298, allocations: 4 kB / 0.7238 GB, free: 11.14 MB / 0.545 GB Notification: Performance of sorting global known variables: time 7.431e-05/0.2299, allocations: 95.75 kB / 0.7239 GB, free: 11.05 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.2299, allocations: 0 / 0.7239 GB, free: 11.05 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002893/0.2302, allocations: 20 kB / 0.7239 GB, free: 11.03 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 (falEdg.y,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,falEdg.not_u,triggeredSampler.y) * Number of discrete states: 1 (falEdg.not_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.0001933/0.2304, allocations: 111.2 kB / 0.724 GB, free: 10.91 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004626/0.2309, allocations: 163.3 kB / 0.7242 GB, free: 10.74 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.2309, allocations: 0 / 0.7242 GB, free: 10.74 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001301/0.231, allocations: 35.91 kB / 0.7242 GB, free: 10.7 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003116/0.2313, allocations: 16.25 kB / 0.7242 GB, free: 10.69 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004684/0.2318, allocations: 161.8 kB / 0.7244 GB, free: 10.5 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003319/0.2321, allocations: 0.6923 MB / 0.7251 GB, free: 9.785 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.634e-05/0.2321, allocations: 7.984 kB / 0.7251 GB, free: 9.777 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.548e-05/0.2322, allocations: 11.44 kB / 0.7251 GB, free: 9.766 MB / 0.545 GB Notification: Performance of SimCode: time 7.71e-07/0.2322, allocations: 0 / 0.7251 GB, free: 9.766 MB / 0.545 GB Notification: Performance of Templates: time 0.0052/0.2374, allocations: 1.492 MB / 0.7265 GB, free: 8.289 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.FallingEdge.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.FallingEdge.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.FallingEdge -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.082949144765735] Failed to read output from testmodel.py, exit status != 0: 0.24700515251606703 0.267124312 0.040082034 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f88d193d7b0>