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.001014/0.001014, allocations: 84.22 kB / 20.94 MB, free: 3.605 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.0009852/0.0009852, allocations: 169 kB / 24.25 MB, free: 304 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.9578/0.9578, allocations: 177.1 MB / 204.6 MB, free: 5.617 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.6413/0.6413, allocations: 115 MB / 376 MB, free: 7.641 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 2.244e-06/2.244e-06, allocations: 0 / 481.5 MB, free: 11.92 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.751e-05/1.976e-05, allocations: 6.094 kB / 481.5 MB, free: 11.92 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredMax): time 0.001407/0.001426, allocations: 0.715 MB / 482.2 MB, free: 11.51 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004197/0.005624, allocations: 1.244 MB / 483.4 MB, free: 10.63 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.992e-05/0.005674, allocations: 1.625 kB / 483.4 MB, free: 10.63 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 2.656e-05/0.0057, allocations: 3.938 kB / 483.5 MB, free: 10.62 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 7.007e-05/0.00577, allocations: 11.06 kB / 483.5 MB, free: 10.62 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004272/0.006198, allocations: 147.1 kB / 483.6 MB, free: 10.54 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001446/0.006342, allocations: 121.3 kB / 483.7 MB, free: 10.48 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.404e-05/0.006426, allocations: 12.36 kB / 483.7 MB, free: 10.48 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001039/0.00653, allocations: 60.56 kB / 483.8 MB, free: 10.46 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.656e-05/0.006607, allocations: 40.09 kB / 483.8 MB, free: 10.44 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.275e-05/0.006629, allocations: 10.47 kB / 483.8 MB, free: 10.44 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.202e-05/0.006691, allocations: 22.38 kB / 483.9 MB, free: 10.44 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.053e-05/0.006712, allocations: 15.16 kB / 483.9 MB, free: 10.43 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.624e-05/0.006768, allocations: 34.73 kB / 483.9 MB, free: 10.42 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001504/0.006919, allocations: 111.9 kB / 484 MB, free: 10.36 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.823e-06/0.00692, allocations: 0 / 484 MB, free: 10.36 MB / 410.7 MB Notification: Performance of FrontEnd: time 5.91e-07/0.006921, allocations: 0.9062 kB / 484 MB, free: 10.36 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.477e-06/0.006925, allocations: 0 / 484 MB, free: 10.36 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.0003928/0.007317, allocations: 427 kB / 484.4 MB, free: 9.941 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.538e-05/0.007353, allocations: 12.42 kB / 484.5 MB, free: 9.941 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001082/0.007461, allocations: 17.48 kB / 484.5 MB, free: 9.934 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.083e-05/0.007522, allocations: 108.4 kB / 484.6 MB, free: 9.805 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.399e-05/0.007536, allocations: 4.75 kB / 484.6 MB, free: 9.805 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.947e-05/0.007555, allocations: 14.75 kB / 484.6 MB, free: 9.797 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003136/0.01069, allocations: 64.33 kB / 484.7 MB, free: 9.75 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.065e-06/0.0107, allocations: 192 / 484.7 MB, free: 9.75 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.07e-05/0.01071, allocations: 5.562 kB / 484.7 MB, free: 9.746 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.944e-06/0.01072, allocations: 384 / 484.7 MB, free: 9.746 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.51e-05/0.01076, allocations: 14.31 kB / 484.7 MB, free: 9.742 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003423/0.0111, allocations: 310.8 kB / 485 MB, free: 9.457 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.375e-05/0.01118, allocations: 40.39 kB / 485 MB, free: 9.418 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.593e-05/0.0112, allocations: 16.41 kB / 485 MB, free: 9.402 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.51e-05/0.01122, allocations: 1.844 kB / 485 MB, free: 9.402 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.397e-05/0.01131, allocations: 77.5 kB / 485.1 MB, free: 9.34 MB / 410.7 MB Notification: Performance of pre-optimization done (n=7): time 1.102e-06/0.01131, allocations: 1.438 kB / 485.1 MB, free: 9.34 MB / 410.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002149/0.01153, allocations: 94.7 kB / 485.2 MB, free: 9.289 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.506e-05/0.01155, allocations: 55.78 kB / 485.3 MB, free: 9.227 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002101/0.01176, allocations: 176.9 kB / 485.4 MB, free: 25.05 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.596e-05/0.01178, allocations: 28.05 kB / 485.5 MB, free: 25.02 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.712e-05/0.01184, allocations: 150.4 kB / 485.6 MB, free: 24.88 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.572e-05/0.01185, allocations: 16.81 kB / 485.6 MB, free: 24.86 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.891e-05/0.01191, allocations: 36.94 kB / 485.7 MB, free: 24.84 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001172/0.01203, allocations: 0.4892 MB / 486.2 MB, free: 24.34 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.052e-05/0.01211, allocations: 60.14 kB / 486.2 MB, free: 24.3 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.239e-05/0.01219, allocations: 102.5 kB / 486.3 MB, free: 24.21 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001003/0.01229, allocations: 107.7 kB / 486.4 MB, free: 24.12 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.0123, allocations: 2.031 kB / 486.4 MB, free: 24.12 MB / 426.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002384/0.01253, allocations: 206 kB / 486.6 MB, free: 23.99 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.278e-05/0.01256, allocations: 32.17 kB / 486.7 MB, free: 23.96 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.01256, allocations: 1.062 kB / 486.7 MB, free: 23.96 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.735e-05/0.01258, allocations: 2.438 kB / 486.7 MB, free: 23.96 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003075/0.01565, allocations: 15.88 kB / 486.7 MB, free: 23.96 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.721e-06/0.01566, allocations: 2.156 kB / 486.7 MB, free: 23.96 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001091/0.01577, allocations: 22.91 kB / 486.7 MB, free: 23.96 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.688e-05/0.01579, allocations: 6.5 kB / 486.7 MB, free: 23.96 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 7.857e-05/0.01586, allocations: 168.9 kB / 486.9 MB, free: 23.79 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.548e-05/0.01588, allocations: 13.02 kB / 486.9 MB, free: 23.78 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001313/0.01601, allocations: 86.66 kB / 487 MB, free: 23.73 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.01601, allocations: 2.562 kB / 487 MB, free: 23.73 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.01602, allocations: 4 kB / 487 MB, free: 23.73 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.01602, allocations: 1.344 kB / 487 MB, free: 23.73 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001914/0.01621, allocations: 330.1 kB / 487.3 MB, free: 23.41 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.01621, allocations: 3.984 kB / 487.3 MB, free: 23.41 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.403e-05/0.01625, allocations: 5.188 kB / 487.3 MB, free: 23.41 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.01625, allocations: 1.812 kB / 487.3 MB, free: 23.41 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.155e-06/0.01626, allocations: 1.062 kB / 487.3 MB, free: 23.41 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.01626, allocations: 4.156 kB / 487.3 MB, free: 23.41 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.01626, allocations: 1.094 kB / 487.3 MB, free: 23.41 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001364/0.0164, allocations: 232.4 kB / 487.5 MB, free: 23.2 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.273e-06/0.0164, allocations: 7.188 kB / 487.5 MB, free: 23.2 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.758e-05/0.01642, allocations: 1.156 kB / 487.5 MB, free: 23.2 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.668e-05/0.01648, allocations: 7.547 kB / 487.6 MB, free: 23.2 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.071e-05/0.01652, allocations: 5.312 kB / 487.6 MB, free: 23.2 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.464e-06/0.01653, allocations: 2.219 kB / 487.6 MB, free: 23.2 MB / 426.7 MB Notification: Performance of sorting global known variables: time 4.763e-05/0.01657, allocations: 138.3 kB / 487.7 MB, free: 23.07 MB / 426.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01657, allocations: 1.094 kB / 487.7 MB, free: 23.07 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002534/0.01683, allocations: 26.89 kB / 487.7 MB, free: 23.07 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 0.000109/0.01694, allocations: 101.6 kB / 487.8 MB, free: 22.98 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002033/0.01714, allocations: 161.8 kB / 488 MB, free: 22.86 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.01714, allocations: 1.375 kB / 488 MB, free: 22.86 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 4.012e-05/0.01718, allocations: 24.19 kB / 488 MB, free: 22.84 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002589/0.01744, allocations: 19.47 kB / 488 MB, free: 22.84 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000471/0.01791, allocations: 161.7 kB / 488.2 MB, free: 22.7 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.185e-05/0.01794, allocations: 65.02 kB / 488.2 MB, free: 22.62 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 2.591e-05/0.01797, allocations: 4.875 kB / 488.2 MB, free: 22.62 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.289e-05/0.01799, allocations: 11.84 kB / 488.3 MB, free: 22.62 MB / 426.7 MB Notification: Performance of SimCode: time 7.71e-07/0.01799, allocations: 0 / 488.3 MB, free: 22.62 MB / 426.7 MB Notification: Performance of Templates: time 0.006431/0.02442, allocations: 1.525 MB / 489.8 MB, free: 22.5 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.6121962191537023]