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.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.00155/0.00155, allocations: 112 kB / 17.12 MB, free: 6.008 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.001751/0.001751, allocations: 212.3 kB / 20.09 MB, free: 3.055 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.499/1.499, allocations: 230.6 MB / 253.5 MB, free: 15.13 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 1.001/1.001, allocations: 150 MB / 459.5 MB, free: 5.363 MB / 350.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.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: 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.002025/0.002025, allocations: 72.55 kB / 0.6366 GB, free: 30.21 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1987/0.2007, allocations: 89.13 MB / 0.7236 GB, free: 3.594 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Validation.Edge): time 0.002257/0.203, allocations: 0.7243 MB / 0.7243 GB, free: 2.867 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001865/0.2049, allocations: 1.188 MB / 0.7255 GB, free: 1.668 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.833e-05/0.2049, allocations: 0 / 0.7255 GB, free: 1.668 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.798e-05/0.205, allocations: 11.88 kB / 0.7255 GB, free: 1.656 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 8.08e-05/0.205, allocations: 11.92 kB / 0.7255 GB, free: 1.645 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005531/0.2056, allocations: 142 kB / 0.7257 GB, free: 1.508 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002182/0.2058, allocations: 115.8 kB / 0.7258 GB, free: 1.395 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001101/0.2059, allocations: 8 kB / 0.7258 GB, free: 1.387 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001118/0.206, allocations: 51.89 kB / 0.7258 GB, free: 1.336 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001155/0.2061, allocations: 47.81 kB / 0.7259 GB, free: 1.289 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.903e-05/0.2062, allocations: 12 kB / 0.7259 GB, free: 1.277 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 7.463e-05/0.2062, allocations: 27.98 kB / 0.7259 GB, free: 1.25 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.659e-05/0.2063, allocations: 11.98 kB / 0.7259 GB, free: 1.238 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 7.28e-05/0.2063, allocations: 39.84 kB / 0.726 GB, free: 1.199 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002071/0.2066, allocations: 111.6 kB / 0.7261 GB, free: 1.09 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.2066, allocations: 0 / 0.7261 GB, free: 1.09 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.693e-06/0.2066, allocations: 0 / 0.7261 GB, free: 1.09 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 7.213e-06/0.2066, allocations: 0 / 0.7261 GB, free: 1.09 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007273/0.2073, allocations: 414.6 kB / 0.7265 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.582e-05/0.2073, allocations: 12.03 kB / 0.7265 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.161e-05/0.2074, allocations: 12.89 kB / 0.7265 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001402/0.2075, allocations: 176.2 kB / 0.7266 GB, free: 404 kB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.955e-05/0.2076, allocations: 8.375 kB / 0.7267 GB, free: 396 kB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.38e-05/0.2076, allocations: 4.375 kB / 0.7267 GB, free: 392 kB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002071/0.2078, allocations: 78.14 kB / 0.7267 GB, free: 308 kB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.2078, allocations: 192 / 0.7267 GB, free: 308 kB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.334e-05/0.2078, allocations: 3.938 kB / 0.7267 GB, free: 304 kB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.2078, allocations: 0 / 0.7267 GB, free: 304 kB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000197/0.208, allocations: 47.94 kB / 0.7268 GB, free: 256 kB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005242/0.2085, allocations: 328.7 kB / 0.7271 GB, free: 15.88 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001895/0.2087, allocations: 58.55 kB / 0.7272 GB, free: 15.81 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000111/0.2088, allocations: 32.97 kB / 0.7272 GB, free: 15.78 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.36e-05/0.2088, allocations: 0 / 0.7272 GB, free: 15.78 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002528/0.2091, allocations: 91.25 kB / 0.7273 GB, free: 15.68 MB / 0.545 GB Notification: Performance of pre-optimization done (n=8): time 1.313e-06/0.2091, allocations: 0 / 0.7273 GB, free: 15.68 MB / 0.545 GB Notification: Performance of matching and sorting (n=8): time 0.0004598/0.2096, allocations: 145.9 kB / 0.7274 GB, free: 15.53 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.985e-05/0.2096, allocations: 55.41 kB / 0.7275 GB, free: 15.46 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001048/0.2097, allocations: 121.8 kB / 0.7276 GB, free: 15.33 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.725e-05/0.2097, allocations: 25.7 kB / 0.7276 GB, free: 15.3 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.179e-05/0.2098, allocations: 92.12 kB / 0.7277 GB, free: 15.21 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.183e-05/0.2098, allocations: 15.91 kB / 0.7277 GB, free: 15.19 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.612e-05/0.2099, allocations: 37.7 kB / 0.7277 GB, free: 15.15 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001375/0.2101, allocations: 318.8 kB / 0.728 GB, free: 14.83 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001716/0.2102, allocations: 63.83 kB / 0.7281 GB, free: 14.77 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000181/0.2104, allocations: 84.25 kB / 0.7282 GB, free: 14.67 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000306/0.2107, allocations: 149.9 kB / 0.7283 GB, free: 14.5 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.2107, allocations: 0 / 0.7283 GB, free: 14.5 MB / 0.545 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004733/0.2112, allocations: 215.1 kB / 0.7285 GB, free: 14.28 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 4.696e-05/0.2112, allocations: 39.42 kB / 0.7286 GB, free: 14.23 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.2112, allocations: 0 / 0.7286 GB, free: 14.23 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.66e-05/0.2113, allocations: 8.125 kB / 0.7286 GB, free: 14.23 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.489e-05/0.2113, allocations: 11.98 kB / 0.7286 GB, free: 14.21 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.662e-06/0.2114, allocations: 3.938 kB / 0.7286 GB, free: 14.21 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002098/0.2116, allocations: 39.84 kB / 0.7286 GB, free: 14.17 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.606e-05/0.2116, allocations: 12 kB / 0.7286 GB, free: 14.16 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.0001055/0.2117, allocations: 129.7 kB / 0.7288 GB, free: 14.02 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.4e-05/0.2117, allocations: 7.953 kB / 0.7288 GB, free: 14.02 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.295e-05/0.2117, allocations: 12.38 kB / 0.7288 GB, free: 14 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.2117, allocations: 0 / 0.7288 GB, free: 14 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.2117, allocations: 0 / 0.7288 GB, free: 14 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.2118, allocations: 0 / 0.7288 GB, free: 14 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00049/0.2122, allocations: 370.5 kB / 0.7291 GB, free: 13.58 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.2122, allocations: 0 / 0.7291 GB, free: 13.58 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.805e-05/0.2123, allocations: 19.92 kB / 0.7292 GB, free: 13.56 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.2123, allocations: 0 / 0.7292 GB, free: 13.56 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.566e-06/0.2123, allocations: 0 / 0.7292 GB, free: 13.56 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.2123, allocations: 0 / 0.7292 GB, free: 13.56 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.2123, allocations: 4.062 kB / 0.7292 GB, free: 13.55 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003181/0.2126, allocations: 211.4 kB / 0.7294 GB, free: 13.33 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.698e-05/0.2127, allocations: 81.06 kB / 0.7294 GB, free: 13.23 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.833e-05/0.2127, allocations: 8 kB / 0.7295 GB, free: 13.23 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.538e-05/0.2128, allocations: 7.984 kB / 0.7295 GB, free: 13.22 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.009e-05/0.2128, allocations: 11.98 kB / 0.7295 GB, free: 13.21 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.276e-06/0.2128, allocations: 3.938 kB / 0.7295 GB, free: 13.2 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.472e-05/0.2129, allocations: 91.27 kB / 0.7296 GB, free: 13.11 MB / 0.545 GB Notification: Performance of sort global known variables: time 6e-08/0.2129, allocations: 0 / 0.7296 GB, free: 13.11 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002615/0.2132, allocations: 27.94 kB / 0.7296 GB, free: 13.09 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.00017/0.2133, allocations: 109.9 kB / 0.7297 GB, free: 12.97 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004002/0.2137, allocations: 163.3 kB / 0.7298 GB, free: 12.8 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.2137, allocations: 0 / 0.7298 GB, free: 12.8 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001317/0.2139, allocations: 43.95 kB / 0.7299 GB, free: 12.76 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002703/0.2141, allocations: 12.17 kB / 0.7299 GB, free: 12.75 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003997/0.2145, allocations: 166.5 kB / 0.7301 GB, free: 12.55 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003171/0.2148, allocations: 0.6923 MB / 0.7307 GB, free: 11.84 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.959e-05/0.2149, allocations: 4 kB / 0.7307 GB, free: 11.83 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.868e-05/0.2149, allocations: 11.44 kB / 0.7308 GB, free: 11.82 MB / 0.545 GB Notification: Performance of SimCode: time 2.81e-07/0.2149, allocations: 0 / 0.7308 GB, free: 11.82 MB / 0.545 GB Notification: Performance of Templates: time 0.004509/0.2194, allocations: 1.465 MB / 0.7322 GB, free: 10.37 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.2759159239940345] Failed to read output from testmodel.py, exit status != 0: 0.22662852588109672 0.239661229 0.030470141000000003 Calling exit ...