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.001312/0.001312, allocations: 75.52 kB / 20.51 MB, free: 1.281 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.001526/0.001526, allocations: 169.3 kB / 23.77 MB, free: 4.461 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.443/1.443, allocations: 177.2 MB / 204.1 MB, free: 8.969 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.97/0.97, allocations: 113.9 MB / 374.5 MB, free: 12.86 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.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.002147/0.002147, allocations: 65.64 kB / 0.5551 GB, free: 2.664 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.168/0.1701, allocations: 89.16 MB / 0.6421 GB, free: 9.477 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.Switch): time 0.002188/0.1723, allocations: 0.7381 MB / 0.6429 GB, free: 8.738 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001885/0.1742, allocations: 1.17 MB / 0.644 GB, free: 7.555 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.056e-05/0.1743, allocations: 0 / 0.644 GB, free: 7.555 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.656e-05/0.1743, allocations: 3.938 kB / 0.644 GB, free: 7.551 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 8.947e-05/0.1744, allocations: 19.86 kB / 0.644 GB, free: 7.531 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006073/0.175, allocations: 140.7 kB / 0.6442 GB, free: 7.398 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002615/0.1753, allocations: 123.8 kB / 0.6443 GB, free: 7.277 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001099/0.1754, allocations: 15.92 kB / 0.6443 GB, free: 7.262 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001437/0.1755, allocations: 59.89 kB / 0.6444 GB, free: 7.203 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001159/0.1756, allocations: 39.83 kB / 0.6444 GB, free: 7.164 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.205e-05/0.1757, allocations: 12 kB / 0.6444 GB, free: 7.152 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 8.861e-05/0.1758, allocations: 23.98 kB / 0.6444 GB, free: 7.129 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 3.748e-05/0.1758, allocations: 11.98 kB / 0.6444 GB, free: 7.117 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 8.574e-05/0.1759, allocations: 43.83 kB / 0.6445 GB, free: 7.074 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002282/0.1761, allocations: 123.5 kB / 0.6446 GB, free: 6.953 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.1761, allocations: 0 / 0.6446 GB, free: 6.953 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.322e-06/0.1761, allocations: 3.938 kB / 0.6446 GB, free: 6.949 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.062e-06/0.1761, allocations: 0 / 0.6446 GB, free: 6.949 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000685/0.1768, allocations: 355.7 kB / 0.6449 GB, free: 6.562 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.333e-05/0.1768, allocations: 8.031 kB / 0.645 GB, free: 6.555 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.741e-05/0.1769, allocations: 8.938 kB / 0.645 GB, free: 6.547 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001142/0.177, allocations: 114.4 kB / 0.6451 GB, free: 6.41 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.678e-05/0.177, allocations: 4.375 kB / 0.6451 GB, free: 6.406 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.93e-05/0.177, allocations: 8.375 kB / 0.6451 GB, free: 6.398 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002722/0.1773, allocations: 82.19 kB / 0.6452 GB, free: 6.312 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.172e-05/0.1773, allocations: 192 / 0.6452 GB, free: 6.312 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.157e-05/0.1773, allocations: 7.938 kB / 0.6452 GB, free: 6.305 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.1773, allocations: 0 / 0.6452 GB, free: 6.305 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003155/0.1777, allocations: 71.92 kB / 0.6452 GB, free: 6.234 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004424/0.1781, allocations: 260.3 kB / 0.6455 GB, free: 5.949 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002174/0.1783, allocations: 58.47 kB / 0.6455 GB, free: 5.883 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001704/0.1785, allocations: 44.91 kB / 0.6456 GB, free: 5.836 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.515e-05/0.1785, allocations: 0 / 0.6456 GB, free: 5.836 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003565/0.1789, allocations: 99.34 kB / 0.6457 GB, free: 5.727 MB / 0.545 GB Notification: Performance of pre-optimization done (n=6): time 1.433e-06/0.1789, allocations: 0 / 0.6457 GB, free: 5.727 MB / 0.545 GB Notification: Performance of matching and sorting (n=6): time 0.000654/0.1795, allocations: 169.5 kB / 0.6458 GB, free: 5.555 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.906e-05/0.1796, allocations: 55.41 kB / 0.6459 GB, free: 5.488 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001318/0.1797, allocations: 122.1 kB / 0.646 GB, free: 5.355 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.98e-05/0.1797, allocations: 29.64 kB / 0.646 GB, free: 5.32 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.012e-05/0.1798, allocations: 96.09 kB / 0.6461 GB, free: 5.223 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.539e-05/0.1798, allocations: 15.89 kB / 0.6461 GB, free: 5.207 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.37e-05/0.1799, allocations: 37.7 kB / 0.6462 GB, free: 5.164 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001546/0.1801, allocations: 314.8 kB / 0.6465 GB, free: 4.848 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002771/0.1804, allocations: 93.64 kB / 0.6466 GB, free: 4.75 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002576/0.1806, allocations: 116.2 kB / 0.6467 GB, free: 4.621 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003907/0.181, allocations: 144.3 kB / 0.6468 GB, free: 4.465 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.37e-06/0.181, allocations: 7.938 kB / 0.6468 GB, free: 4.457 MB / 0.545 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005792/0.1816, allocations: 248.9 kB / 0.6471 GB, free: 4.195 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 4.756e-05/0.1816, allocations: 33.7 kB / 0.6471 GB, free: 4.156 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.1816, allocations: 0 / 0.6471 GB, free: 4.156 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.566e-05/0.1817, allocations: 0 / 0.6471 GB, free: 4.156 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001417/0.1818, allocations: 27.97 kB / 0.6471 GB, free: 4.129 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.159e-06/0.1818, allocations: 0 / 0.6471 GB, free: 4.129 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002386/0.182, allocations: 43.89 kB / 0.6472 GB, free: 4.086 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.448e-05/0.1821, allocations: 8.078 kB / 0.6472 GB, free: 4.078 MB / 0.545 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.0001058/0.1822, allocations: 125.7 kB / 0.6473 GB, free: 3.945 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.13e-05/0.1822, allocations: 7.953 kB / 0.6473 GB, free: 3.938 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.941e-05/0.1822, allocations: 8.438 kB / 0.6473 GB, free: 3.93 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.1822, allocations: 0 / 0.6473 GB, free: 3.93 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.1822, allocations: 4 kB / 0.6473 GB, free: 3.926 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.1822, allocations: 0 / 0.6473 GB, free: 3.926 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001255/0.1824, allocations: 125.2 kB / 0.6474 GB, free: 3.773 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.1824, allocations: 0 / 0.6474 GB, free: 3.773 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001028/0.1825, allocations: 15.98 kB / 0.6474 GB, free: 3.758 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.1825, allocations: 0 / 0.6474 GB, free: 3.758 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.246e-05/0.1825, allocations: 4 kB / 0.6475 GB, free: 3.754 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.1825, allocations: 0 / 0.6475 GB, free: 3.754 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.1825, allocations: 0 / 0.6475 GB, free: 3.754 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004243/0.1829, allocations: 165.2 kB / 0.6476 GB, free: 3.574 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.945e-05/0.1829, allocations: 11.94 kB / 0.6476 GB, free: 3.562 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.633e-05/0.1829, allocations: 0 / 0.6476 GB, free: 3.562 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.688e-05/0.183, allocations: 11.98 kB / 0.6476 GB, free: 3.551 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.353e-05/0.1831, allocations: 7.984 kB / 0.6476 GB, free: 3.543 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.867e-06/0.1831, allocations: 4 kB / 0.6476 GB, free: 3.539 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.783e-05/0.1832, allocations: 95.2 kB / 0.6477 GB, free: 3.445 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.1832, allocations: 4 kB / 0.6477 GB, free: 3.441 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002256/0.1834, allocations: 28 kB / 0.6478 GB, free: 3.414 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 ($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.0001607/0.1835, allocations: 97.73 kB / 0.6479 GB, free: 3.312 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005491/0.1841, allocations: 204.9 kB / 0.6481 GB, free: 3.094 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.1841, allocations: 4 kB / 0.6481 GB, free: 3.09 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001817/0.1843, allocations: 40.09 kB / 0.6481 GB, free: 3.051 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002359/0.1845, allocations: 23.86 kB / 0.6481 GB, free: 3.027 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000403/0.1849, allocations: 170 kB / 0.6483 GB, free: 2.832 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.536e-05/0.185, allocations: 73.91 kB / 0.6484 GB, free: 2.742 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.612e-05/0.185, allocations: 8 kB / 0.6484 GB, free: 2.734 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.992e-05/0.1851, allocations: 12.5 kB / 0.6484 GB, free: 2.723 MB / 0.545 GB Notification: Performance of SimCode: time 3.81e-07/0.1851, allocations: 0 / 0.6484 GB, free: 2.723 MB / 0.545 GB Notification: Performance of Templates: time 0.004713/0.1898, allocations: 1.713 MB / 0.65 GB, free: 1.043 MB / 0.545 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 -s ida -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Switch.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.496720780036412] Failed to read output from testmodel.py, exit status != 0: 0.199402583995834 0.21624068299999996 0.036886832 Calling exit ...