Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Switch.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.001388/0.001388, allocations: 96.42 kB / 20.45 MB, free: 1.262 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.001513/0.001513, allocations: 211.7 kB / 23.75 MB, free: 4.445 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.485/1.485, allocations: 230.6 MB / 257.5 MB, free: 7.789 MB / 206.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.9677/0.9677, allocations: 149.9 MB / 463.8 MB, free: 10.86 MB / 366.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.Switch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Switch") translateModel(IBPSA.Controls.OBC.CDL.Integers.Validation.Switch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Switch") [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.002194/0.002194, allocations: 67.83 kB / 0.6423 GB, free: 9.777 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1708/0.173, allocations: 89.18 MB / 0.7294 GB, free: 0.668 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Integers.Validation.Switch): time 0.001957/0.175, allocations: 0.7754 MB / 0.7301 GB, free: 15.9 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001708/0.1767, allocations: 1.315 MB / 0.7314 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.885e-05/0.1767, allocations: 4 kB / 0.7314 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 4.476e-05/0.1768, allocations: 11.81 kB / 0.7314 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 9.56e-05/0.1769, allocations: 19.78 kB / 0.7315 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008457/0.1777, allocations: 315.7 kB / 0.7318 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0003328/0.1781, allocations: 295.5 kB / 0.732 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001212/0.1782, allocations: 29.62 kB / 0.7321 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001484/0.1783, allocations: 119.7 kB / 0.7322 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001829/0.1785, allocations: 99.66 kB / 0.7323 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 5.396e-05/0.1786, allocations: 24 kB / 0.7323 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001018/0.1787, allocations: 32 kB / 0.7323 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 3.499e-05/0.1787, allocations: 23.92 kB / 0.7324 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.000118/0.1788, allocations: 99.67 kB / 0.7325 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003318/0.1791, allocations: 283 kB / 0.7327 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.1792, allocations: 0 / 0.7327 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of FrontEnd: time 3.287e-06/0.1792, allocations: 4 kB / 0.7327 GB, free: 13.24 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.38e-06/0.1792, allocations: 0 / 0.7327 GB, free: 13.24 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0006546/0.1798, allocations: 458.8 kB / 0.7332 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.263e-05/0.1798, allocations: 8.031 kB / 0.7332 GB, free: 12.74 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.198e-05/0.1799, allocations: 24.83 kB / 0.7332 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001171/0.18, allocations: 124.6 kB / 0.7333 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.142e-05/0.1801, allocations: 16.12 kB / 0.7333 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.548e-05/0.1801, allocations: 16 kB / 0.7333 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001815/0.1803, allocations: 93.59 kB / 0.7334 GB, free: 12.44 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.1803, allocations: 8 kB / 0.7334 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.312e-05/0.1803, allocations: 3.984 kB / 0.7335 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.1803, allocations: 0 / 0.7335 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001032/0.1804, allocations: 47.98 kB / 0.7335 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006495/0.1811, allocations: 384.1 kB / 0.7339 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002243/0.1813, allocations: 66.56 kB / 0.7339 GB, free: 11.9 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.413e-05/0.1814, allocations: 24.91 kB / 0.7339 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.167e-05/0.1814, allocations: 0 / 0.7339 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002289/0.1816, allocations: 119.5 kB / 0.7341 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=14): time 1.242e-06/0.1816, allocations: 0 / 0.7341 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of matching and sorting (n=14): time 0.0003699/0.182, allocations: 179.4 kB / 0.7342 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.103e-05/0.182, allocations: 55.41 kB / 0.7343 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001328/0.1822, allocations: 150.5 kB / 0.7344 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.62e-05/0.1822, allocations: 37.7 kB / 0.7345 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 9.281e-05/0.1823, allocations: 116.4 kB / 0.7346 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.407e-05/0.1823, allocations: 35.8 kB / 0.7346 GB, free: 11.15 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001353/0.1825, allocations: 73.67 kB / 0.7347 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001456/0.1826, allocations: 322.8 kB / 0.735 GB, free: 10.75 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002778/0.1829, allocations: 185 kB / 0.7352 GB, free: 10.55 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003003/0.1832, allocations: 239 kB / 0.7354 GB, free: 10.27 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003265/0.1835, allocations: 257.3 kB / 0.7356 GB, free: 9.984 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.1835, allocations: 4 kB / 0.7356 GB, free: 9.98 MB / 0.5606 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0007197/0.1842, allocations: 499.5 kB / 0.7361 GB, free: 9.449 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 8.212e-05/0.1843, allocations: 101.1 kB / 0.7362 GB, free: 9.332 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.179e-06/0.1843, allocations: 0 / 0.7362 GB, free: 9.332 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.451e-05/0.1843, allocations: 4 kB / 0.7362 GB, free: 9.328 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.86e-05/0.1844, allocations: 11.94 kB / 0.7362 GB, free: 9.316 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.327e-06/0.1844, allocations: 7.984 kB / 0.7362 GB, free: 9.309 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000463/0.1849, allocations: 87.89 kB / 0.7363 GB, free: 9.223 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.053e-05/0.1849, allocations: 15.98 kB / 0.7363 GB, free: 9.207 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 17 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booToInt1.y,booToInt.y,booPul3.y,$PRE.booPul3.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.y,integerSwitch.y,integerSwitch.u3,integerSwitch.u1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 3 * 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.0001255/0.185, allocations: 137.8 kB / 0.7365 GB, free: 9.062 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.453e-05/0.1851, allocations: 19.78 kB / 0.7365 GB, free: 9.043 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.835e-05/0.1851, allocations: 24.7 kB / 0.7365 GB, free: 9.016 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.1851, allocations: 0 / 0.7365 GB, free: 9.016 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.251e-06/0.1851, allocations: 4 kB / 0.7365 GB, free: 9.012 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.1851, allocations: 0 / 0.7365 GB, free: 9.012 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001559/0.1853, allocations: 141.3 kB / 0.7367 GB, free: 8.844 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.801e-06/0.1853, allocations: 11.98 kB / 0.7367 GB, free: 8.832 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.21e-05/0.1853, allocations: 8 kB / 0.7367 GB, free: 8.824 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/0.1853, allocations: 3.938 kB / 0.7367 GB, free: 8.82 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.598e-06/0.1853, allocations: 0 / 0.7367 GB, free: 8.82 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.1853, allocations: 0 / 0.7367 GB, free: 8.82 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.1853, allocations: 0 / 0.7367 GB, free: 8.82 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002408/0.1856, allocations: 168.9 kB / 0.7368 GB, free: 8.637 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.831e-05/0.1856, allocations: 15.83 kB / 0.7368 GB, free: 8.621 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.386e-05/0.1856, allocations: 3.984 kB / 0.7369 GB, free: 8.617 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.362e-05/0.1856, allocations: 8 kB / 0.7369 GB, free: 8.609 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.278e-05/0.1857, allocations: 11.98 kB / 0.7369 GB, free: 8.598 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.141e-05/0.1857, allocations: 8 kB / 0.7369 GB, free: 8.59 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001056/0.1858, allocations: 109.1 kB / 0.737 GB, free: 8.484 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7.1e-08/0.1858, allocations: 0 / 0.737 GB, free: 8.484 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002644/0.1861, allocations: 51.95 kB / 0.737 GB, free: 8.434 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,integerSwitch.u1,integerSwitch.u3,integerSwitch.y,booPul1.y,booPul2.y,booPul3.y,booToInt.y,booToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 11 * 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.0001487/0.1862, allocations: 105.8 kB / 0.7371 GB, free: 8.324 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0006276/0.1868, allocations: 442.2 kB / 0.7376 GB, free: 7.84 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.1868, allocations: 384 / 0.7376 GB, free: 7.84 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001365/0.187, allocations: 51.92 kB / 0.7376 GB, free: 7.789 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002636/0.1872, allocations: 34.42 kB / 0.7376 GB, free: 7.758 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004825/0.1877, allocations: 269.2 kB / 0.7379 GB, free: 7.461 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.995e-05/0.1878, allocations: 102.3 kB / 0.738 GB, free: 7.34 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.469e-05/0.1879, allocations: 15.44 kB / 0.738 GB, free: 7.324 MB / 0.5606 GB Notification: Performance of SimCode: time 3.01e-07/0.1879, allocations: 0 / 0.738 GB, free: 7.324 MB / 0.5606 GB Notification: Performance of Templates: time 0.004417/0.1923, allocations: 2.254 MB / 0.7402 GB, free: 5.082 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Switch.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Switch.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Switch.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Switch.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Switch.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Switch -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Switch.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.094634377863258] Failed to read output from testmodel.py, exit status != 0: 0.20038160402327776 0.215782213 0.033420672000000005 Calling exit ...