Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.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.001002/0.001002, allocations: 73.97 kB / 20.65 MB, free: 3.844 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.001837/0.001837, allocations: 169.4 kB / 24.05 MB, free: 456 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.9593/0.9593, allocations: 177.1 MB / 204.5 MB, free: 5.48 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.621/0.621, allocations: 115 MB / 376 MB, free: 7.52 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.Discrete.Validation.TriggeredMax,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredMax") translateModel(IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredMax,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredMax") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.774e-06/1.774e-06, allocations: 0 / 481.9 MB, free: 11.66 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.456e-05/1.633e-05, allocations: 6.688 kB / 482 MB, free: 11.66 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredMax): time 0.001526/0.001543, allocations: 0.7104 MB / 482.7 MB, free: 11.24 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00124/0.002782, allocations: 1.249 MB / 483.9 MB, free: 10.36 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.122e-05/0.002834, allocations: 3.781 kB / 483.9 MB, free: 10.36 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 2.707e-05/0.002861, allocations: 3.938 kB / 483.9 MB, free: 10.36 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 7.085e-05/0.002932, allocations: 16.11 kB / 483.9 MB, free: 10.34 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004127/0.003344, allocations: 140.9 kB / 484.1 MB, free: 10.27 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001393/0.003484, allocations: 116.7 kB / 484.2 MB, free: 10.22 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.501e-05/0.003569, allocations: 12.61 kB / 484.2 MB, free: 10.21 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001097/0.003678, allocations: 65.11 kB / 484.3 MB, free: 10.19 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.431e-05/0.003753, allocations: 36.25 kB / 484.3 MB, free: 10.18 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.316e-05/0.003776, allocations: 10.09 kB / 484.3 MB, free: 10.18 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.421e-05/0.00384, allocations: 25.86 kB / 484.3 MB, free: 10.17 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.205e-05/0.003862, allocations: 19.05 kB / 484.4 MB, free: 10.16 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.816e-05/0.0039, allocations: 29.94 kB / 484.4 MB, free: 10.15 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000148/0.004048, allocations: 108.4 kB / 484.5 MB, free: 10.1 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.625e-06/0.004051, allocations: 0.5625 kB / 484.5 MB, free: 10.1 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.004052, allocations: 0 / 484.5 MB, free: 10.1 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.657e-06/0.004056, allocations: 1.25 kB / 484.5 MB, free: 10.1 MB / 410.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.0003913/0.004447, allocations: 428.4 kB / 484.9 MB, free: 9.676 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.893e-05/0.004486, allocations: 9.781 kB / 484.9 MB, free: 9.676 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001053/0.004591, allocations: 17.8 kB / 484.9 MB, free: 9.668 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.832e-05/0.004659, allocations: 115.7 kB / 485 MB, free: 9.535 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.289e-05/0.004672, allocations: 7.562 kB / 485.1 MB, free: 9.531 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.558e-05/0.004688, allocations: 7.656 kB / 485.1 MB, free: 9.531 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001071/0.004795, allocations: 65.28 kB / 485.1 MB, free: 9.48 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.885e-06/0.004803, allocations: 2.562 kB / 485.1 MB, free: 9.48 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.181e-06/0.004809, allocations: 384 / 485.1 MB, free: 9.48 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.004815, allocations: 5.375 kB / 485.1 MB, free: 9.477 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.666e-05/0.004842, allocations: 17.83 kB / 485.1 MB, free: 9.469 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002733/0.005115, allocations: 287.6 kB / 485.4 MB, free: 9.211 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.847e-05/0.005173, allocations: 39.11 kB / 485.5 MB, free: 9.172 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.716e-05/0.00519, allocations: 12.77 kB / 485.5 MB, free: 9.16 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.805e-05/0.005208, allocations: 2.094 kB / 485.5 MB, free: 9.16 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.912e-05/0.005288, allocations: 81.25 kB / 485.6 MB, free: 9.094 MB / 410.7 MB Notification: Performance of pre-optimization done (n=7): time 1.022e-06/0.005289, allocations: 0 / 485.6 MB, free: 9.094 MB / 410.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001515/0.00544, allocations: 91.94 kB / 485.7 MB, free: 9.043 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.927e-05/0.005459, allocations: 54.94 kB / 485.7 MB, free: 8.98 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002019/0.005661, allocations: 169.9 kB / 485.9 MB, free: 24.81 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.469e-05/0.005676, allocations: 32.2 kB / 485.9 MB, free: 24.78 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.505e-05/0.005731, allocations: 143.9 kB / 486 MB, free: 24.64 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.599e-05/0.005747, allocations: 19.22 kB / 486.1 MB, free: 24.62 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.605e-05/0.005793, allocations: 40.03 kB / 486.1 MB, free: 24.59 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001094/0.005902, allocations: 0.4938 MB / 486.6 MB, free: 24.09 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.116e-05/0.005954, allocations: 54.11 kB / 486.6 MB, free: 24.06 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.411e-05/0.006008, allocations: 91.33 kB / 486.7 MB, free: 23.98 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.404e-05/0.006082, allocations: 101.2 kB / 486.8 MB, free: 23.89 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.006083, allocations: 2.219 kB / 486.8 MB, free: 23.89 MB / 426.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000175/0.006258, allocations: 183.9 kB / 487 MB, free: 23.77 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.404e-05/0.006282, allocations: 44.52 kB / 487.1 MB, free: 23.73 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.006288, allocations: 2.875 kB / 487.1 MB, free: 23.73 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.309e-05/0.006301, allocations: 2.219 kB / 487.1 MB, free: 23.73 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.947e-05/0.006361, allocations: 15.53 kB / 487.1 MB, free: 23.73 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.226e-06/0.006364, allocations: 1.062 kB / 487.1 MB, free: 23.73 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.866e-05/0.006443, allocations: 20.05 kB / 487.1 MB, free: 23.73 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.424e-05/0.006457, allocations: 13.56 kB / 487.1 MB, free: 23.73 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition2,$whenCondition3,booPul.y,$PRE.booPul.y,$whenCondition1,triggeredMax.y,$PRE.triggeredMax.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 8 * 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.804e-05/0.006525, allocations: 157.9 kB / 487.3 MB, free: 23.57 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.204e-05/0.006537, allocations: 16.55 kB / 487.3 MB, free: 23.55 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.851e-05/0.006635, allocations: 90.12 kB / 487.4 MB, free: 23.5 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.006637, allocations: 96 / 487.4 MB, free: 23.5 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.234e-06/0.00664, allocations: 5.547 kB / 487.4 MB, free: 23.5 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.337e-06/0.006643, allocations: 5.344 kB / 487.4 MB, free: 23.49 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001562/0.006799, allocations: 298.3 kB / 487.7 MB, free: 23.21 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.0068, allocations: 0 / 487.7 MB, free: 23.21 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.609e-05/0.006826, allocations: 8.344 kB / 487.7 MB, free: 23.21 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.006828, allocations: 3.938 kB / 487.7 MB, free: 23.21 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.913e-06/0.006835, allocations: 4.719 kB / 487.7 MB, free: 23.21 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.006836, allocations: 0 / 487.7 MB, free: 23.21 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.006838, allocations: 1.25 kB / 487.7 MB, free: 23.21 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.96e-05/0.006937, allocations: 227.4 kB / 487.9 MB, free: 23.01 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.132e-06/0.006944, allocations: 6.406 kB / 487.9 MB, free: 23 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.162e-05/0.006955, allocations: 1.906 kB / 487.9 MB, free: 23 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.568e-05/0.006991, allocations: 12.95 kB / 487.9 MB, free: 23 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.527e-05/0.007016, allocations: 6.234 kB / 487.9 MB, free: 23 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.749e-06/0.007021, allocations: 1.531 kB / 487.9 MB, free: 23 MB / 426.7 MB Notification: Performance of sorting global known variables: time 3.835e-05/0.007059, allocations: 132.9 kB / 488.1 MB, free: 22.88 MB / 426.7 MB Notification: Performance of sort global known variables: time 4e-08/0.007059, allocations: 0 / 488.1 MB, free: 22.88 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001636/0.007223, allocations: 26.86 kB / 488.1 MB, free: 22.87 MB / 426.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: 5 ($whenCondition2,$whenCondition3,$whenCondition1,triggeredMax.y,booPul.y) * Number of discrete states: 1 (triggeredMax.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * 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.638e-05/0.007309, allocations: 101.2 kB / 488.2 MB, free: 22.79 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001355/0.007445, allocations: 149 kB / 488.3 MB, free: 22.67 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.007446, allocations: 2.812 kB / 488.3 MB, free: 22.67 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 2.995e-05/0.007476, allocations: 30.59 kB / 488.4 MB, free: 22.65 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001781/0.007654, allocations: 13.45 kB / 488.4 MB, free: 22.65 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001662/0.009316, allocations: 169 kB / 488.6 MB, free: 22.5 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.467e-05/0.009361, allocations: 61.72 kB / 488.6 MB, free: 22.43 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 5.684e-05/0.009417, allocations: 4.219 kB / 488.6 MB, free: 22.43 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001515/0.009569, allocations: 89.25 kB / 488.7 MB, free: 22.37 MB / 426.7 MB Notification: Performance of SimCode: time 1.904e-06/0.009571, allocations: 1.406 kB / 488.7 MB, free: 22.37 MB / 426.7 MB Notification: Performance of Templates: time 0.00463/0.0142, allocations: 1.67 MB / 490.4 MB, free: 22.22 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredMax -abortSlowSimulation -alarm=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.537714011967182]