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.000733/0.000733, allocations: 72.19 kB / 9.907 MB, free: 0.7812 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00117/0.001903, allocations: 447.8 kB / 10.34 MB, free: 352 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.0009836/0.0009836, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001046/0.002029, allocations: 463.6 kB / 11.69 MB, free: 2.48 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.9158/0.9158, allocations: 177.1 MB / 189.6 MB, free: 3.77 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1573/1.073, allocations: 53.65 MB / 243.2 MB, free: 2.363 MB / 234.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.7072/0.7072, allocations: 119.1 MB / 363.1 MB, free: 4.945 MB / 346.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07599/0.7832, allocations: 37.86 MB / 400.9 MB, free: 15.31 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 2.816e-06/2.816e-06, allocations: 0 / 402.2 MB, free: 14.01 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.448e-05/2.729e-05, allocations: 5.688 kB / 402.2 MB, free: 14 MB / 394.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Integers.Validation.OnCounter): time 0.002053/0.00208, allocations: 0.7197 MB / 402.9 MB, free: 13.28 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.001678/0.003758, allocations: 1.24 MB / 404.2 MB, free: 12.03 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.366e-05/0.003812, allocations: 4 kB / 404.2 MB, free: 12.02 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 3.135e-05/0.003844, allocations: 3.938 kB / 404.2 MB, free: 12.02 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 6.197e-05/0.003905, allocations: 15.86 kB / 404.2 MB, free: 12 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006752/0.004581, allocations: 207.4 kB / 404.4 MB, free: 11.8 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002843/0.004865, allocations: 183.7 kB / 404.6 MB, free: 11.62 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.931e-05/0.004944, allocations: 4 kB / 404.6 MB, free: 11.62 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001885/0.005133, allocations: 103.9 kB / 404.7 MB, free: 11.52 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001497/0.005282, allocations: 55.84 kB / 404.7 MB, free: 11.46 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 4.015e-05/0.005323, allocations: 16 kB / 404.8 MB, free: 11.45 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001114/0.005434, allocations: 31.98 kB / 404.8 MB, free: 11.41 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 3.068e-05/0.005465, allocations: 11.94 kB / 404.8 MB, free: 11.4 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 7.645e-05/0.005541, allocations: 32 kB / 404.8 MB, free: 11.37 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002241/0.005765, allocations: 107.7 kB / 404.9 MB, free: 11.27 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.292e-05/0.005788, allocations: 4 kB / 404.9 MB, free: 11.26 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.074e-06/0.00579, allocations: 0 / 404.9 MB, free: 11.26 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.284e-05/0.005813, allocations: 0 / 404.9 MB, free: 11.26 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.0005947/0.006408, allocations: 359.8 kB / 405.3 MB, free: 10.88 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.435e-05/0.006442, allocations: 15.89 kB / 405.3 MB, free: 10.86 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.174e-05/0.006484, allocations: 16.92 kB / 405.3 MB, free: 10.84 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.226e-05/0.006566, allocations: 109.8 kB / 405.4 MB, free: 10.71 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.853e-05/0.006585, allocations: 8.312 kB / 405.4 MB, free: 10.7 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.891e-05/0.006603, allocations: 12.38 kB / 405.5 MB, free: 10.69 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.734e-05/0.006691, allocations: 62.92 kB / 405.5 MB, free: 10.62 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.0067, allocations: 3.938 kB / 405.5 MB, free: 10.62 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.987e-06/0.006709, allocations: 3.984 kB / 405.5 MB, free: 10.61 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.006714, allocations: 0 / 405.5 MB, free: 10.61 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.619e-05/0.00673, allocations: 8 kB / 405.5 MB, free: 10.61 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002961/0.007027, allocations: 184.2 kB / 405.7 MB, free: 10.41 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.862e-05/0.007095, allocations: 42.56 kB / 405.8 MB, free: 10.36 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.023e-05/0.007105, allocations: 4.859 kB / 405.8 MB, free: 10.35 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.388e-06/0.00711, allocations: 4 kB / 405.8 MB, free: 10.35 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001241/0.007234, allocations: 87.27 kB / 405.8 MB, free: 10.25 MB / 394.7 MB Notification: Performance of pre-optimization done (n=9): time 1.152e-06/0.007235, allocations: 0 / 405.8 MB, free: 10.25 MB / 394.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001391/0.007374, allocations: 85.59 kB / 405.9 MB, free: 10.16 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.508e-05/0.007419, allocations: 63.33 kB / 406 MB, free: 10.09 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.825e-05/0.007487, allocations: 118.7 kB / 406.1 MB, free: 9.957 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.233e-05/0.00751, allocations: 33.7 kB / 406.1 MB, free: 9.918 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.409e-05/0.007554, allocations: 100.3 kB / 406.2 MB, free: 9.812 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.497e-05/0.007569, allocations: 15.89 kB / 406.3 MB, free: 9.797 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.153e-05/0.00763, allocations: 45.67 kB / 406.3 MB, free: 9.746 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.598e-05/0.007706, allocations: 322.8 kB / 406.6 MB, free: 9.422 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.65e-05/0.007783, allocations: 99.38 kB / 406.7 MB, free: 9.312 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.856e-05/0.007871, allocations: 148.4 kB / 406.9 MB, free: 9.137 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001201/0.007992, allocations: 169.2 kB / 407 MB, free: 8.938 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.496e-06/0.007995, allocations: 0 / 407 MB, free: 8.938 MB / 394.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002241/0.008219, allocations: 288.2 kB / 407.3 MB, free: 8.625 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.723e-05/0.008276, allocations: 67.39 kB / 407.4 MB, free: 8.547 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.008282, allocations: 0 / 407.4 MB, free: 8.547 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.168e-05/0.008294, allocations: 4 kB / 407.4 MB, free: 8.543 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.627e-05/0.00834, allocations: 11.94 kB / 407.4 MB, free: 8.531 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.389e-06/0.008344, allocations: 0 / 407.4 MB, free: 8.531 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001526/0.008497, allocations: 52 kB / 407.4 MB, free: 8.48 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.142e-05/0.008518, allocations: 12 kB / 407.4 MB, free: 8.469 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 8.366e-05/0.008602, allocations: 121.8 kB / 407.6 MB, free: 8.34 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.505e-05/0.008617, allocations: 7.938 kB / 407.6 MB, free: 8.332 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.685e-05/0.008644, allocations: 8.438 kB / 407.6 MB, free: 8.32 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.008646, allocations: 4 kB / 407.6 MB, free: 8.316 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.00865, allocations: 0 / 407.6 MB, free: 8.316 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/0.008656, allocations: 3.984 kB / 407.6 MB, free: 8.312 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001936/0.008849, allocations: 218.8 kB / 407.8 MB, free: 8.074 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.008853, allocations: 11.86 kB / 407.8 MB, free: 8.062 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.358e-05/0.008866, allocations: 3.938 kB / 407.8 MB, free: 8.059 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.663e-05/0.008883, allocations: 7.953 kB / 407.8 MB, free: 8.051 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.756e-06/0.008886, allocations: 0 / 407.8 MB, free: 8.051 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.642e-06/0.008893, allocations: 4 kB / 407.8 MB, free: 8.047 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.008894, allocations: 0 / 407.8 MB, free: 8.047 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.008896, allocations: 0 / 407.8 MB, free: 8.047 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001005/0.008996, allocations: 167.4 kB / 408 MB, free: 7.867 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.337e-05/0.00901, allocations: 0 / 408 MB, free: 7.867 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.695e-05/0.009047, allocations: 4 kB / 408 MB, free: 7.863 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.905e-05/0.009076, allocations: 11.98 kB / 408 MB, free: 7.852 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.343e-05/0.009089, allocations: 0 / 408 MB, free: 7.852 MB / 394.7 MB Notification: Performance of sorting global known variables: time 1.918e-05/0.009108, allocations: 20.83 kB / 408 MB, free: 7.828 MB / 394.7 MB Notification: Performance of sort global known variables: time 4e-08/0.009108, allocations: 0 / 408 MB, free: 7.828 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001709/0.009279, allocations: 36 kB / 408.1 MB, free: 7.793 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.0001197/0.009399, allocations: 88.34 kB / 408.2 MB, free: 7.699 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002038/0.009603, allocations: 266.9 kB / 408.4 MB, free: 7.398 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.609e-06/0.009607, allocations: 320 / 408.4 MB, free: 7.398 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 2.581e-05/0.009633, allocations: 32.83 kB / 408.4 MB, free: 7.363 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001614/0.009795, allocations: 32.66 kB / 408.5 MB, free: 7.332 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004471/0.01024, allocations: 164.7 kB / 408.6 MB, free: 7.145 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.422e-05/0.01028, allocations: 59.34 kB / 408.7 MB, free: 7.066 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 2.848e-05/0.0103, allocations: 5.016 kB / 408.7 MB, free: 7.062 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.947e-05/0.0104, allocations: 83.34 kB / 408.8 MB, free: 6.98 MB / 394.7 MB Notification: Performance of SimCode: time 8.32e-07/0.0104, allocations: 0 / 408.8 MB, free: 6.98 MB / 394.7 MB Notification: Performance of Templates: time 0.004087/0.01449, allocations: 2.396 MB / 411.2 MB, free: 4.637 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: 3.2824764708057046]