Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.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.001386/0.001386, allocations: 100.4 kB / 20.45 MB, free: 1.25 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.001553/0.001553, allocations: 207 kB / 23.74 MB, free: 4.449 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.452/1.452, allocations: 230.6 MB / 257.5 MB, free: 7.824 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.9715/0.9715, allocations: 149.9 MB / 463.8 MB, free: 10.42 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.Reals.Validation.Switch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Switch") translateModel(IBPSA.Controls.OBC.CDL.Reals.Validation.Switch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.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.002166/0.002166, allocations: 72.47 kB / 0.6423 GB, free: 9.676 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1698/0.172, allocations: 89.17 MB / 0.7294 GB, free: 0.5781 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.Switch): time 0.002113/0.1741, allocations: 0.7607 MB / 0.7302 GB, free: 15.82 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001749/0.1758, allocations: 1.159 MB / 0.7313 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.813e-05/0.1759, allocations: 0 / 0.7313 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.283e-05/0.1759, allocations: 7.922 kB / 0.7313 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 8.518e-05/0.176, allocations: 15.88 kB / 0.7313 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005278/0.1765, allocations: 148.1 kB / 0.7315 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002094/0.1767, allocations: 123.8 kB / 0.7316 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 8.698e-05/0.1768, allocations: 11.98 kB / 0.7316 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001127/0.1769, allocations: 55.89 kB / 0.7316 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001017/0.177, allocations: 43.81 kB / 0.7317 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.452e-05/0.1771, allocations: 12 kB / 0.7317 GB, free: 14.24 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 8.847e-05/0.1772, allocations: 23.94 kB / 0.7317 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.941e-05/0.1772, allocations: 11.98 kB / 0.7317 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 7.692e-05/0.1773, allocations: 43.83 kB / 0.7318 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002307/0.1775, allocations: 123.6 kB / 0.7319 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.1775, allocations: 0 / 0.7319 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.572e-06/0.1775, allocations: 0 / 0.7319 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.812e-06/0.1775, allocations: 0 / 0.7319 GB, free: 14.04 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0008059/0.1783, allocations: 355.7 kB / 0.7322 GB, free: 13.65 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.34e-05/0.1784, allocations: 8.031 kB / 0.7322 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.476e-05/0.1784, allocations: 8.938 kB / 0.7322 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001524/0.1786, allocations: 114.5 kB / 0.7324 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.031e-05/0.1786, allocations: 4.375 kB / 0.7324 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.552e-05/0.1786, allocations: 12.38 kB / 0.7324 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002881/0.1789, allocations: 82.14 kB / 0.7325 GB, free: 13.4 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/0.1789, allocations: 192 / 0.7325 GB, free: 13.4 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.374e-05/0.1789, allocations: 3.938 kB / 0.7325 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.179, allocations: 0 / 0.7325 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003108/0.1793, allocations: 79.89 kB / 0.7325 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005579/0.1798, allocations: 260.3 kB / 0.7328 GB, free: 13.03 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002144/0.18, allocations: 62.41 kB / 0.7328 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001604/0.1802, allocations: 36.92 kB / 0.7329 GB, free: 12.92 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.601e-05/0.1802, allocations: 0 / 0.7329 GB, free: 12.92 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003321/0.1806, allocations: 99.28 kB / 0.733 GB, free: 12.81 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=6): time 1.262e-06/0.1806, allocations: 4 kB / 0.733 GB, free: 12.81 MB / 0.5606 GB Notification: Performance of matching and sorting (n=6): time 0.0006289/0.1812, allocations: 165.5 kB / 0.7331 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.029e-05/0.1812, allocations: 55.39 kB / 0.7332 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001215/0.1814, allocations: 122.1 kB / 0.7333 GB, free: 12.44 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.901e-05/0.1814, allocations: 25.7 kB / 0.7333 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 8.288e-05/0.1815, allocations: 104.1 kB / 0.7334 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.328e-05/0.1815, allocations: 11.91 kB / 0.7334 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.471e-05/0.1816, allocations: 33.7 kB / 0.7335 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001561/0.1817, allocations: 318.8 kB / 0.7338 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000264/0.182, allocations: 85.66 kB / 0.7339 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002483/0.1822, allocations: 112.2 kB / 0.734 GB, free: 11.72 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003907/0.1826, allocations: 152.2 kB / 0.7341 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.549e-06/0.1826, allocations: 3.938 kB / 0.7341 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005728/0.1832, allocations: 245.1 kB / 0.7343 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.542e-05/0.1833, allocations: 41.75 kB / 0.7344 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.1833, allocations: 64 / 0.7344 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.575e-05/0.1833, allocations: 4 kB / 0.7344 GB, free: 11.24 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001293/0.1834, allocations: 15.98 kB / 0.7344 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.95e-06/0.1834, allocations: 0 / 0.7344 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000238/0.1836, allocations: 43.89 kB / 0.7344 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.375e-05/0.1837, allocations: 7.984 kB / 0.7345 GB, free: 11.18 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,booPul.y,$PRE.booPul.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): 6 * Array equations: 0 * Algorithm blocks: 1 * 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.0001092/0.1838, allocations: 129.7 kB / 0.7346 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.666e-05/0.1838, allocations: 7.953 kB / 0.7346 GB, free: 11.03 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.064e-05/0.1838, allocations: 8.375 kB / 0.7346 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.1838, allocations: 0 / 0.7346 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.918e-06/0.1838, allocations: 0 / 0.7346 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-06/0.1838, allocations: 3.984 kB / 0.7346 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001288/0.184, allocations: 121.2 kB / 0.7347 GB, free: 10.87 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.184, allocations: 0 / 0.7347 GB, free: 10.87 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001046/0.1841, allocations: 15.98 kB / 0.7347 GB, free: 10.86 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.829e-06/0.1841, allocations: 3.984 kB / 0.7347 GB, free: 10.85 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.266e-06/0.1841, allocations: 4 kB / 0.7347 GB, free: 10.85 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.1841, allocations: 4 kB / 0.7347 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.1841, allocations: 176 / 0.7347 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004089/0.1845, allocations: 156.9 kB / 0.7349 GB, free: 10.67 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.319e-05/0.1845, allocations: 11.89 kB / 0.7349 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.652e-05/0.1845, allocations: 0 / 0.7349 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.721e-05/0.1846, allocations: 19.92 kB / 0.7349 GB, free: 10.64 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.195e-05/0.1847, allocations: 7.984 kB / 0.7349 GB, free: 10.63 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.696e-06/0.1847, allocations: 4 kB / 0.7349 GB, free: 10.63 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 6.288e-05/0.1847, allocations: 92.52 kB / 0.735 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.1847, allocations: 0 / 0.735 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002232/0.185, allocations: 24 kB / 0.735 GB, free: 10.52 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: 3 ($whenCondition1,$whenCondition2,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001592/0.1851, allocations: 99.23 kB / 0.7351 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0005263/0.1856, allocations: 209 kB / 0.7353 GB, free: 10.19 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.1856, allocations: 0 / 0.7353 GB, free: 10.19 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.000199/0.1858, allocations: 48.08 kB / 0.7354 GB, free: 10.14 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002236/0.1861, allocations: 19.92 kB / 0.7354 GB, free: 10.12 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000427/0.1865, allocations: 199.8 kB / 0.7356 GB, free: 9.891 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.535e-05/0.1866, allocations: 71.34 kB / 0.7357 GB, free: 9.801 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.646e-05/0.1866, allocations: 11.44 kB / 0.7357 GB, free: 9.789 MB / 0.5606 GB Notification: Performance of SimCode: time 3.2e-07/0.1866, allocations: 0 / 0.7357 GB, free: 9.789 MB / 0.5606 GB Notification: Performance of Templates: time 0.003392/0.19, allocations: 1.349 MB / 0.737 GB, free: 8.457 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Switch.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Switch.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Switch.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Switch.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Switch.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Switch -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Switch.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.09295164886862] Failed to read output from testmodel.py, exit status != 0: 0.19837105693295598 0.21388811099999996 0.03323325999999994 Calling exit ...