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.001276/0.001276, allocations: 103.8 kB / 20.49 MB, free: 1.32 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.001445/0.001445, allocations: 217.6 kB / 23.79 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.402/1.402, allocations: 230.6 MB / 257.6 MB, free: 7.742 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.9275/0.9275, allocations: 150 MB / 464 MB, free: 10.23 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.001984/0.001984, allocations: 66.66 kB / 0.6425 GB, free: 9.309 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1734/0.1754, allocations: 89.17 MB / 0.7296 GB, free: 220 kB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Integers.Validation.Switch): time 0.002007/0.1774, allocations: 0.782 MB / 0.7304 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001631/0.179, allocations: 1.303 MB / 0.7316 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.328e-05/0.1791, allocations: 4 kB / 0.7316 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 4.289e-05/0.1791, allocations: 11.86 kB / 0.7316 GB, free: 14.1 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 8.206e-05/0.1792, allocations: 31.72 kB / 0.7317 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007937/0.18, allocations: 317.5 kB / 0.732 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0003739/0.1804, allocations: 291.5 kB / 0.7323 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001118/0.1805, allocations: 33.61 kB / 0.7323 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001627/0.1807, allocations: 115.8 kB / 0.7324 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001667/0.1808, allocations: 99.59 kB / 0.7325 GB, free: 13.24 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 5.505e-05/0.1809, allocations: 28 kB / 0.7325 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 9.272e-05/0.181, allocations: 36 kB / 0.7325 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 3.018e-05/0.181, allocations: 19.92 kB / 0.7326 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001163/0.1811, allocations: 103.7 kB / 0.7327 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003075/0.1814, allocations: 271.1 kB / 0.7329 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.1814, allocations: 0 / 0.7329 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.493e-06/0.1814, allocations: 0 / 0.7329 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.976e-06/0.1814, allocations: 0 / 0.7329 GB, free: 12.79 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.00063/0.1821, allocations: 458.8 kB / 0.7334 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.174e-05/0.1821, allocations: 8.031 kB / 0.7334 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.035e-05/0.1822, allocations: 24.83 kB / 0.7334 GB, free: 12.26 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001214/0.1823, allocations: 127.7 kB / 0.7335 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.774e-05/0.1823, allocations: 16.12 kB / 0.7335 GB, free: 12.1 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.495e-05/0.1824, allocations: 20 kB / 0.7336 GB, free: 12.08 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001835/0.1825, allocations: 105.5 kB / 0.7337 GB, free: 11.97 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.604e-06/0.1826, allocations: 0 / 0.7337 GB, free: 11.97 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.078e-05/0.1826, allocations: 0 / 0.7337 GB, free: 11.97 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.1826, allocations: 4 kB / 0.7337 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.762e-05/0.1827, allocations: 43.98 kB / 0.7337 GB, free: 11.92 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000647/0.1833, allocations: 384.1 kB / 0.7341 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002003/0.1835, allocations: 58.56 kB / 0.7341 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.258e-05/0.1836, allocations: 28.97 kB / 0.7341 GB, free: 11.42 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.61e-05/0.1836, allocations: 4 kB / 0.7342 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001906/0.1838, allocations: 123.4 kB / 0.7343 GB, free: 11.28 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=14): time 1.483e-06/0.1838, allocations: 0 / 0.7343 GB, free: 11.28 MB / 0.5606 GB Notification: Performance of matching and sorting (n=14): time 0.0003394/0.1841, allocations: 165.5 kB / 0.7344 GB, free: 11.11 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.721e-05/0.1842, allocations: 59.34 kB / 0.7345 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001347/0.1843, allocations: 159.4 kB / 0.7346 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.277e-05/0.1843, allocations: 33.7 kB / 0.7347 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 9.587e-05/0.1844, allocations: 116.4 kB / 0.7348 GB, free: 10.72 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.753e-05/0.1845, allocations: 27.84 kB / 0.7348 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001327/0.1846, allocations: 77.66 kB / 0.7349 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001365/0.1847, allocations: 322.8 kB / 0.7352 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002564/0.185, allocations: 189 kB / 0.7354 GB, free: 10.09 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002953/0.1853, allocations: 237.2 kB / 0.7356 GB, free: 9.816 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000321/0.1856, allocations: 255 kB / 0.7358 GB, free: 9.527 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.564e-06/0.1856, allocations: 0 / 0.7358 GB, free: 9.527 MB / 0.5606 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0007093/0.1863, allocations: 0.4898 MB / 0.7363 GB, free: 8.996 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.608e-05/0.1864, allocations: 97.08 kB / 0.7364 GB, free: 8.883 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.795e-06/0.1864, allocations: 4 kB / 0.7364 GB, free: 8.879 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.208e-05/0.1864, allocations: 0 / 0.7364 GB, free: 8.879 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.754e-05/0.1865, allocations: 19.94 kB / 0.7364 GB, free: 8.859 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.112e-05/0.1865, allocations: 7.984 kB / 0.7364 GB, free: 8.852 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004645/0.187, allocations: 83.98 kB / 0.7365 GB, free: 8.77 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.248e-05/0.187, allocations: 23.98 kB / 0.7365 GB, free: 8.746 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.0001259/0.1871, allocations: 133.8 kB / 0.7367 GB, free: 8.605 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.511e-05/0.1871, allocations: 19.84 kB / 0.7367 GB, free: 8.586 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.4e-05/0.1872, allocations: 12.78 kB / 0.7367 GB, free: 8.57 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.741e-06/0.1872, allocations: 7.984 kB / 0.7367 GB, free: 8.562 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.1872, allocations: 0 / 0.7367 GB, free: 8.562 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.1872, allocations: 4 kB / 0.7367 GB, free: 8.559 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002065/0.1874, allocations: 145.3 kB / 0.7368 GB, free: 8.387 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-06/0.1874, allocations: 3.938 kB / 0.7369 GB, free: 8.383 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.419e-05/0.1874, allocations: 11.98 kB / 0.7369 GB, free: 8.371 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/0.1874, allocations: 3.938 kB / 0.7369 GB, free: 8.367 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.816e-06/0.1875, allocations: 0 / 0.7369 GB, free: 8.367 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/0.1875, allocations: 4 kB / 0.7369 GB, free: 8.363 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.1875, allocations: 3.938 kB / 0.7369 GB, free: 8.359 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002377/0.1877, allocations: 164.4 kB / 0.737 GB, free: 8.184 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.821e-05/0.1877, allocations: 15.83 kB / 0.737 GB, free: 8.168 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.994e-05/0.1877, allocations: 7.984 kB / 0.7371 GB, free: 8.16 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.932e-05/0.1878, allocations: 4 kB / 0.7371 GB, free: 8.156 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.136e-05/0.1878, allocations: 15.92 kB / 0.7371 GB, free: 8.141 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.759e-06/0.1878, allocations: 4 kB / 0.7371 GB, free: 8.137 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 7.398e-05/0.1879, allocations: 108.9 kB / 0.7372 GB, free: 8.031 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.1879, allocations: 0 / 0.7372 GB, free: 8.031 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002752/0.1882, allocations: 51.95 kB / 0.7372 GB, free: 7.98 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.0001375/0.1883, allocations: 107.2 kB / 0.7373 GB, free: 7.867 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0005449/0.1888, allocations: 440.5 kB / 0.7378 GB, free: 7.383 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.1888, allocations: 0 / 0.7378 GB, free: 7.383 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 8.165e-05/0.1889, allocations: 47.91 kB / 0.7378 GB, free: 7.336 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002578/0.1892, allocations: 35.77 kB / 0.7378 GB, free: 7.301 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004407/0.1896, allocations: 239.5 kB / 0.7381 GB, free: 7.039 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.682e-05/0.1897, allocations: 102.3 kB / 0.7382 GB, free: 6.918 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.684e-05/0.1898, allocations: 12.97 kB / 0.7382 GB, free: 6.906 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.078e-05/0.1898, allocations: 19.42 kB / 0.7382 GB, free: 6.887 MB / 0.5606 GB Notification: Performance of SimCode: time 2.9e-07/0.1898, allocations: 0 / 0.7382 GB, free: 6.887 MB / 0.5606 GB Notification: Performance of Templates: time 0.006207/0.196, allocations: 3.109 MB / 0.7412 GB, free: 3.855 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 -s gbode -gbnls=internal -gberr=embedded -gbm=radauIIA3 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Switch.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.462076192023233] Failed to read output from testmodel.py, exit status != 0: 0.2037377441301942 0.21800363900000003 0.033451720000000004 Calling exit ...