Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.OnCounter.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.0006789/0.0006789, allocations: 85.05 kB / 9.985 MB, free: 0.7031 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000901/0.00158, 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.000671/0.000671, allocations: 161.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008768/0.001548, 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.9032/0.9032, allocations: 177.2 MB / 189.7 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07612/0.9793, allocations: 53.67 MB / 243.4 MB, free: 15.5 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.6084/0.6084, allocations: 120.1 MB / 364.2 MB, free: 2.535 MB / 346.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.06078/0.6692, allocations: 38.15 MB / 402.4 MB, free: 12.26 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.Integers.Validation.OnCounter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.OnCounter") translateModel(IBPSA.Controls.OBC.CDL.Integers.Validation.OnCounter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.OnCounter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.954e-06/1.954e-06, allocations: 0 / 403.7 MB, free: 10.94 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.065e-05/2.26e-05, allocations: 2.312 kB / 403.7 MB, free: 10.93 MB / 394.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Integers.Validation.OnCounter): time 0.002046/0.002069, allocations: 0.716 MB / 404.4 MB, free: 10.21 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.00132/0.003388, allocations: 1.252 MB / 405.7 MB, free: 8.949 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.484e-05/0.003423, allocations: 4 kB / 405.7 MB, free: 8.945 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 2.287e-05/0.003446, allocations: 3.938 kB / 405.7 MB, free: 8.941 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 4.508e-05/0.003491, allocations: 11.86 kB / 405.7 MB, free: 8.93 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004706/0.003962, allocations: 211.5 kB / 405.9 MB, free: 8.723 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002244/0.004186, allocations: 179.6 kB / 406.1 MB, free: 8.547 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.374e-05/0.00426, allocations: 15.97 kB / 406.1 MB, free: 8.531 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001523/0.004412, allocations: 99.92 kB / 406.2 MB, free: 8.434 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001232/0.004535, allocations: 59.83 kB / 406.3 MB, free: 8.375 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 2.969e-05/0.004565, allocations: 12 kB / 406.3 MB, free: 8.363 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.933e-05/0.004654, allocations: 28 kB / 406.3 MB, free: 8.336 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 2.873e-05/0.004683, allocations: 15.92 kB / 406.3 MB, free: 8.32 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 5.486e-05/0.004738, allocations: 32 kB / 406.3 MB, free: 8.289 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001818/0.00492, allocations: 107.7 kB / 406.5 MB, free: 8.184 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.187e-05/0.004932, allocations: 0 / 406.5 MB, free: 8.184 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.004933, allocations: 0 / 406.5 MB, free: 8.184 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.168e-05/0.004944, allocations: 4 kB / 406.5 MB, free: 8.18 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003957/0.00534, allocations: 351.8 kB / 406.8 MB, free: 7.801 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.89e-05/0.005369, allocations: 16.02 kB / 406.8 MB, free: 7.785 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.862e-05/0.005408, allocations: 16.92 kB / 406.8 MB, free: 7.77 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.4e-05/0.005482, allocations: 109.8 kB / 406.9 MB, free: 7.637 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.59e-05/0.005498, allocations: 4.375 kB / 406.9 MB, free: 7.633 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.953e-05/0.005517, allocations: 8.375 kB / 407 MB, free: 7.625 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.477e-05/0.005592, allocations: 58.94 kB / 407 MB, free: 7.559 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.934e-06/0.0056, allocations: 3.938 kB / 407 MB, free: 7.555 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.182e-06/0.005606, allocations: 0 / 407 MB, free: 7.555 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.219e-06/0.005611, allocations: 7.938 kB / 407 MB, free: 7.547 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.464e-05/0.005626, allocations: 15.98 kB / 407 MB, free: 7.531 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002663/0.005892, allocations: 184.2 kB / 407.2 MB, free: 7.336 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.88e-05/0.005951, allocations: 26.64 kB / 407.2 MB, free: 7.301 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.208e-05/0.005963, allocations: 16.92 kB / 407.3 MB, free: 7.281 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.256e-06/0.005966, allocations: 0 / 407.3 MB, free: 7.281 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.456e-05/0.006061, allocations: 87.17 kB / 407.3 MB, free: 7.184 MB / 394.7 MB Notification: Performance of pre-optimization done (n=9): time 8.52e-07/0.006062, allocations: 3.938 kB / 407.3 MB, free: 7.18 MB / 394.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001356/0.006197, allocations: 85.58 kB / 407.4 MB, free: 7.09 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.736e-05/0.006225, allocations: 55.41 kB / 407.5 MB, free: 7.023 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.28e-05/0.006287, allocations: 134.5 kB / 407.6 MB, free: 6.879 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.244e-05/0.00631, allocations: 33.7 kB / 407.7 MB, free: 6.84 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.833e-05/0.006348, allocations: 92.36 kB / 407.7 MB, free: 6.742 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.452e-05/0.006363, allocations: 23.83 kB / 407.8 MB, free: 6.719 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.472e-05/0.006417, allocations: 45.67 kB / 407.8 MB, free: 6.668 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 6.915e-05/0.006487, allocations: 318.8 kB / 408.1 MB, free: 6.348 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.618e-05/0.006563, allocations: 103.4 kB / 408.2 MB, free: 6.234 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.275e-05/0.006645, allocations: 149.3 kB / 408.4 MB, free: 6.055 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001066/0.006752, allocations: 165.3 kB / 408.5 MB, free: 5.859 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.006754, allocations: 0 / 408.5 MB, free: 5.859 MB / 394.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001994/0.006953, allocations: 288.2 kB / 408.8 MB, free: 5.547 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.652e-05/0.007, allocations: 67.39 kB / 408.9 MB, free: 5.469 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.94e-06/0.007005, allocations: 4 kB / 408.9 MB, free: 5.465 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.328e-05/0.007018, allocations: 0 / 408.9 MB, free: 5.465 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.968e-05/0.007058, allocations: 12.14 kB / 408.9 MB, free: 5.453 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.357e-06/0.007061, allocations: 4 kB / 408.9 MB, free: 5.449 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001398/0.007201, allocations: 39.91 kB / 408.9 MB, free: 5.41 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.94e-05/0.00722, allocations: 15.98 kB / 409 MB, free: 5.395 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 12 (onCounter.y,$PRE.onCounter.y,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,reset.y,$PRE.reset.y,$whenCondition2,booPul.y,$PRE.booPul.y,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 2 * 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.999e-05/0.00729, allocations: 121.8 kB / 409.1 MB, free: 5.266 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.246e-05/0.007303, allocations: 11.92 kB / 409.1 MB, free: 5.254 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.389e-05/0.007327, allocations: 12.44 kB / 409.1 MB, free: 5.242 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.007329, allocations: 0 / 409.1 MB, free: 5.242 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.753e-06/0.007331, allocations: 4 kB / 409.1 MB, free: 5.238 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/0.007334, allocations: 0 / 409.1 MB, free: 5.238 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001553/0.007489, allocations: 214.8 kB / 409.3 MB, free: 5.004 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.007492, allocations: 3.938 kB / 409.3 MB, free: 5 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.255e-06/0.0075, allocations: 7.922 kB / 409.3 MB, free: 4.992 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.875e-06/0.007508, allocations: 7.953 kB / 409.3 MB, free: 4.984 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.00751, allocations: 0 / 409.3 MB, free: 4.984 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.961e-06/0.007516, allocations: 4 kB / 409.3 MB, free: 4.98 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.007517, allocations: 4 kB / 409.3 MB, free: 4.977 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.007519, allocations: 0 / 409.3 MB, free: 4.977 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.374e-05/0.007603, allocations: 167.4 kB / 409.5 MB, free: 4.797 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.109e-05/0.007614, allocations: 4 kB / 409.5 MB, free: 4.793 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.362e-05/0.007647, allocations: 8 kB / 409.5 MB, free: 4.785 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.225e-05/0.00767, allocations: 3.984 kB / 409.5 MB, free: 4.781 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.05e-05/0.00768, allocations: 4 kB / 409.5 MB, free: 4.777 MB / 394.7 MB Notification: Performance of sorting global known variables: time 1.707e-05/0.007697, allocations: 16.84 kB / 409.5 MB, free: 4.758 MB / 394.7 MB Notification: Performance of sort global known variables: time 4e-08/0.007697, allocations: 0 / 409.5 MB, free: 4.758 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001622/0.007859, allocations: 32 kB / 409.6 MB, free: 4.727 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: 9 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition2,$whenCondition1,onCounter.y,booPul.y,reset.y) * Number of discrete states: 1 (onCounter.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0001136/0.007973, allocations: 92.28 kB / 409.7 MB, free: 4.629 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001975/0.00817, allocations: 278.9 kB / 409.9 MB, free: 4.316 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/0.008174, allocations: 0 / 409.9 MB, free: 4.316 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 2.73e-05/0.008202, allocations: 24.84 kB / 410 MB, free: 4.289 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001858/0.008387, allocations: 135.6 kB / 410.1 MB, free: 4.133 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003972/0.008785, allocations: 164.7 kB / 410.2 MB, free: 3.945 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.029e-05/0.008815, allocations: 59.34 kB / 410.3 MB, free: 3.867 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 2.412e-05/0.008839, allocations: 9.203 kB / 410.3 MB, free: 3.859 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.459e-05/0.008934, allocations: 83.34 kB / 410.4 MB, free: 3.777 MB / 394.7 MB Notification: Performance of SimCode: time 5.41e-07/0.008934, allocations: 0 / 410.4 MB, free: 3.777 MB / 394.7 MB Notification: Performance of Templates: time 0.00383/0.01276, allocations: 2.346 MB / 412.7 MB, free: 1.422 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.OnCounter.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.OnCounter.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.OnCounter -abortSlowSimulation -alarm=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.9330627135932446]