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.001523/0.001523, allocations: 92.72 kB / 20.21 MB, free: 4.223 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.001689/0.001689, allocations: 157.7 kB / 23.52 MB, free: 0.918 MB / 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.496/1.496, allocations: 177.1 MB / 203.9 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] 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.9416/0.9416, allocations: 115 MB / 375.3 MB, free: 7.551 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.535e-06/2.535e-06, allocations: 0 / 480.8 MB, free: 11.95 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.239e-05/3.493e-05, allocations: 5.078 kB / 480.8 MB, free: 11.94 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredMax): time 0.001944/0.001979, allocations: 0.7046 MB / 481.5 MB, free: 11.53 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00153/0.003508, allocations: 1.218 MB / 482.7 MB, free: 10.65 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.959e-05/0.003568, allocations: 1.469 kB / 482.7 MB, free: 10.65 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 3.166e-05/0.0036, allocations: 3.938 kB / 482.7 MB, free: 10.65 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 8.137e-05/0.003681, allocations: 15.86 kB / 482.7 MB, free: 10.63 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005046/0.004186, allocations: 142.5 kB / 482.8 MB, free: 10.56 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001603/0.004346, allocations: 120.9 kB / 483 MB, free: 10.51 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.19e-05/0.004428, allocations: 11.61 kB / 483 MB, free: 10.5 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001176/0.004545, allocations: 67.38 kB / 483 MB, free: 10.47 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.233e-05/0.004628, allocations: 32.02 kB / 483.1 MB, free: 10.46 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.973e-05/0.004668, allocations: 10.88 kB / 483.1 MB, free: 10.46 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.134e-05/0.004739, allocations: 26.52 kB / 483.1 MB, free: 10.46 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.085e-05/0.00476, allocations: 16.03 kB / 483.1 MB, free: 10.45 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.88e-05/0.004819, allocations: 34.72 kB / 483.2 MB, free: 10.44 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001793/0.004998, allocations: 131.8 kB / 483.3 MB, free: 10.39 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.005001, allocations: 0 / 483.3 MB, free: 10.39 MB / 410.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.005002, allocations: 3.125 kB / 483.3 MB, free: 10.39 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.29e-06/0.005007, allocations: 2.688 kB / 483.3 MB, free: 10.39 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.0005024/0.00551, allocations: 334.9 kB / 483.6 MB, free: 10.07 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.47e-05/0.005544, allocations: 11.97 kB / 483.6 MB, free: 10.07 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001415/0.005686, allocations: 12.95 kB / 483.6 MB, free: 10.06 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.889e-05/0.005755, allocations: 113.9 kB / 483.8 MB, free: 9.93 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.77e-05/0.005773, allocations: 7.969 kB / 483.8 MB, free: 9.926 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.19e-05/0.005795, allocations: 7.125 kB / 483.8 MB, free: 9.926 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001886/0.005983, allocations: 67.05 kB / 483.8 MB, free: 9.887 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.197e-06/0.005992, allocations: 4.125 kB / 483.8 MB, free: 9.883 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.187e-05/0.006004, allocations: 2.812 kB / 483.8 MB, free: 9.883 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.006009, allocations: 4.375 kB / 483.8 MB, free: 9.879 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001822/0.006191, allocations: 45.69 kB / 483.9 MB, free: 9.867 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003792/0.00657, allocations: 251.5 kB / 484.1 MB, free: 9.645 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001517/0.006722, allocations: 54.06 kB / 484.2 MB, free: 9.609 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.123e-05/0.006813, allocations: 27.14 kB / 484.2 MB, free: 9.598 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.029e-05/0.006834, allocations: 1.156 kB / 484.2 MB, free: 9.598 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002143/0.007048, allocations: 90 kB / 484.3 MB, free: 9.539 MB / 410.7 MB Notification: Performance of pre-optimization done (n=7): time 1.182e-06/0.007049, allocations: 1.125 kB / 484.3 MB, free: 9.539 MB / 410.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004319/0.007481, allocations: 146.3 kB / 484.4 MB, free: 9.477 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.516e-05/0.007516, allocations: 56.5 kB / 484.5 MB, free: 9.41 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.04e-05/0.007587, allocations: 117.7 kB / 484.6 MB, free: 9.301 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.15e-05/0.007608, allocations: 28.48 kB / 484.6 MB, free: 9.27 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.295e-05/0.007651, allocations: 95.34 kB / 484.7 MB, free: 9.18 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.857e-05/0.00767, allocations: 19.19 kB / 484.8 MB, free: 9.164 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.882e-05/0.007738, allocations: 39.56 kB / 484.8 MB, free: 9.141 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002926/0.008031, allocations: 313 kB / 485.1 MB, free: 24.83 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001728/0.008204, allocations: 83.28 kB / 485.2 MB, free: 24.78 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001675/0.008371, allocations: 103.3 kB / 485.3 MB, free: 24.7 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002562/0.008628, allocations: 131.6 kB / 485.4 MB, free: 24.61 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.00863, allocations: 2.469 kB / 485.4 MB, free: 24.61 MB / 426.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004319/0.009062, allocations: 243.6 kB / 485.7 MB, free: 24.47 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.166e-05/0.009093, allocations: 36.5 kB / 485.7 MB, free: 24.44 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.009099, allocations: 0 / 485.7 MB, free: 24.44 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.16e-05/0.009121, allocations: 3.688 kB / 485.7 MB, free: 24.44 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.671e-05/0.009218, allocations: 11.11 kB / 485.7 MB, free: 24.44 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.162e-06/0.009224, allocations: 1.344 kB / 485.7 MB, free: 24.44 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002171/0.009441, allocations: 34.41 kB / 485.7 MB, free: 24.43 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.121e-05/0.009462, allocations: 11.47 kB / 485.7 MB, free: 24.43 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 0.0001048/0.009567, allocations: 115.9 kB / 485.9 MB, free: 24.32 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.182e-05/0.009589, allocations: 17.05 kB / 485.9 MB, free: 24.3 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002769/0.009866, allocations: 121.2 kB / 486 MB, free: 24.24 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.009868, allocations: 1.281 kB / 486 MB, free: 24.24 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.858e-06/0.009872, allocations: 1.5 kB / 486 MB, free: 24.24 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.009875, allocations: 0 / 486 MB, free: 24.24 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000352/0.01023, allocations: 305.3 kB / 486.3 MB, free: 23.98 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.01023, allocations: 3.312 kB / 486.3 MB, free: 23.98 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.027e-05/0.01029, allocations: 9.547 kB / 486.3 MB, free: 23.98 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.877e-06/0.01029, allocations: 5.438 kB / 486.3 MB, free: 23.98 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.136e-06/0.0103, allocations: 0 / 486.3 MB, free: 23.98 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.354e-06/0.0103, allocations: 1.219 kB / 486.3 MB, free: 23.98 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.0103, allocations: 0.6875 kB / 486.3 MB, free: 23.98 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003142/0.01062, allocations: 207.7 kB / 486.5 MB, free: 23.82 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.035e-05/0.01063, allocations: 9.484 kB / 486.5 MB, free: 23.82 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.818e-05/0.01065, allocations: 9.375 kB / 486.5 MB, free: 23.81 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.021e-05/0.01074, allocations: 7.484 kB / 486.5 MB, free: 23.81 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.21e-05/0.01078, allocations: 5.891 kB / 486.5 MB, free: 23.81 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.626e-06/0.01079, allocations: 3.812 kB / 486.6 MB, free: 23.81 MB / 426.7 MB Notification: Performance of sorting global known variables: time 6.567e-05/0.01085, allocations: 93.58 kB / 486.6 MB, free: 23.73 MB / 426.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01085, allocations: 1.094 kB / 486.6 MB, free: 23.73 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002704/0.01112, allocations: 27.08 kB / 486.7 MB, free: 23.72 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.0001337/0.01126, allocations: 100.5 kB / 486.8 MB, free: 23.64 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003662/0.01162, allocations: 184.3 kB / 487 MB, free: 23.52 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.01163, allocations: 2.125 kB / 487 MB, free: 23.52 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001116/0.01174, allocations: 35.78 kB / 487 MB, free: 23.51 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002899/0.01203, allocations: 23.5 kB / 487 MB, free: 23.5 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003616/0.01239, allocations: 156.6 kB / 487.2 MB, free: 23.37 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.199e-05/0.01244, allocations: 70.94 kB / 487.2 MB, free: 23.29 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 3.404e-05/0.01247, allocations: 12.66 kB / 487.2 MB, free: 23.29 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.862e-05/0.0125, allocations: 11 kB / 487.3 MB, free: 23.28 MB / 426.7 MB Notification: Performance of SimCode: time 3.4e-07/0.0125, allocations: 0.9375 kB / 487.3 MB, free: 23.28 MB / 426.7 MB Notification: Performance of Templates: time 0.004397/0.0169, allocations: 1.524 MB / 488.8 MB, free: 23.16 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=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.479618077981286]