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.001348/0.001348, allocations: 76.28 kB / 20.51 MB, free: 1.277 MB / 14.72 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.001417/0.001417, allocations: 167.5 kB / 23.76 MB, free: 4.465 MB / 14.72 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.44/1.44, allocations: 177.2 MB / 204.1 MB, free: 8.977 MB / 190.1 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.9354/0.9354, allocations: 113.9 MB / 374.4 MB, free: 12.89 MB / 350.1 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: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00212/0.00212, allocations: 67.33 kB / 0.555 GB, free: 2.762 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1682/0.1703, allocations: 89.15 MB / 0.6421 GB, free: 9.566 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Integers.Validation.OnCounter): time 0.001915/0.1723, allocations: 0.6406 MB / 0.6427 GB, free: 8.93 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001652/0.1739, allocations: 1.222 MB / 0.6439 GB, free: 7.695 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.606e-05/0.1739, allocations: 3.938 kB / 0.6439 GB, free: 7.691 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.175e-05/0.174, allocations: 0 / 0.6439 GB, free: 7.691 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 8.086e-05/0.174, allocations: 23.84 kB / 0.6439 GB, free: 7.668 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006357/0.1747, allocations: 220.7 kB / 0.6441 GB, free: 7.457 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002464/0.1749, allocations: 175.7 kB / 0.6443 GB, free: 7.285 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 7.989e-05/0.175, allocations: 4 kB / 0.6443 GB, free: 7.281 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001131/0.1751, allocations: 79.81 kB / 0.6444 GB, free: 7.203 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001387/0.1753, allocations: 59.78 kB / 0.6445 GB, free: 7.145 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.991e-05/0.1753, allocations: 16 kB / 0.6445 GB, free: 7.129 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 8.059e-05/0.1754, allocations: 27.98 kB / 0.6445 GB, free: 7.102 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.711e-05/0.1754, allocations: 11.98 kB / 0.6445 GB, free: 7.09 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 8.794e-05/0.1755, allocations: 55.83 kB / 0.6446 GB, free: 7.035 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002368/0.1757, allocations: 155.6 kB / 0.6447 GB, free: 6.883 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.1757, allocations: 4 kB / 0.6447 GB, free: 6.879 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.513e-06/0.1757, allocations: 0 / 0.6447 GB, free: 6.879 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.39e-06/0.1757, allocations: 0 / 0.6447 GB, free: 6.879 MB / 0.545 GB 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.0005929/0.1763, allocations: 369.5 kB / 0.6451 GB, free: 6.477 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.559e-05/0.1764, allocations: 8.031 kB / 0.6451 GB, free: 6.469 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.812e-05/0.1764, allocations: 12.89 kB / 0.6451 GB, free: 6.457 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001083/0.1765, allocations: 110.5 kB / 0.6452 GB, free: 6.324 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.709e-05/0.1766, allocations: 8.375 kB / 0.6452 GB, free: 6.316 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.823e-05/0.1766, allocations: 8.375 kB / 0.6452 GB, free: 6.309 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001536/0.1767, allocations: 57.61 kB / 0.6453 GB, free: 6.246 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.237e-06/0.1768, allocations: 3.938 kB / 0.6453 GB, free: 6.242 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.109e-05/0.1768, allocations: 7.984 kB / 0.6453 GB, free: 6.234 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.898e-06/0.1768, allocations: 0 / 0.6453 GB, free: 6.234 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.244e-05/0.1768, allocations: 15.98 kB / 0.6453 GB, free: 6.219 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004872/0.1773, allocations: 280.3 kB / 0.6456 GB, free: 5.914 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 8.807e-05/0.1774, allocations: 34.56 kB / 0.6456 GB, free: 5.871 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.084e-05/0.1774, allocations: 16.94 kB / 0.6456 GB, free: 5.852 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 8.576e-06/0.1774, allocations: 0 / 0.6456 GB, free: 5.852 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001979/0.1776, allocations: 95.3 kB / 0.6457 GB, free: 5.746 MB / 0.545 GB Notification: Performance of pre-optimization done (n=9): time 1.233e-06/0.1776, allocations: 0 / 0.6457 GB, free: 5.746 MB / 0.545 GB Notification: Performance of matching and sorting (n=9): time 0.000289/0.1779, allocations: 133.8 kB / 0.6458 GB, free: 5.609 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.287e-05/0.178, allocations: 59.39 kB / 0.6459 GB, free: 5.539 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001022/0.1781, allocations: 117.8 kB / 0.646 GB, free: 5.414 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.762e-05/0.1781, allocations: 37.7 kB / 0.646 GB, free: 5.371 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.255e-05/0.1782, allocations: 96.34 kB / 0.6461 GB, free: 5.27 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.221e-05/0.1782, allocations: 15.91 kB / 0.6461 GB, free: 5.254 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.649e-05/0.1783, allocations: 49.69 kB / 0.6462 GB, free: 5.199 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001623/0.1785, allocations: 322.8 kB / 0.6465 GB, free: 4.875 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001908/0.1787, allocations: 123.4 kB / 0.6466 GB, free: 4.742 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002167/0.1789, allocations: 169.4 kB / 0.6468 GB, free: 4.543 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000243/0.1791, allocations: 185.3 kB / 0.6469 GB, free: 4.328 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.1791, allocations: 0 / 0.6469 GB, free: 4.328 MB / 0.545 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005195/0.1796, allocations: 344.2 kB / 0.6473 GB, free: 3.961 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 7.14e-05/0.1797, allocations: 71.39 kB / 0.6473 GB, free: 3.879 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.1797, allocations: 160 / 0.6473 GB, free: 3.879 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.739e-05/0.1797, allocations: 8 kB / 0.6473 GB, free: 3.871 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.981e-05/0.1798, allocations: 7.938 kB / 0.6474 GB, free: 3.863 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.1798, allocations: 0 / 0.6474 GB, free: 3.863 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003541/0.1802, allocations: 59.83 kB / 0.6474 GB, free: 3.805 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.642e-05/0.1802, allocations: 19.92 kB / 0.6474 GB, free: 3.785 MB / 0.545 GB 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.0001182/0.1803, allocations: 121.8 kB / 0.6475 GB, free: 3.656 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.978e-05/0.1803, allocations: 15.95 kB / 0.6476 GB, free: 3.641 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.003e-05/0.1804, allocations: 12.42 kB / 0.6476 GB, free: 3.629 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.1804, allocations: 0 / 0.6476 GB, free: 3.629 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.1804, allocations: 0 / 0.6476 GB, free: 3.629 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/0.1804, allocations: 4 kB / 0.6476 GB, free: 3.625 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003424/0.1807, allocations: 310 kB / 0.6479 GB, free: 3.285 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.1807, allocations: 0 / 0.6479 GB, free: 3.285 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.936e-06/0.1807, allocations: 0 / 0.6479 GB, free: 3.285 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.1807, allocations: 0 / 0.6479 GB, free: 3.285 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.151e-05/0.1807, allocations: 4 kB / 0.6479 GB, free: 3.281 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.1807, allocations: 0 / 0.6479 GB, free: 3.281 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.1807, allocations: 4 kB / 0.6479 GB, free: 3.277 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002353/0.181, allocations: 211.5 kB / 0.6481 GB, free: 3.055 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.034e-05/0.181, allocations: 3.953 kB / 0.6481 GB, free: 3.051 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.82e-05/0.181, allocations: 4 kB / 0.6481 GB, free: 3.047 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.593e-05/0.1811, allocations: 4 kB / 0.6481 GB, free: 3.043 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.499e-05/0.1811, allocations: 7.984 kB / 0.6481 GB, free: 3.035 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.178e-05/0.1811, allocations: 0 / 0.6481 GB, free: 3.035 MB / 0.545 GB Notification: Performance of sorting global known variables: time 8.303e-05/0.1812, allocations: 99.75 kB / 0.6482 GB, free: 2.938 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.1812, allocations: 0 / 0.6482 GB, free: 2.938 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002925/0.1815, allocations: 32 kB / 0.6482 GB, free: 2.906 MB / 0.545 GB 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.0001507/0.1816, allocations: 111.2 kB / 0.6483 GB, free: 2.789 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004084/0.182, allocations: 290 kB / 0.6486 GB, free: 2.469 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.182, allocations: 0 / 0.6486 GB, free: 2.469 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 5.913e-05/0.1821, allocations: 31.92 kB / 0.6486 GB, free: 2.438 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004007/0.1825, allocations: 21.53 kB / 0.6487 GB, free: 2.418 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003774/0.1829, allocations: 165 kB / 0.6488 GB, free: 2.23 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.537e-05/0.183, allocations: 83.31 kB / 0.6489 GB, free: 2.129 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.584e-05/0.183, allocations: 4.734 kB / 0.6489 GB, free: 2.125 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.238e-05/0.183, allocations: 16.44 kB / 0.6489 GB, free: 2.109 MB / 0.545 GB Notification: Performance of SimCode: time 3.21e-07/0.183, allocations: 0 / 0.6489 GB, free: 2.109 MB / 0.545 GB Notification: Performance of Templates: time 0.005781/0.1888, allocations: 2.122 MB / 0.651 GB, free: 32 kB / 0.545 GB " [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=480 -s ida -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.405908373999409] Failed to read output from testmodel.py, exit status != 0: 0.19709298096131533 0.21167232599999994 0.032900025 Calling exit ...