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.0009474/0.0009474, allocations: 72.83 kB / 20.72 MB, free: 3.77 MB / 18.57 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.0009789/0.0009789, allocations: 169 kB / 24.14 MB, free: 356 kB / 18.57 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 0.9612/0.9612, allocations: 177.1 MB / 204.6 MB, free: 5.086 MB / 186.7 MB " [Timeout remaining time 179] 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 0.6247/0.6247, allocations: 115 MB / 376 MB, free: 7.434 MB / 346.7 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: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 428.7 MB, free: 2.82 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.203e-05/1.371e-05, allocations: 2.312 kB / 428.7 MB, free: 2.816 MB / 394.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Validation.Edge): time 0.001173/0.001187, allocations: 0.7517 MB / 429.5 MB, free: 2.062 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.001065/0.002252, allocations: 1.186 MB / 430.7 MB, free: 0.8633 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.841e-05/0.00229, allocations: 0 / 430.7 MB, free: 0.8633 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 2.389e-05/0.002314, allocations: 3.938 kB / 430.7 MB, free: 0.8594 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 6.691e-05/0.002381, allocations: 23.84 kB / 430.7 MB, free: 0.8359 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003412/0.002722, allocations: 127.6 kB / 430.8 MB, free: 0.7109 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001266/0.002849, allocations: 119.7 kB / 430.9 MB, free: 0.5938 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.195e-05/0.002911, allocations: 7.984 kB / 430.9 MB, free: 0.5859 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.27e-05/0.003004, allocations: 71.88 kB / 431 MB, free: 0.5156 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.816e-05/0.003072, allocations: 35.89 kB / 431 MB, free: 492 kB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.899e-05/0.003091, allocations: 12 kB / 431 MB, free: 480 kB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.059e-05/0.003141, allocations: 23.98 kB / 431.1 MB, free: 456 kB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 2.082e-05/0.003162, allocations: 11.97 kB / 431.1 MB, free: 444 kB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 3.467e-05/0.003197, allocations: 31.92 kB / 431.1 MB, free: 412 kB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001188/0.003316, allocations: 99.67 kB / 431.2 MB, free: 312 kB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.774e-06/0.003317, allocations: 0 / 431.2 MB, free: 312 kB / 394.7 MB Notification: Performance of FrontEnd: time 5.81e-07/0.003318, allocations: 0 / 431.2 MB, free: 312 kB / 394.7 MB Notification: Performance of Transformations before backend: time 2.745e-06/0.003321, allocations: 0 / 431.2 MB, free: 312 kB / 394.7 MB 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.000335/0.003656, allocations: 302.4 kB / 431.5 MB, free: 15.98 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.508e-05/0.003691, allocations: 16.03 kB / 431.5 MB, free: 15.96 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.961e-05/0.00372, allocations: 8.922 kB / 431.5 MB, free: 15.95 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.424e-05/0.003795, allocations: 121.6 kB / 431.7 MB, free: 15.81 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.224e-05/0.003807, allocations: 12.36 kB / 431.7 MB, free: 15.8 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.436e-05/0.003821, allocations: 4.375 kB / 431.7 MB, free: 15.79 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.685e-05/0.003908, allocations: 58.94 kB / 431.7 MB, free: 15.73 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.921e-06/0.003914, allocations: 192 / 431.7 MB, free: 15.73 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.835e-06/0.003922, allocations: 4.375 kB / 431.7 MB, free: 15.72 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.058e-06/0.003926, allocations: 384 / 431.7 MB, free: 15.72 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.256e-05/0.003948, allocations: 15.92 kB / 431.7 MB, free: 15.71 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002228/0.004171, allocations: 180.2 kB / 431.9 MB, free: 15.52 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.017e-05/0.004241, allocations: 38.62 kB / 432 MB, free: 15.47 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.634e-05/0.004258, allocations: 8.859 kB / 432 MB, free: 15.46 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.983e-06/0.004265, allocations: 4 kB / 432 MB, free: 15.45 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.84e-05/0.004333, allocations: 67.5 kB / 432 MB, free: 15.38 MB / 410.7 MB Notification: Performance of pre-optimization done (n=8): time 7.61e-07/0.004334, allocations: 0 / 432 MB, free: 15.38 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001077/0.004442, allocations: 73.77 kB / 432.1 MB, free: 15.3 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.199e-05/0.004474, allocations: 55.41 kB / 432.2 MB, free: 15.23 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.738e-05/0.004531, allocations: 130.6 kB / 432.3 MB, free: 15.09 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.248e-05/0.004553, allocations: 29.7 kB / 432.3 MB, free: 15.05 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.981e-05/0.004583, allocations: 92.06 kB / 432.4 MB, free: 14.96 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.626e-05/0.0046, allocations: 19.88 kB / 432.4 MB, free: 14.94 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.768e-05/0.004647, allocations: 37.69 kB / 432.5 MB, free: 14.9 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.192e-05/0.004719, allocations: 318.8 kB / 432.8 MB, free: 14.58 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.695e-05/0.004766, allocations: 53.69 kB / 432.8 MB, free: 14.52 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.256e-05/0.004819, allocations: 81.92 kB / 432.9 MB, free: 14.42 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.54e-05/0.004894, allocations: 113.9 kB / 433 MB, free: 14.29 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.004896, allocations: 0 / 433 MB, free: 14.29 MB / 410.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001259/0.005022, allocations: 161 kB / 433.2 MB, free: 14.11 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.5e-05/0.005047, allocations: 45.62 kB / 433.2 MB, free: 14.06 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.005051, allocations: 3.938 kB / 433.2 MB, free: 14.05 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.979e-06/0.005061, allocations: 4 kB / 433.2 MB, free: 14.05 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.995e-05/0.005111, allocations: 8 kB / 433.2 MB, free: 14.04 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.595e-06/0.005114, allocations: 0 / 433.2 MB, free: 14.04 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.754e-05/0.005191, allocations: 40.05 kB / 433.3 MB, free: 14 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.238e-05/0.005204, allocations: 8 kB / 433.3 MB, free: 14 MB / 410.7 MB 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 6.109e-05/0.005265, allocations: 125.8 kB / 433.4 MB, free: 13.86 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.195e-06/0.005273, allocations: 4 kB / 433.4 MB, free: 13.86 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.043e-05/0.005293, allocations: 12.38 kB / 433.4 MB, free: 13.85 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.005296, allocations: 4 kB / 433.4 MB, free: 13.84 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.893e-06/0.005298, allocations: 0 / 433.4 MB, free: 13.84 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/0.005303, allocations: 3.984 kB / 433.4 MB, free: 13.84 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001538/0.005457, allocations: 214.8 kB / 433.6 MB, free: 13.61 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.005458, allocations: 0 / 433.6 MB, free: 13.61 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.094e-05/0.005479, allocations: 15.91 kB / 433.7 MB, free: 13.59 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.005481, allocations: 3.938 kB / 433.7 MB, free: 13.59 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.229e-06/0.005486, allocations: 4 kB / 433.7 MB, free: 13.58 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.005488, allocations: 4 kB / 433.7 MB, free: 13.58 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5e-07/0.005489, allocations: 0 / 433.7 MB, free: 13.58 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.821e-05/0.005567, allocations: 151.5 kB / 433.8 MB, free: 13.41 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.633e-06/0.005574, allocations: 3.953 kB / 433.8 MB, free: 13.41 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.391e-05/0.005588, allocations: 11.88 kB / 433.8 MB, free: 13.4 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.665e-05/0.005624, allocations: 11.98 kB / 433.8 MB, free: 13.39 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.485e-05/0.005649, allocations: 7.984 kB / 433.9 MB, free: 13.38 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.477e-06/0.005653, allocations: 0 / 433.9 MB, free: 13.38 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.23e-05/0.005665, allocations: 12.86 kB / 433.9 MB, free: 13.36 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.005665, allocations: 0 / 433.9 MB, free: 13.36 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001489/0.005814, allocations: 31.98 kB / 433.9 MB, free: 13.33 MB / 410.7 MB 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 8.189e-05/0.005896, allocations: 88.28 kB / 434 MB, free: 13.24 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001371/0.006033, allocations: 153.9 kB / 434.1 MB, free: 13.07 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.006035, allocations: 4.25 kB / 434.1 MB, free: 13.06 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 2.624e-05/0.006061, allocations: 16.86 kB / 434.2 MB, free: 13.04 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001339/0.006195, allocations: 15.98 kB / 434.2 MB, free: 13.03 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002223/0.006417, allocations: 164.9 kB / 434.3 MB, free: 12.84 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.014e-05/0.006447, allocations: 59.34 kB / 434.4 MB, free: 12.76 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 1.861e-05/0.006466, allocations: 4 kB / 434.4 MB, free: 12.75 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.632e-05/0.006542, allocations: 71.36 kB / 434.5 MB, free: 12.68 MB / 410.7 MB Notification: Performance of SimCode: time 6.82e-07/0.006543, allocations: 0 / 434.5 MB, free: 12.68 MB / 410.7 MB Notification: Performance of Templates: time 0.00278/0.009323, allocations: 1.68 MB / 436.1 MB, free: 11.02 MB / 410.7 MB " [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=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Edge.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.4732300438918173]