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.001942/0.001942, allocations: 93.47 kB / 20.21 MB, free: 4.207 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.002379/0.002379, allocations: 169.2 kB / 23.53 MB, free: 0.8906 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.564/1.564, allocations: 177.1 MB / 203.9 MB, free: 5.605 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 1.016/1.016, allocations: 115 MB / 375.3 MB, free: 7.59 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.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 3.918e-06/3.918e-06, allocations: 0 / 480.8 MB, free: 11.93 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.755e-05/3.147e-05, allocations: 2.312 kB / 480.8 MB, free: 11.93 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Integers.Validation.OnCounter): time 0.002528/0.002559, allocations: 0.6546 MB / 481.4 MB, free: 11.55 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002074/0.004633, allocations: 1.239 MB / 482.7 MB, free: 10.66 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.111e-05/0.004684, allocations: 1 kB / 482.7 MB, free: 10.66 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 2.914e-05/0.004713, allocations: 3.938 kB / 482.7 MB, free: 10.66 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 9.932e-05/0.004812, allocations: 10.61 kB / 482.7 MB, free: 10.65 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009066/0.005719, allocations: 214.9 kB / 482.9 MB, free: 10.54 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002941/0.006013, allocations: 180.3 kB / 483.1 MB, free: 10.47 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.948e-05/0.006102, allocations: 7.438 kB / 483.1 MB, free: 10.46 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001824/0.006285, allocations: 100.6 kB / 483.2 MB, free: 10.42 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001782/0.006463, allocations: 52.58 kB / 483.2 MB, free: 10.41 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 5.595e-05/0.006519, allocations: 14.59 kB / 483.3 MB, free: 10.41 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001077/0.006627, allocations: 30.36 kB / 483.3 MB, free: 10.4 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.019e-05/0.006657, allocations: 14.89 kB / 483.3 MB, free: 10.39 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001094/0.006766, allocations: 53.33 kB / 483.3 MB, free: 10.37 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003251/0.007091, allocations: 185.4 kB / 483.5 MB, free: 10.3 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.007094, allocations: 0 / 483.5 MB, free: 10.3 MB / 410.7 MB Notification: Performance of FrontEnd: time 8.21e-07/0.007095, allocations: 1.375 kB / 483.5 MB, free: 10.3 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.187e-06/0.007099, allocations: 0.9375 kB / 483.5 MB, free: 10.3 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005867/0.007686, allocations: 471.9 kB / 484 MB, free: 9.848 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.493e-05/0.007731, allocations: 10.41 kB / 484 MB, free: 9.848 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001039/0.007835, allocations: 13.17 kB / 484 MB, free: 9.844 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.172e-05/0.007926, allocations: 117.6 kB / 484.1 MB, free: 9.707 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.608e-05/0.007963, allocations: 13.78 kB / 484.1 MB, free: 9.703 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.141e-05/0.008014, allocations: 13.05 kB / 484.2 MB, free: 9.699 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001472/0.008161, allocations: 48.7 kB / 484.2 MB, free: 9.664 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.228e-05/0.008183, allocations: 5.188 kB / 484.2 MB, free: 9.66 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.288e-05/0.008196, allocations: 5.156 kB / 484.2 MB, free: 9.656 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.797e-06/0.0082, allocations: 0 / 484.2 MB, free: 9.656 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.195e-05/0.008242, allocations: 12.2 kB / 484.2 MB, free: 9.656 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004012/0.008643, allocations: 346.8 kB / 484.6 MB, free: 9.352 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.678e-05/0.00874, allocations: 47.39 kB / 484.6 MB, free: 9.309 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.764e-05/0.008768, allocations: 17.94 kB / 484.6 MB, free: 9.293 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.526e-06/0.008776, allocations: 1.156 kB / 484.6 MB, free: 9.293 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001294/0.008906, allocations: 98.7 kB / 484.7 MB, free: 9.227 MB / 410.7 MB Notification: Performance of pre-optimization done (n=9): time 1.122e-06/0.008907, allocations: 0 / 484.7 MB, free: 9.227 MB / 410.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003018/0.009209, allocations: 132.8 kB / 484.9 MB, free: 9.168 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.382e-05/0.009232, allocations: 57.67 kB / 484.9 MB, free: 9.105 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.28e-05/0.009315, allocations: 190 kB / 485.1 MB, free: 8.926 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.583e-05/0.009341, allocations: 37.95 kB / 485.1 MB, free: 8.891 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002074/0.009548, allocations: 137.6 kB / 485.3 MB, free: 24.75 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.62e-05/0.009565, allocations: 15.91 kB / 485.3 MB, free: 24.74 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.374e-05/0.009658, allocations: 64.73 kB / 485.3 MB, free: 24.71 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000246/0.009904, allocations: 0.4915 MB / 485.8 MB, free: 24.21 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001588/0.01006, allocations: 139.1 kB / 486 MB, free: 24.12 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001722/0.01024, allocations: 208.3 kB / 486.2 MB, free: 23.95 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001842/0.01042, allocations: 211.8 kB / 486.4 MB, free: 23.77 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.01042, allocations: 4.875 kB / 486.4 MB, free: 23.77 MB / 426.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004631/0.01089, allocations: 389.3 kB / 486.8 MB, free: 23.54 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.698e-05/0.01092, allocations: 74.22 kB / 486.8 MB, free: 23.46 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.782e-06/0.01093, allocations: 2.156 kB / 486.8 MB, free: 23.46 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.608e-05/0.01095, allocations: 2.594 kB / 486.8 MB, free: 23.46 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.077e-05/0.011, allocations: 8.062 kB / 486.9 MB, free: 23.46 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.633e-06/0.011, allocations: 2.719 kB / 486.9 MB, free: 23.46 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002731/0.01128, allocations: 49.89 kB / 486.9 MB, free: 23.45 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.149e-05/0.01131, allocations: 9.906 kB / 486.9 MB, free: 23.45 MB / 426.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 0.0001241/0.01143, allocations: 186.3 kB / 487.1 MB, free: 23.28 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.793e-05/0.01145, allocations: 7.266 kB / 487.1 MB, free: 23.27 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.567e-05/0.01148, allocations: 11.41 kB / 487.1 MB, free: 23.26 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.01148, allocations: 1.188 kB / 487.1 MB, free: 23.26 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/0.01148, allocations: 5.219 kB / 487.1 MB, free: 23.26 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.01148, allocations: 0 / 487.1 MB, free: 23.26 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002819/0.01177, allocations: 355.7 kB / 487.5 MB, free: 22.95 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.01177, allocations: 1.5 kB / 487.5 MB, free: 22.95 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.092e-05/0.01178, allocations: 8.844 kB / 487.5 MB, free: 22.94 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.614e-06/0.01178, allocations: 0 / 487.5 MB, free: 22.94 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.256e-06/0.01179, allocations: 1.219 kB / 487.5 MB, free: 22.94 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.01179, allocations: 1.406 kB / 487.5 MB, free: 22.94 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.01179, allocations: 0 / 487.5 MB, free: 22.94 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002309/0.01202, allocations: 262.4 kB / 487.7 MB, free: 22.73 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.082e-05/0.01203, allocations: 11.77 kB / 487.8 MB, free: 22.72 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.782e-05/0.01205, allocations: 4.812 kB / 487.8 MB, free: 22.72 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.158e-05/0.0121, allocations: 0 / 487.8 MB, free: 22.72 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.276e-05/0.01214, allocations: 8.406 kB / 487.8 MB, free: 22.72 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.371e-05/0.01215, allocations: 10.31 kB / 487.8 MB, free: 22.71 MB / 426.7 MB Notification: Performance of sorting global known variables: time 8.656e-05/0.01224, allocations: 138.9 kB / 487.9 MB, free: 22.59 MB / 426.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01224, allocations: 1.281 kB / 487.9 MB, free: 22.59 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002689/0.0125, allocations: 32.66 kB / 487.9 MB, free: 22.59 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: 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.0001396/0.01264, allocations: 99.14 kB / 488 MB, free: 22.5 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0004078/0.01305, allocations: 344.2 kB / 488.4 MB, free: 22.26 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.01305, allocations: 2.875 kB / 488.4 MB, free: 22.26 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 5.627e-05/0.01311, allocations: 51.44 kB / 488.4 MB, free: 22.23 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002929/0.0134, allocations: 25.94 kB / 488.5 MB, free: 22.22 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000309/0.01371, allocations: 171.8 kB / 488.6 MB, free: 22.07 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.37e-05/0.01377, allocations: 74.17 kB / 488.7 MB, free: 22 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 2.607e-05/0.01379, allocations: 12.45 kB / 488.7 MB, free: 22 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.029e-05/0.01381, allocations: 13.66 kB / 488.7 MB, free: 21.99 MB / 426.7 MB Notification: Performance of SimCode: time 4.51e-07/0.01381, allocations: 1.156 kB / 488.7 MB, free: 21.99 MB / 426.7 MB Notification: Performance of Templates: time 0.004824/0.01864, allocations: 2.123 MB / 490.8 MB, free: 21.82 MB / 426.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: 5.542176909046248]