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.0009415/0.0009415, allocations: 80.94 kB / 20.72 MB, free: 3.758 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.00099/0.00099, allocations: 169 kB / 24.14 MB, free: 348 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 1.007/1.007, allocations: 177.1 MB / 204.6 MB, free: 5.023 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.6128/0.6128, allocations: 115 MB / 376 MB, free: 7.391 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.253e-06/1.253e-06, allocations: 0 / 428.8 MB, free: 2.73 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.997e-06/1.025e-05, allocations: 6.312 kB / 428.8 MB, free: 2.723 MB / 394.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Validation.Edge): time 0.001237/0.001248, allocations: 0.795 MB / 429.6 MB, free: 1.926 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.001323/0.002571, allocations: 1.189 MB / 430.8 MB, free: 0.7227 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.798e-05/0.002609, allocations: 0 / 430.8 MB, free: 0.7227 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 2.26e-05/0.002631, allocations: 3.938 kB / 430.8 MB, free: 0.7188 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 6.262e-05/0.002694, allocations: 11.88 kB / 430.8 MB, free: 0.707 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003252/0.003019, allocations: 131.5 kB / 430.9 MB, free: 0.5781 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001213/0.00314, allocations: 123.8 kB / 431 MB, free: 468 kB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.57e-05/0.003206, allocations: 11.98 kB / 431 MB, free: 456 kB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.232e-05/0.003298, allocations: 63.89 kB / 431.1 MB, free: 392 kB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.976e-05/0.003368, allocations: 39.92 kB / 431.1 MB, free: 352 kB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.705e-05/0.003385, allocations: 8 kB / 431.1 MB, free: 344 kB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.096e-05/0.003446, allocations: 23.98 kB / 431.2 MB, free: 320 kB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 1.503e-05/0.003461, allocations: 7.938 kB / 431.2 MB, free: 312 kB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 3.676e-05/0.003498, allocations: 35.95 kB / 431.2 MB, free: 276 kB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001248/0.003623, allocations: 99.69 kB / 431.3 MB, free: 176 kB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.673e-06/0.003624, allocations: 0 / 431.3 MB, free: 176 kB / 394.7 MB Notification: Performance of FrontEnd: time 5.11e-07/0.003625, allocations: 4 kB / 431.3 MB, free: 172 kB / 394.7 MB Notification: Performance of Transformations before backend: time 2.736e-06/0.003628, allocations: 0 / 431.3 MB, free: 172 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.0003144/0.003942, allocations: 302.4 kB / 431.6 MB, free: 15.84 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.982e-05/0.003972, allocations: 12.03 kB / 431.6 MB, free: 15.83 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.941e-05/0.004001, allocations: 8.922 kB / 431.6 MB, free: 15.82 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.861e-05/0.00407, allocations: 125.6 kB / 431.7 MB, free: 15.67 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.546e-06/0.004078, allocations: 4.375 kB / 431.8 MB, free: 15.67 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.303e-05/0.004092, allocations: 8.312 kB / 431.8 MB, free: 15.66 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.86e-05/0.00418, allocations: 70.86 kB / 431.8 MB, free: 15.58 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.039e-06/0.004185, allocations: 192 / 431.8 MB, free: 15.58 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.362e-06/0.004192, allocations: 4.375 kB / 431.8 MB, free: 15.58 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.406e-06/0.004195, allocations: 384 / 431.8 MB, free: 15.58 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.182e-05/0.004217, allocations: 11.94 kB / 431.8 MB, free: 15.57 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002185/0.004435, allocations: 176.2 kB / 432 MB, free: 15.38 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.666e-05/0.004502, allocations: 38.56 kB / 432.1 MB, free: 15.33 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.845e-05/0.00452, allocations: 8.859 kB / 432.1 MB, free: 15.32 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.69e-06/0.004526, allocations: 4 kB / 432.1 MB, free: 15.32 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.702e-05/0.004603, allocations: 75.55 kB / 432.1 MB, free: 15.23 MB / 410.7 MB Notification: Performance of pre-optimization done (n=8): time 8.92e-07/0.004604, allocations: 4 kB / 432.1 MB, free: 15.23 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001012/0.004705, allocations: 69.55 kB / 432.2 MB, free: 15.15 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.46e-05/0.00473, allocations: 55.41 kB / 432.3 MB, free: 15.09 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.273e-05/0.004782, allocations: 122.6 kB / 432.4 MB, free: 14.95 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.854e-05/0.004801, allocations: 33.7 kB / 432.4 MB, free: 14.91 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.213e-05/0.004833, allocations: 92.11 kB / 432.5 MB, free: 14.82 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.575e-05/0.004849, allocations: 7.906 kB / 432.5 MB, free: 14.81 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.403e-05/0.004893, allocations: 41.69 kB / 432.6 MB, free: 14.77 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.583e-05/0.004959, allocations: 318.8 kB / 432.9 MB, free: 14.45 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.412e-05/0.005003, allocations: 49.69 kB / 432.9 MB, free: 14.39 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.507e-05/0.005058, allocations: 97.95 kB / 433 MB, free: 14.27 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.189e-05/0.00514, allocations: 98.14 kB / 433.1 MB, free: 14.16 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.542e-06/0.005141, allocations: 0 / 433.1 MB, free: 14.16 MB / 410.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001312/0.005273, allocations: 173 kB / 433.3 MB, free: 13.97 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.265e-05/0.005295, allocations: 33.7 kB / 433.3 MB, free: 13.93 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/0.0053, allocations: 3.938 kB / 433.3 MB, free: 13.93 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.846e-06/0.005309, allocations: 8.125 kB / 433.3 MB, free: 13.92 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.418e-05/0.005363, allocations: 19.92 kB / 433.3 MB, free: 13.9 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.565e-06/0.005365, allocations: 3.938 kB / 433.3 MB, free: 13.89 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.454e-05/0.00544, allocations: 27.88 kB / 433.4 MB, free: 13.87 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.413e-05/0.005454, allocations: 7.984 kB / 433.4 MB, free: 13.86 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 5.481e-05/0.005509, allocations: 117.8 kB / 433.5 MB, free: 13.73 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.317e-06/0.005518, allocations: 7.984 kB / 433.5 MB, free: 13.73 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.08e-05/0.005539, allocations: 16.44 kB / 433.5 MB, free: 13.71 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.005541, allocations: 8 kB / 433.5 MB, free: 13.7 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.613e-06/0.005543, allocations: 3.938 kB / 433.5 MB, free: 13.7 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.756e-06/0.005545, allocations: 0 / 433.5 MB, free: 13.7 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001518/0.005697, allocations: 218.8 kB / 433.7 MB, free: 13.46 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.005698, allocations: 0 / 433.7 MB, free: 13.46 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.943e-05/0.005718, allocations: 4 kB / 433.8 MB, free: 13.46 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.00572, allocations: 7.938 kB / 433.8 MB, free: 13.45 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.809e-06/0.005725, allocations: 3.938 kB / 433.8 MB, free: 13.45 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.51e-07/0.005726, allocations: 0 / 433.8 MB, free: 13.45 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.005728, allocations: 3.984 kB / 433.8 MB, free: 13.44 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.642e-05/0.005805, allocations: 155.5 kB / 433.9 MB, free: 13.27 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.135e-06/0.005813, allocations: 11.94 kB / 433.9 MB, free: 13.26 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.266e-05/0.005825, allocations: 3.938 kB / 433.9 MB, free: 13.26 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.37e-05/0.005859, allocations: 4 kB / 433.9 MB, free: 13.25 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.491e-05/0.005884, allocations: 3.984 kB / 433.9 MB, free: 13.25 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.43e-06/0.005889, allocations: 8 kB / 434 MB, free: 13.24 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.54e-05/0.005905, allocations: 20.83 kB / 434 MB, free: 13.22 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005905, allocations: 0 / 434 MB, free: 13.22 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001455/0.00605, allocations: 20 kB / 434 MB, free: 13.2 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 7.523e-05/0.006126, allocations: 96.28 kB / 434.1 MB, free: 13.1 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001271/0.006253, allocations: 149.9 kB / 434.2 MB, free: 12.93 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.006255, allocations: 0 / 434.2 MB, free: 12.93 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 2.69e-05/0.006282, allocations: 20.84 kB / 434.3 MB, free: 12.91 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001306/0.006412, allocations: 15.98 kB / 434.3 MB, free: 12.89 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002114/0.006624, allocations: 165 kB / 434.4 MB, free: 12.7 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.982e-05/0.006654, allocations: 63.55 kB / 434.5 MB, free: 12.62 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 2.124e-05/0.006675, allocations: 7.984 kB / 434.5 MB, free: 12.61 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.928e-05/0.006744, allocations: 67.36 kB / 434.6 MB, free: 12.54 MB / 410.7 MB Notification: Performance of SimCode: time 7.22e-07/0.006745, allocations: 0 / 434.6 MB, free: 12.54 MB / 410.7 MB Notification: Performance of Templates: time 0.002809/0.009553, allocations: 1.676 MB / 436.2 MB, free: 10.88 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Edge.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.4243055037222803]