Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Subtract.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.001368/0.001368, allocations: 75.27 kB / 20.51 MB, free: 1.285 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.001811/0.001811, allocations: 162.3 kB / 23.76 MB, free: 4.469 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.426/1.426, allocations: 177.2 MB / 204.1 MB, free: 8.98 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 1.012/1.012, allocations: 113.9 MB / 374.5 MB, free: 12.88 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.Subtract,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Subtract") translateModel(IBPSA.Controls.OBC.CDL.Integers.Validation.Subtract,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Subtract") [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.002192/0.002192, allocations: 64.77 kB / 0.555 GB, free: 2.719 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1694/0.1716, allocations: 89.14 MB / 0.6421 GB, free: 9.527 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Integers.Validation.Subtract): time 0.002035/0.1736, allocations: 0.737 MB / 0.6428 GB, free: 8.793 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001161/0.1747, allocations: 0.8783 MB / 0.6437 GB, free: 7.902 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.39e-05/0.1748, allocations: 4 kB / 0.6437 GB, free: 7.898 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.923e-05/0.1748, allocations: 15.8 kB / 0.6437 GB, free: 7.883 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 7.665e-05/0.1749, allocations: 7.875 kB / 0.6437 GB, free: 7.875 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001763/0.1751, allocations: 39.95 kB / 0.6437 GB, free: 7.836 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001555/0.1752, allocations: 91.75 kB / 0.6438 GB, free: 7.746 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001251/0.1754, allocations: 8 kB / 0.6438 GB, free: 7.738 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001046/0.1755, allocations: 47.83 kB / 0.6439 GB, free: 7.691 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 9.511e-05/0.1756, allocations: 39.83 kB / 0.6439 GB, free: 7.652 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.133e-05/0.1756, allocations: 8 kB / 0.6439 GB, free: 7.645 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 2.065e-05/0.1756, allocations: 8 kB / 0.6439 GB, free: 7.637 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 3.635e-05/0.1757, allocations: 23.97 kB / 0.644 GB, free: 7.613 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.743e-05/0.1757, allocations: 27.8 kB / 0.644 GB, free: 7.586 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001671/0.1759, allocations: 95.59 kB / 0.6441 GB, free: 7.492 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.1759, allocations: 4 kB / 0.6441 GB, free: 7.488 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.623e-06/0.1759, allocations: 0 / 0.6441 GB, free: 7.488 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.721e-06/0.1759, allocations: 0 / 0.6441 GB, free: 7.488 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0006829/0.1766, allocations: 326 kB / 0.6444 GB, free: 7.141 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.247e-05/0.1766, allocations: 8.031 kB / 0.6444 GB, free: 7.133 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.157e-05/0.1767, allocations: 8.891 kB / 0.6444 GB, free: 7.125 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001372/0.1768, allocations: 118.4 kB / 0.6445 GB, free: 6.984 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.755e-05/0.1768, allocations: 4.375 kB / 0.6445 GB, free: 6.98 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.864e-05/0.1768, allocations: 4.375 kB / 0.6445 GB, free: 6.977 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003349/0.1772, allocations: 116.3 kB / 0.6446 GB, free: 6.859 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.736e-06/0.1772, allocations: 0 / 0.6446 GB, free: 6.859 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.136e-05/0.1772, allocations: 3.938 kB / 0.6446 GB, free: 6.855 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.1772, allocations: 4 kB / 0.6446 GB, free: 6.852 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003926/0.1776, allocations: 99.84 kB / 0.6447 GB, free: 6.754 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005211/0.1781, allocations: 268.4 kB / 0.645 GB, free: 6.461 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006532/0.1788, allocations: 118.5 kB / 0.6451 GB, free: 6.336 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002099/0.179, allocations: 56.81 kB / 0.6452 GB, free: 6.277 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.926e-05/0.179, allocations: 0 / 0.6452 GB, free: 6.277 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.776e-05/0.179, allocations: 34.56 kB / 0.6452 GB, free: 6.234 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 2.725e-06/0.179, allocations: 3.984 kB / 0.6452 GB, free: 6.23 MB / 0.545 GB Notification: Performance of matching and sorting (n=7): time 0.0007139/0.1797, allocations: 193.4 kB / 0.6454 GB, free: 6.035 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.909e-05/0.1798, allocations: 51.41 kB / 0.6454 GB, free: 5.973 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001189/0.1799, allocations: 125.8 kB / 0.6456 GB, free: 5.84 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.829e-05/0.1799, allocations: 25.7 kB / 0.6456 GB, free: 5.809 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.881e-05/0.18, allocations: 92.09 kB / 0.6457 GB, free: 5.715 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.54e-05/0.18, allocations: 23.83 kB / 0.6457 GB, free: 5.691 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.239e-05/0.1801, allocations: 25.72 kB / 0.6457 GB, free: 5.66 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001476/0.1802, allocations: 322.8 kB / 0.646 GB, free: 5.336 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001943/0.1804, allocations: 43.95 kB / 0.6461 GB, free: 5.293 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001989/0.1806, allocations: 44.27 kB / 0.6461 GB, free: 5.25 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003865/0.181, allocations: 112.8 kB / 0.6462 GB, free: 5.137 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.624e-06/0.181, allocations: 0 / 0.6462 GB, free: 5.137 MB / 0.545 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004404/0.1814, allocations: 137.5 kB / 0.6463 GB, free: 4.996 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.257e-05/0.1814, allocations: 8 kB / 0.6464 GB, free: 4.988 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.1814, allocations: 0 / 0.6464 GB, free: 4.988 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.252e-05/0.1815, allocations: 0 / 0.6464 GB, free: 4.988 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001796/0.1816, allocations: 27.97 kB / 0.6464 GB, free: 4.961 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.1816, allocations: 0 / 0.6464 GB, free: 4.961 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001289/0.1818, allocations: 19.92 kB / 0.6464 GB, free: 4.941 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.166e-05/0.1818, allocations: 3.938 kB / 0.6464 GB, free: 4.938 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (reaToInt1.y,reaToInt.y,sub.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * 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.0001037/0.1819, allocations: 117.1 kB / 0.6465 GB, free: 4.816 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.056e-05/0.1819, allocations: 7.938 kB / 0.6465 GB, free: 4.809 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.817e-05/0.1819, allocations: 12.44 kB / 0.6465 GB, free: 4.797 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.1819, allocations: 0 / 0.6465 GB, free: 4.797 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.244e-06/0.182, allocations: 3.984 kB / 0.6465 GB, free: 4.793 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.435e-06/0.182, allocations: 0 / 0.6465 GB, free: 4.793 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000192/0.1822, allocations: 141.2 kB / 0.6467 GB, free: 4.625 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-06/0.1822, allocations: 0 / 0.6467 GB, free: 4.625 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001682/0.1823, allocations: 27.91 kB / 0.6467 GB, free: 4.598 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.1823, allocations: 0 / 0.6467 GB, free: 4.598 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.429e-05/0.1823, allocations: 8 kB / 0.6467 GB, free: 4.59 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.1823, allocations: 0 / 0.6467 GB, free: 4.59 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.1823, allocations: 0 / 0.6467 GB, free: 4.59 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005162/0.1829, allocations: 239.3 kB / 0.6469 GB, free: 4.34 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.619e-05/0.1829, allocations: 7.938 kB / 0.6469 GB, free: 4.332 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.831e-05/0.1829, allocations: 4 kB / 0.6469 GB, free: 4.328 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001517/0.183, allocations: 11.98 kB / 0.647 GB, free: 4.316 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.839e-05/0.1831, allocations: 19.97 kB / 0.647 GB, free: 4.297 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.381e-05/0.1831, allocations: 7.984 kB / 0.647 GB, free: 4.289 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.126e-05/0.1832, allocations: 91.7 kB / 0.6471 GB, free: 4.199 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.1832, allocations: 0 / 0.6471 GB, free: 4.199 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002412/0.1834, allocations: 19.95 kB / 0.6471 GB, free: 4.18 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: 3 (sub.y,reaToInt.y,reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0001116/0.1836, allocations: 107.1 kB / 0.6472 GB, free: 4.066 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004349/0.184, allocations: 95.91 kB / 0.6473 GB, free: 3.973 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.184, allocations: 0 / 0.6473 GB, free: 3.973 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002355/0.1842, allocations: 63.88 kB / 0.6473 GB, free: 3.91 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002993/0.1845, allocations: 16.33 kB / 0.6474 GB, free: 3.895 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004277/0.185, allocations: 178.1 kB / 0.6475 GB, free: 3.688 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.792e-05/0.185, allocations: 77.39 kB / 0.6476 GB, free: 3.594 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 6.471e-05/0.1851, allocations: 19.88 kB / 0.6476 GB, free: 3.574 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.026e-05/0.1852, allocations: 20.48 kB / 0.6476 GB, free: 3.555 MB / 0.545 GB Notification: Performance of SimCode: time 2.91e-07/0.1852, allocations: 0 / 0.6476 GB, free: 3.555 MB / 0.545 GB Notification: Performance of Templates: time 0.004632/0.1898, allocations: 1.695 MB / 0.6493 GB, free: 1.875 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Subtract.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Subtract.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Subtract.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Subtract.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Subtract.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Subtract -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Subtract.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.698370860074647] Failed to read output from testmodel.py, exit status != 0: 0.19823438301682472 0.21307026799999995 0.034082183 Calling exit ...