Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.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.00133/0.00133, allocations: 71.75 kB / 20.51 MB, free: 1.273 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.001428/0.001428, allocations: 162.7 kB / 23.76 MB, free: 4.453 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.423/1.423, 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.9269/0.9269, 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.Logical.Validation.Switch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Switch") translateModel(IBPSA.Controls.OBC.CDL.Logical.Validation.Switch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.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.002144/0.002144, allocations: 66.42 kB / 0.555 GB, free: 2.727 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1728/0.1749, allocations: 89.15 MB / 0.6421 GB, free: 9.543 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Validation.Switch): time 0.00191/0.1769, allocations: 0.6567 MB / 0.6427 GB, free: 8.887 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001685/0.1785, allocations: 1.288 MB / 0.644 GB, free: 7.586 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.804e-05/0.1786, allocations: 0 / 0.644 GB, free: 7.586 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.23e-05/0.1786, allocations: 3.938 kB / 0.644 GB, free: 7.582 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 7.833e-05/0.1787, allocations: 23.84 kB / 0.644 GB, free: 7.559 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.000784/0.1795, allocations: 309.8 kB / 0.6443 GB, free: 7.266 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0003124/0.1798, allocations: 255.5 kB / 0.6446 GB, free: 7.016 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 9.629e-05/0.1799, allocations: 20.16 kB / 0.6446 GB, free: 6.992 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001341/0.18, allocations: 95.88 kB / 0.6447 GB, free: 6.898 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000166/0.1802, allocations: 83.69 kB / 0.6448 GB, free: 6.816 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 4.819e-05/0.1802, allocations: 23.98 kB / 0.6448 GB, free: 6.793 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 8.397e-05/0.1803, allocations: 35.98 kB / 0.6448 GB, free: 6.758 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.826e-05/0.1804, allocations: 15.98 kB / 0.6448 GB, free: 6.742 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001097/0.1805, allocations: 75.81 kB / 0.6449 GB, free: 6.668 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002736/0.1807, allocations: 223.3 kB / 0.6451 GB, free: 6.449 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.1807, allocations: 0 / 0.6451 GB, free: 6.449 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.352e-06/0.1807, allocations: 0 / 0.6451 GB, free: 6.449 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.779e-06/0.1807, allocations: 3.938 kB / 0.6451 GB, free: 6.445 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.0005728/0.1813, allocations: 427.1 kB / 0.6455 GB, free: 5.98 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.66e-05/0.1814, allocations: 8.031 kB / 0.6455 GB, free: 5.973 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.527e-05/0.1814, allocations: 16.89 kB / 0.6455 GB, free: 5.957 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001076/0.1815, allocations: 114.5 kB / 0.6457 GB, free: 5.82 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.578e-05/0.1816, allocations: 8.375 kB / 0.6457 GB, free: 5.812 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.377e-05/0.1816, allocations: 16.38 kB / 0.6457 GB, free: 5.797 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001301/0.1817, allocations: 62.2 kB / 0.6457 GB, free: 5.73 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/0.1817, allocations: 3.938 kB / 0.6457 GB, free: 5.727 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.359e-05/0.1818, allocations: 8 kB / 0.6458 GB, free: 5.719 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.1818, allocations: 0 / 0.6458 GB, free: 5.719 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.276e-05/0.1818, allocations: 19.92 kB / 0.6458 GB, free: 5.699 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000542/0.1824, allocations: 320.3 kB / 0.6461 GB, free: 5.355 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 7.297e-05/0.1824, allocations: 30.61 kB / 0.6461 GB, free: 5.316 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.514e-05/0.1825, allocations: 16.84 kB / 0.6461 GB, free: 5.297 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.38e-05/0.1825, allocations: 4 kB / 0.6461 GB, free: 5.293 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001947/0.1827, allocations: 107.2 kB / 0.6462 GB, free: 5.176 MB / 0.545 GB Notification: Performance of pre-optimization done (n=10): time 1.473e-06/0.1827, allocations: 4 kB / 0.6462 GB, free: 5.172 MB / 0.545 GB Notification: Performance of matching and sorting (n=10): time 0.000392/0.1831, allocations: 145.8 kB / 0.6464 GB, free: 5.023 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.247e-05/0.1831, allocations: 51.5 kB / 0.6464 GB, free: 4.961 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001764/0.1833, allocations: 136.9 kB / 0.6466 GB, free: 4.82 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.531e-05/0.1834, allocations: 33.7 kB / 0.6466 GB, free: 4.781 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001125/0.1835, allocations: 108.1 kB / 0.6467 GB, free: 4.672 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.026e-05/0.1835, allocations: 15.86 kB / 0.6467 GB, free: 4.656 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000202/0.1837, allocations: 69.67 kB / 0.6468 GB, free: 4.582 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001912/0.1839, allocations: 318.8 kB / 0.6471 GB, free: 4.262 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004103/0.1843, allocations: 177 kB / 0.6472 GB, free: 4.07 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004691/0.1848, allocations: 237.6 kB / 0.6475 GB, free: 3.801 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004568/0.1852, allocations: 235 kB / 0.6477 GB, free: 3.531 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.1852, allocations: 0 / 0.6477 GB, free: 3.531 MB / 0.545 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001082/0.1863, allocations: 483.6 kB / 0.6482 GB, free: 3.016 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001254/0.1864, allocations: 97.09 kB / 0.6482 GB, free: 2.902 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.598e-06/0.1864, allocations: 4 kB / 0.6482 GB, free: 2.898 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.058e-05/0.1865, allocations: 0 / 0.6482 GB, free: 2.898 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.364e-05/0.1865, allocations: 4 kB / 0.6483 GB, free: 2.895 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.026e-05/0.1865, allocations: 7.984 kB / 0.6483 GB, free: 2.887 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005019/0.187, allocations: 83.8 kB / 0.6483 GB, free: 2.805 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.416e-05/0.1871, allocations: 23.98 kB / 0.6484 GB, free: 2.781 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,logicalSwitch.y,booPul3.y,$PRE.booPul3.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 10 * 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.0001345/0.1872, allocations: 129.7 kB / 0.6485 GB, free: 2.645 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.064e-05/0.1872, allocations: 11.94 kB / 0.6485 GB, free: 2.633 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.41e-05/0.1872, allocations: 8.438 kB / 0.6485 GB, free: 2.625 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.508e-06/0.1873, allocations: 4 kB / 0.6485 GB, free: 2.621 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.1873, allocations: 0 / 0.6485 GB, free: 2.621 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.534e-06/0.1873, allocations: 3.984 kB / 0.6485 GB, free: 2.617 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001517/0.1874, allocations: 125.2 kB / 0.6486 GB, free: 2.465 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.1874, allocations: 8 kB / 0.6486 GB, free: 2.457 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.243e-05/0.1874, allocations: 3.984 kB / 0.6486 GB, free: 2.453 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.1874, allocations: 0 / 0.6486 GB, free: 2.453 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.269e-05/0.1874, allocations: 4 kB / 0.6486 GB, free: 2.449 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.1874, allocations: 0 / 0.6486 GB, free: 2.449 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.1874, allocations: 0 / 0.6486 GB, free: 2.449 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002167/0.1877, allocations: 144.9 kB / 0.6488 GB, free: 2.289 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.788e-05/0.1877, allocations: 15.89 kB / 0.6488 GB, free: 2.273 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.638e-05/0.1877, allocations: 0 / 0.6488 GB, free: 2.273 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.766e-05/0.1877, allocations: 8.094 kB / 0.6488 GB, free: 2.266 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.355e-05/0.1878, allocations: 11.92 kB / 0.6488 GB, free: 2.254 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.198e-05/0.1878, allocations: 7.984 kB / 0.6488 GB, free: 2.246 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.611e-05/0.1878, allocations: 99.27 kB / 0.6489 GB, free: 2.148 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.1878, allocations: 0 / 0.6489 GB, free: 2.148 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002659/0.1881, allocations: 47.94 kB / 0.649 GB, free: 2.102 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: 10 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,booPul3.y,logicalSwitch.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 7 * 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.000152/0.1883, allocations: 95.25 kB / 0.6491 GB, free: 2 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.000534/0.1888, allocations: 419.2 kB / 0.6495 GB, free: 1.535 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.1888, allocations: 0 / 0.6495 GB, free: 1.535 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 6.43e-05/0.1889, allocations: 36.3 kB / 0.6495 GB, free: 1.5 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002768/0.1891, allocations: 35.91 kB / 0.6495 GB, free: 1.465 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004273/0.1896, allocations: 187 kB / 0.6497 GB, free: 1.25 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.005e-05/0.1897, allocations: 83.81 kB / 0.6498 GB, free: 1.145 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.155e-05/0.1897, allocations: 8.5 kB / 0.6498 GB, free: 1.137 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.414e-05/0.1897, allocations: 16.5 kB / 0.6498 GB, free: 1.121 MB / 0.545 GB Notification: Performance of SimCode: time 3.51e-07/0.1897, allocations: 0 / 0.6498 GB, free: 1.121 MB / 0.545 GB Notification: Performance of Templates: time 0.006245/0.196, allocations: 2.928 MB / 0.6527 GB, free: 14.26 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Switch.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Switch.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Switch.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Switch.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Switch.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Switch -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Switch.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.363874697941355] Failed to read output from testmodel.py, exit status != 0: 0.20427184307482094 0.21894690800000002 0.035104329000000004 Calling exit ...