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.001341/0.001341, allocations: 75.05 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.001454/0.001454, allocations: 166.7 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.415/1.415, 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.9282/0.9282, allocations: 113.9 MB / 374.5 MB, free: 12.89 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.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.002201/0.002201, allocations: 70.81 kB / 0.555 GB, free: 2.711 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1779/0.1801, allocations: 89.14 MB / 0.6421 GB, free: 9.516 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Integers.Validation.Switch): time 0.002225/0.1823, allocations: 0.7854 MB / 0.6429 GB, free: 8.734 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001896/0.1842, allocations: 1.295 MB / 0.6441 GB, free: 7.426 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.403e-05/0.1843, allocations: 4 kB / 0.6441 GB, free: 7.422 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 4.589e-05/0.1843, allocations: 15.8 kB / 0.6442 GB, free: 7.406 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 9.453e-05/0.1844, allocations: 23.8 kB / 0.6442 GB, free: 7.383 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009338/0.1853, allocations: 325.7 kB / 0.6445 GB, free: 7.074 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0004174/0.1858, allocations: 283.5 kB / 0.6448 GB, free: 6.797 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001284/0.1859, allocations: 41.59 kB / 0.6448 GB, free: 6.754 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002028/0.1861, allocations: 107.8 kB / 0.6449 GB, free: 6.648 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002077/0.1863, allocations: 99.61 kB / 0.645 GB, free: 6.551 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 6.328e-05/0.1864, allocations: 32 kB / 0.645 GB, free: 6.52 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001037/0.1865, allocations: 39.97 kB / 0.6451 GB, free: 6.48 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 3.767e-05/0.1865, allocations: 27.86 kB / 0.6451 GB, free: 6.453 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001451/0.1867, allocations: 95.73 kB / 0.6452 GB, free: 6.359 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003919/0.187, allocations: 271 kB / 0.6454 GB, free: 6.094 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.187, allocations: 0 / 0.6454 GB, free: 6.094 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.054e-06/0.1871, allocations: 0 / 0.6454 GB, free: 6.094 MB / 0.545 GB Notification: Performance of Transformations before backend: time 8.226e-06/0.1871, allocations: 0 / 0.6454 GB, free: 6.094 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0007478/0.1878, allocations: 454.9 kB / 0.6459 GB, free: 5.602 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.592e-05/0.1878, allocations: 8.031 kB / 0.6459 GB, free: 5.594 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.002e-05/0.1879, allocations: 24.84 kB / 0.6459 GB, free: 5.57 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001295/0.1881, allocations: 138.8 kB / 0.646 GB, free: 5.41 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.533e-05/0.1881, allocations: 20.12 kB / 0.6461 GB, free: 5.391 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.775e-05/0.1881, allocations: 20 kB / 0.6461 GB, free: 5.371 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000186/0.1883, allocations: 88.19 kB / 0.6462 GB, free: 5.281 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.1883, allocations: 0 / 0.6462 GB, free: 5.281 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.527e-05/0.1884, allocations: 7.984 kB / 0.6462 GB, free: 5.273 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.167e-05/0.1884, allocations: 4 kB / 0.6462 GB, free: 5.27 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001066/0.1885, allocations: 43.98 kB / 0.6462 GB, free: 5.227 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006659/0.1891, allocations: 380.1 kB / 0.6466 GB, free: 4.824 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002481/0.1894, allocations: 74.48 kB / 0.6466 GB, free: 4.742 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.697e-05/0.1894, allocations: 28.97 kB / 0.6467 GB, free: 4.711 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.579e-05/0.1895, allocations: 4 kB / 0.6467 GB, free: 4.707 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002295/0.1897, allocations: 107.5 kB / 0.6468 GB, free: 4.59 MB / 0.545 GB Notification: Performance of pre-optimization done (n=14): time 1.292e-06/0.1897, allocations: 0 / 0.6468 GB, free: 4.59 MB / 0.545 GB Notification: Performance of matching and sorting (n=14): time 0.0003955/0.1901, allocations: 177.5 kB / 0.6469 GB, free: 4.41 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.696e-05/0.1901, allocations: 55.41 kB / 0.647 GB, free: 4.344 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000142/0.1903, allocations: 154.8 kB / 0.6471 GB, free: 4.184 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.031e-05/0.1903, allocations: 33.7 kB / 0.6472 GB, free: 4.145 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001001/0.1904, allocations: 120.5 kB / 0.6473 GB, free: 4.023 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.157e-05/0.1904, allocations: 27.84 kB / 0.6473 GB, free: 3.996 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001363/0.1906, allocations: 73.66 kB / 0.6474 GB, free: 3.918 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001617/0.1907, allocations: 326.8 kB / 0.6477 GB, free: 3.59 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002928/0.191, allocations: 185 kB / 0.6479 GB, free: 3.391 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003109/0.1914, allocations: 235 kB / 0.6481 GB, free: 3.121 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003475/0.1917, allocations: 257.2 kB / 0.6483 GB, free: 2.832 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.1917, allocations: 0 / 0.6483 GB, free: 2.832 MB / 0.545 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0007373/0.1924, allocations: 0.4916 MB / 0.6488 GB, free: 2.297 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 8.398e-05/0.1925, allocations: 97.08 kB / 0.6489 GB, free: 2.184 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.088e-05/0.1925, allocations: 4 kB / 0.6489 GB, free: 2.18 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.578e-05/0.1925, allocations: 0 / 0.6489 GB, free: 2.18 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.306e-05/0.1926, allocations: 15.94 kB / 0.6489 GB, free: 2.164 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.982e-06/0.1926, allocations: 0 / 0.6489 GB, free: 2.164 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004833/0.1931, allocations: 87.98 kB / 0.649 GB, free: 2.078 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.464e-05/0.1931, allocations: 27.92 kB / 0.6491 GB, free: 2.051 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: 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.0001351/0.1933, allocations: 141 kB / 0.6492 GB, free: 1.906 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.834e-05/0.1933, allocations: 19.84 kB / 0.6492 GB, free: 1.887 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.297e-05/0.1933, allocations: 12.78 kB / 0.6492 GB, free: 1.871 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.529e-06/0.1933, allocations: 4 kB / 0.6492 GB, free: 1.867 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.1934, allocations: 0 / 0.6492 GB, free: 1.867 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.1934, allocations: 0 / 0.6492 GB, free: 1.867 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001655/0.1935, allocations: 153.2 kB / 0.6494 GB, free: 1.688 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.1935, allocations: 0 / 0.6494 GB, free: 1.688 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.04e-05/0.1936, allocations: 11.98 kB / 0.6494 GB, free: 1.676 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/0.1936, allocations: 3.938 kB / 0.6494 GB, free: 1.672 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.155e-05/0.1936, allocations: 4 kB / 0.6494 GB, free: 1.668 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/0.1936, allocations: 4 kB / 0.6494 GB, free: 1.664 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.1936, allocations: 3.938 kB / 0.6494 GB, free: 1.66 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000258/0.1939, allocations: 167.3 kB / 0.6496 GB, free: 1.48 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.763e-05/0.1939, allocations: 11.89 kB / 0.6496 GB, free: 1.469 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.816e-05/0.1939, allocations: 11.98 kB / 0.6496 GB, free: 1.457 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.304e-05/0.1939, allocations: 4 kB / 0.6496 GB, free: 1.453 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.422e-05/0.194, allocations: 15.97 kB / 0.6496 GB, free: 1.438 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.002e-05/0.194, allocations: 4 kB / 0.6496 GB, free: 1.434 MB / 0.545 GB Notification: Performance of sorting global known variables: time 8.032e-05/0.1941, allocations: 108.9 kB / 0.6497 GB, free: 1.328 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.1941, allocations: 0 / 0.6497 GB, free: 1.328 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002892/0.1944, allocations: 51.95 kB / 0.6498 GB, free: 1.277 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: 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.0001555/0.1945, allocations: 107.2 kB / 0.6499 GB, free: 1.164 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005981/0.1951, allocations: 443.1 kB / 0.6503 GB, free: 0.6758 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.1951, allocations: 0 / 0.6503 GB, free: 0.6758 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 7.86e-05/0.1952, allocations: 39.98 kB / 0.6503 GB, free: 0.6367 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002774/0.1955, allocations: 33.97 kB / 0.6503 GB, free: 0.6055 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004966/0.196, allocations: 251.7 kB / 0.6506 GB, free: 340 kB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.73e-05/0.196, allocations: 90.28 kB / 0.6507 GB, free: 228 kB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.102e-05/0.1961, allocations: 12.97 kB / 0.6507 GB, free: 216 kB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.099e-05/0.1961, allocations: 16.5 kB / 0.6507 GB, free: 200 kB / 0.545 GB Notification: Performance of SimCode: time 3.31e-07/0.1961, allocations: 3.938 kB / 0.6507 GB, free: 196 kB / 0.545 GB Notification: Performance of Templates: time 0.00679/0.2029, allocations: 3.023 MB / 0.6537 GB, free: 13.23 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 ida -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Switch.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.342236284050159] Failed to read output from testmodel.py, exit status != 0: 0.2112784980563447 0.22568541499999994 0.035668858000000005 Calling exit ...