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.00115/0.00115, allocations: 85.05 kB / 9.985 MB, free: 0.7031 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001733/0.002883, allocations: 452 kB / 10.43 MB, free: 268 kB / 10.45 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.0007386/0.0007386, allocations: 161.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001114/0.001852, allocations: 483.5 kB / 11.8 MB, free: 2.363 MB / 13.93 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.9981/0.9981, allocations: 177.2 MB / 189.7 MB, free: 5.25 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07809/1.076, allocations: 53.67 MB / 243.4 MB, free: 15.51 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5893/0.5893, allocations: 120.1 MB / 364.2 MB, free: 2.551 MB / 346.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.06239/0.6517, allocations: 38.16 MB / 402.4 MB, free: 12.28 MB / 394.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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.703e-06/1.703e-06, allocations: 0 / 403.7 MB, free: 10.98 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.201e-05/2.372e-05, allocations: 2.312 kB / 403.7 MB, free: 10.98 MB / 394.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredMax): time 0.002055/0.002078, allocations: 0.7598 MB / 404.5 MB, free: 10.21 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.00159/0.003669, allocations: 1.244 MB / 405.7 MB, free: 8.957 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.795e-05/0.003716, allocations: 4 kB / 405.7 MB, free: 8.953 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 2.997e-05/0.003746, allocations: 3.938 kB / 405.7 MB, free: 8.949 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 5.85e-05/0.003805, allocations: 15.86 kB / 405.7 MB, free: 8.934 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004559/0.004261, allocations: 135.5 kB / 405.9 MB, free: 8.801 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001901/0.004451, allocations: 119.8 kB / 406 MB, free: 8.684 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.441e-05/0.004535, allocations: 11.98 kB / 406 MB, free: 8.672 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001555/0.004691, allocations: 71.89 kB / 406 MB, free: 8.602 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001006/0.004792, allocations: 35.92 kB / 406.1 MB, free: 8.566 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 2.844e-05/0.00482, allocations: 12 kB / 406.1 MB, free: 8.555 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.871e-05/0.004919, allocations: 35.86 kB / 406.1 MB, free: 8.52 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 3.469e-05/0.004953, allocations: 7.938 kB / 406.1 MB, free: 8.512 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 4.677e-05/0.005, allocations: 24 kB / 406.2 MB, free: 8.488 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001793/0.005179, allocations: 79.8 kB / 406.2 MB, free: 8.41 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.388e-05/0.005193, allocations: 0 / 406.2 MB, free: 8.41 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.005194, allocations: 0 / 406.2 MB, free: 8.41 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.345e-05/0.005208, allocations: 0 / 406.2 MB, free: 8.41 MB / 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.0005597/0.005768, allocations: 314.1 kB / 406.5 MB, free: 8.07 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.767e-05/0.005805, allocations: 19.97 kB / 406.6 MB, free: 8.051 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001562/0.005962, allocations: 97.97 kB / 406.7 MB, free: 7.938 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.858e-05/0.00606, allocations: 113.7 kB / 406.8 MB, free: 7.801 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.537e-05/0.006075, allocations: 4.375 kB / 406.8 MB, free: 7.797 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.217e-05/0.006098, allocations: 4.375 kB / 406.8 MB, free: 7.793 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001496/0.006247, allocations: 70.91 kB / 406.9 MB, free: 7.715 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.226e-06/0.006255, allocations: 192 / 406.9 MB, free: 7.715 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.777e-06/0.006264, allocations: 384 / 406.9 MB, free: 7.715 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.486e-06/0.006273, allocations: 4.375 kB / 406.9 MB, free: 7.711 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.372e-05/0.006306, allocations: 11.92 kB / 406.9 MB, free: 7.699 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003542/0.006661, allocations: 184.1 kB / 407 MB, free: 7.504 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.092e-05/0.006742, allocations: 34.62 kB / 407.1 MB, free: 7.461 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.144e-05/0.006763, allocations: 8.859 kB / 407.1 MB, free: 7.449 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.683e-05/0.00678, allocations: 0 / 407.1 MB, free: 7.449 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001202/0.0069, allocations: 67.41 kB / 407.2 MB, free: 7.371 MB / 394.7 MB Notification: Performance of pre-optimization done (n=7): time 1.783e-06/0.006902, allocations: 0 / 407.2 MB, free: 7.371 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001658/0.007068, allocations: 73.59 kB / 407.2 MB, free: 7.293 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.54e-05/0.007103, allocations: 51.41 kB / 407.3 MB, free: 7.23 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.996e-05/0.007183, allocations: 114.7 kB / 407.4 MB, free: 7.105 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.352e-05/0.007207, allocations: 37.69 kB / 407.4 MB, free: 7.062 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.86e-05/0.007255, allocations: 96.08 kB / 407.5 MB, free: 6.965 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.956e-05/0.007275, allocations: 7.906 kB / 407.5 MB, free: 6.957 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.385e-05/0.007339, allocations: 37.62 kB / 407.6 MB, free: 6.914 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.707e-05/0.007436, allocations: 326.8 kB / 407.9 MB, free: 6.586 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.094e-05/0.007507, allocations: 53.69 kB / 407.9 MB, free: 6.527 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.15e-05/0.007598, allocations: 77.11 kB / 408 MB, free: 6.434 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001083/0.007706, allocations: 97.02 kB / 408.1 MB, free: 6.32 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.007709, allocations: 4 kB / 408.1 MB, free: 6.316 MB / 394.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001963/0.007905, allocations: 165 kB / 408.3 MB, free: 6.137 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.686e-05/0.007952, allocations: 41.64 kB / 408.3 MB, free: 6.09 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.007958, allocations: 0 / 408.3 MB, free: 6.09 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.546e-05/0.007973, allocations: 0 / 408.3 MB, free: 6.09 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.876e-05/0.008072, allocations: 19.92 kB / 408.3 MB, free: 6.07 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.557e-06/0.008075, allocations: 3.938 kB / 408.3 MB, free: 6.066 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001088/0.008184, allocations: 23.94 kB / 408.4 MB, free: 6.043 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.737e-05/0.008202, allocations: 7.984 kB / 408.4 MB, free: 6.035 MB / 394.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 0.0001196/0.008321, allocations: 121.8 kB / 408.5 MB, free: 5.906 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.65e-05/0.008338, allocations: 4 kB / 408.5 MB, free: 5.902 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001311/0.008469, allocations: 69.98 kB / 408.6 MB, free: 5.824 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.028e-06/0.008473, allocations: 3.984 kB / 408.6 MB, free: 5.82 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.342e-06/0.008474, allocations: 0 / 408.6 MB, free: 5.82 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.259e-06/0.008479, allocations: 4 kB / 408.6 MB, free: 5.816 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001889/0.008668, allocations: 206.8 kB / 408.8 MB, free: 5.59 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.00867, allocations: 0 / 408.8 MB, free: 5.59 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.606e-05/0.008726, allocations: 11.98 kB / 408.8 MB, free: 5.578 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.528e-06/0.008735, allocations: 3.938 kB / 408.8 MB, free: 5.574 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.517e-06/0.008739, allocations: 4 kB / 408.8 MB, free: 5.57 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.923e-06/0.008746, allocations: 0 / 408.8 MB, free: 5.57 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.008748, allocations: 4 kB / 408.8 MB, free: 5.566 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.257e-06/0.008751, allocations: 4.406 kB / 408.8 MB, free: 5.562 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001168/0.008868, allocations: 155.5 kB / 408.9 MB, free: 5.395 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.031e-05/0.008888, allocations: 7.938 kB / 409 MB, free: 5.387 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.936e-05/0.008958, allocations: 3.984 kB / 409 MB, free: 5.383 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.134e-05/0.008989, allocations: 4 kB / 409 MB, free: 5.379 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.597e-06/0.008998, allocations: 3.984 kB / 409 MB, free: 5.375 MB / 394.7 MB Notification: Performance of sorting global known variables: time 2.101e-05/0.009019, allocations: 16.86 kB / 409 MB, free: 5.355 MB / 394.7 MB Notification: Performance of sort global known variables: time 8e-08/0.009019, allocations: 4 kB / 409 MB, free: 5.352 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002435/0.009262, allocations: 23.95 kB / 409 MB, free: 5.328 MB / 394.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.0001462/0.009409, allocations: 80.41 kB / 409.1 MB, free: 5.242 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001938/0.009602, allocations: 157.8 kB / 409.2 MB, free: 5.066 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.131e-06/0.009608, allocations: 0 / 409.2 MB, free: 5.066 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001119/0.00972, allocations: 20.84 kB / 409.3 MB, free: 5.043 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002454/0.009966, allocations: 97.09 kB / 409.4 MB, free: 4.93 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009393/0.01091, allocations: 168.5 kB / 409.5 MB, free: 4.738 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.934e-05/0.01094, allocations: 55.36 kB / 409.6 MB, free: 4.664 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 3.366e-05/0.01098, allocations: 11.92 kB / 409.6 MB, free: 4.652 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001069/0.01109, allocations: 71.36 kB / 409.7 MB, free: 4.582 MB / 394.7 MB Notification: Performance of SimCode: time 6.12e-07/0.01109, allocations: 0 / 409.7 MB, free: 4.582 MB / 394.7 MB Notification: Performance of Templates: time 0.004535/0.01562, allocations: 1.615 MB / 411.3 MB, free: 2.965 MB / 394.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.0829323222860694]