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.001644/0.001644, allocations: 117.9 kB / 19.7 MB, free: 2.188 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.00169/0.00169, allocations: 219 kB / 23 MB, free: 5.004 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.538/1.538, allocations: 230.6 MB / 256.8 MB, free: 7.984 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.073/1.073, allocations: 150 MB / 463.1 MB, free: 10.51 MB / 366.1 MB " [Timeout remaining time 178] 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.00212/0.00212, allocations: 76.52 kB / 0.6418 GB, free: 9.887 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2005/0.2027, allocations: 89.16 MB / 0.7288 GB, free: 0.7969 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Validation.Edge): time 0.002001/0.2047, allocations: 0.74 MB / 0.7295 GB, free: 56 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001624/0.2063, allocations: 1.178 MB / 0.7307 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.812e-05/0.2063, allocations: 3.938 kB / 0.7307 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.324e-05/0.2064, allocations: 3.938 kB / 0.7307 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 7.191e-05/0.2064, allocations: 7.938 kB / 0.7307 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005274/0.207, allocations: 143.5 kB / 0.7308 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.000204/0.2072, allocations: 119.8 kB / 0.731 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 9.572e-05/0.2073, allocations: 11.98 kB / 0.731 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001036/0.2074, allocations: 55.83 kB / 0.731 GB, free: 14.53 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001109/0.2075, allocations: 43.83 kB / 0.7311 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.5e-05/0.2075, allocations: 8 kB / 0.7311 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 7.534e-05/0.2076, allocations: 27.98 kB / 0.7311 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.456e-05/0.2076, allocations: 7.984 kB / 0.7311 GB, free: 14.44 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 6.797e-05/0.2077, allocations: 43.84 kB / 0.7311 GB, free: 14.4 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001931/0.2079, allocations: 115.6 kB / 0.7313 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.2079, allocations: 0 / 0.7313 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.693e-06/0.2079, allocations: 0 / 0.7313 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.701e-06/0.2079, allocations: 0 / 0.7313 GB, free: 14.29 MB / 0.5606 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.0006125/0.2085, allocations: 335.8 kB / 0.7316 GB, free: 13.92 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.708e-05/0.2085, allocations: 11.97 kB / 0.7316 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.172e-05/0.2086, allocations: 16.88 kB / 0.7316 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000117/0.2087, allocations: 120 kB / 0.7317 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.165e-05/0.2087, allocations: 12.38 kB / 0.7317 GB, free: 13.74 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.809e-05/0.2087, allocations: 4.375 kB / 0.7317 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002001/0.2089, allocations: 70.2 kB / 0.7318 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.687e-06/0.209, allocations: 192 / 0.7318 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.248e-05/0.209, allocations: 3.938 kB / 0.7318 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.326e-06/0.209, allocations: 0 / 0.7318 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001771/0.2092, allocations: 39.95 kB / 0.7318 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005107/0.2097, allocations: 299.8 kB / 0.7321 GB, free: 13.28 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002039/0.2099, allocations: 62.53 kB / 0.7322 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001113/0.21, allocations: 32.95 kB / 0.7322 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.389e-05/0.21, allocations: 0 / 0.7322 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002666/0.2103, allocations: 99.19 kB / 0.7323 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=8): time 1.323e-06/0.2103, allocations: 0 / 0.7323 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of matching and sorting (n=8): time 0.0004621/0.2107, allocations: 141.7 kB / 0.7325 GB, free: 12.92 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.736e-05/0.2108, allocations: 51.41 kB / 0.7325 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001137/0.2109, allocations: 129.8 kB / 0.7326 GB, free: 12.72 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.189e-05/0.2109, allocations: 29.7 kB / 0.7327 GB, free: 12.69 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.821e-05/0.211, allocations: 88.14 kB / 0.7327 GB, free: 12.6 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.279e-05/0.211, allocations: 15.89 kB / 0.7328 GB, free: 12.58 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.381e-05/0.2111, allocations: 37.7 kB / 0.7328 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001434/0.2112, allocations: 322.8 kB / 0.7331 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001669/0.2114, allocations: 47.97 kB / 0.7331 GB, free: 12.17 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001854/0.2116, allocations: 88.19 kB / 0.7332 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003156/0.2119, allocations: 145.8 kB / 0.7334 GB, free: 11.9 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.2119, allocations: 0 / 0.7334 GB, free: 11.9 MB / 0.5606 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0006965/0.2126, allocations: 215.5 kB / 0.7336 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 6.052e-05/0.2127, allocations: 41.69 kB / 0.7336 GB, free: 11.63 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.2127, allocations: 0 / 0.7336 GB, free: 11.63 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.247e-05/0.2127, allocations: 7.938 kB / 0.7336 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001065/0.2128, allocations: 11.98 kB / 0.7336 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.202e-06/0.2128, allocations: 4.125 kB / 0.7336 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002201/0.213, allocations: 35.86 kB / 0.7337 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.102e-05/0.213, allocations: 15.98 kB / 0.7337 GB, free: 11.56 MB / 0.5606 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.0001139/0.2132, allocations: 121.8 kB / 0.7338 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.463e-05/0.2132, allocations: 7.891 kB / 0.7338 GB, free: 11.42 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.975e-05/0.2132, allocations: 12.38 kB / 0.7338 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.2132, allocations: 4 kB / 0.7338 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.2132, allocations: 0 / 0.7338 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.675e-06/0.2132, allocations: 3.984 kB / 0.7338 GB, free: 11.4 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000509/0.2137, allocations: 349.4 kB / 0.7342 GB, free: 11.01 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.2137, allocations: 0 / 0.7342 GB, free: 11.01 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.196e-05/0.2138, allocations: 15.98 kB / 0.7342 GB, free: 11 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.2138, allocations: 0 / 0.7342 GB, free: 11 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.134e-05/0.2138, allocations: 4 kB / 0.7342 GB, free: 10.99 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.2138, allocations: 4 kB / 0.7342 GB, free: 10.99 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.2138, allocations: 0 / 0.7342 GB, free: 10.99 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003234/0.2141, allocations: 211.4 kB / 0.7344 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.725e-05/0.2141, allocations: 11.94 kB / 0.7344 GB, free: 10.75 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.941e-05/0.2142, allocations: 0 / 0.7344 GB, free: 10.75 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.775e-05/0.2143, allocations: 4 kB / 0.7344 GB, free: 10.75 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.183e-05/0.2143, allocations: 15.98 kB / 0.7344 GB, free: 10.73 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.618e-06/0.2143, allocations: 3.938 kB / 0.7344 GB, free: 10.73 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 6.187e-05/0.2144, allocations: 97.23 kB / 0.7345 GB, free: 10.64 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.2144, allocations: 0 / 0.7345 GB, free: 10.64 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002667/0.2146, allocations: 27.94 kB / 0.7345 GB, free: 10.61 MB / 0.5606 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.0001588/0.2148, allocations: 107.2 kB / 0.7346 GB, free: 10.5 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004037/0.2152, allocations: 163.3 kB / 0.7348 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.2152, allocations: 0 / 0.7348 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001291/0.2153, allocations: 39.95 kB / 0.7348 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002828/0.2156, allocations: 10.95 kB / 0.7348 GB, free: 10.28 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003809/0.216, allocations: 155 kB / 0.735 GB, free: 10.09 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003191/0.2163, allocations: 0.6924 MB / 0.7357 GB, free: 9.375 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.032e-05/0.2164, allocations: 4 kB / 0.7357 GB, free: 9.371 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.225e-05/0.2164, allocations: 23.36 kB / 0.7357 GB, free: 9.348 MB / 0.5606 GB Notification: Performance of SimCode: time 3.91e-07/0.2164, allocations: 0 / 0.7357 GB, free: 9.348 MB / 0.5606 GB Notification: Performance of Templates: time 0.004506/0.2209, allocations: 1.468 MB / 0.7371 GB, free: 7.895 MB / 0.5606 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.091314171906561] Failed to read output from testmodel.py, exit status != 0: 0.22934376588091254 0.24374025900000001 0.032812274 Calling exit ...