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: 103.8 kB / 20.49 MB, free: 1.316 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: 213.6 kB / 23.79 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.392/1.392, allocations: 230.6 MB / 257.6 MB, free: 7.777 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.9355/0.9355, allocations: 150 MB / 464 MB, free: 10.2 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.002035/0.002035, allocations: 66.09 kB / 0.6425 GB, free: 9.273 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1781/0.1802, allocations: 89.18 MB / 0.7296 GB, free: 168 kB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.Switch): time 0.002063/0.1822, allocations: 0.7515 MB / 0.7304 GB, free: 15.41 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001644/0.1839, allocations: 1.171 MB / 0.7315 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.994e-05/0.1839, allocations: 3.938 kB / 0.7315 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.374e-05/0.1839, allocations: 7.938 kB / 0.7315 GB, free: 14.22 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 7.627e-05/0.184, allocations: 11.88 kB / 0.7315 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004993/0.1845, allocations: 137.6 kB / 0.7317 GB, free: 14.08 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002129/0.1847, allocations: 131.7 kB / 0.7318 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 9.101e-05/0.1848, allocations: 8 kB / 0.7318 GB, free: 13.94 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 9.904e-05/0.1849, allocations: 51.91 kB / 0.7318 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001033/0.185, allocations: 47.8 kB / 0.7319 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.193e-05/0.1851, allocations: 16 kB / 0.7319 GB, free: 13.83 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 7.331e-05/0.1851, allocations: 23.98 kB / 0.7319 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.631e-05/0.1852, allocations: 11.94 kB / 0.7319 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 7.48e-05/0.1852, allocations: 39.91 kB / 0.732 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002023/0.1854, allocations: 119.6 kB / 0.7321 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.1854, allocations: 0 / 0.7321 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.934e-06/0.1854, allocations: 0 / 0.7321 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.497e-06/0.1855, allocations: 0 / 0.7321 GB, free: 13.64 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.0007153/0.1862, allocations: 355.7 kB / 0.7324 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.741e-05/0.1862, allocations: 12.03 kB / 0.7324 GB, free: 13.24 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.101e-05/0.1863, allocations: 8.938 kB / 0.7324 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001262/0.1864, allocations: 122.3 kB / 0.7326 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.628e-05/0.1864, allocations: 12.38 kB / 0.7326 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.506e-05/0.1864, allocations: 4.375 kB / 0.7326 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002645/0.1867, allocations: 74.2 kB / 0.7327 GB, free: 12.99 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.636e-06/0.1867, allocations: 192 / 0.7327 GB, free: 12.99 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.166e-05/0.1867, allocations: 7.938 kB / 0.7327 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.597e-06/0.1867, allocations: 0 / 0.7327 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003005/0.187, allocations: 75.92 kB / 0.7327 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004247/0.1874, allocations: 256.4 kB / 0.733 GB, free: 12.63 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002106/0.1877, allocations: 58.47 kB / 0.733 GB, free: 12.56 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001557/0.1878, allocations: 44.84 kB / 0.7331 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.067e-05/0.1878, allocations: 4 kB / 0.7331 GB, free: 12.51 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002898/0.1881, allocations: 95.28 kB / 0.7332 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=6): time 1.373e-06/0.1881, allocations: 0 / 0.7332 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of matching and sorting (n=6): time 0.0006239/0.1888, allocations: 169.5 kB / 0.7333 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.231e-05/0.1888, allocations: 51.41 kB / 0.7334 GB, free: 12.17 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001242/0.1889, allocations: 126 kB / 0.7335 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.165e-05/0.1889, allocations: 29.7 kB / 0.7335 GB, free: 12 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 8.395e-05/0.189, allocations: 96.09 kB / 0.7336 GB, free: 11.9 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.438e-05/0.1891, allocations: 11.91 kB / 0.7336 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.289e-05/0.1891, allocations: 37.69 kB / 0.7337 GB, free: 11.85 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001503/0.1893, allocations: 318.8 kB / 0.734 GB, free: 11.53 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002495/0.1895, allocations: 85.64 kB / 0.7341 GB, free: 11.44 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002416/0.1898, allocations: 120.2 kB / 0.7342 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003783/0.1902, allocations: 136.3 kB / 0.7343 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.1902, allocations: 3.938 kB / 0.7343 GB, free: 11.15 MB / 0.5606 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005667/0.1907, allocations: 256.8 kB / 0.7345 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.657e-05/0.1908, allocations: 33.7 kB / 0.7346 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.1908, allocations: 4 kB / 0.7346 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.302e-05/0.1908, allocations: 0 / 0.7346 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001356/0.1909, allocations: 23.91 kB / 0.7346 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.111e-06/0.1909, allocations: 0 / 0.7346 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002228/0.1911, allocations: 40.02 kB / 0.7346 GB, free: 10.78 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.057e-05/0.1912, allocations: 4 kB / 0.7346 GB, free: 10.77 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.0001111/0.1913, allocations: 125.7 kB / 0.7348 GB, free: 10.64 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.414e-05/0.1913, allocations: 3.953 kB / 0.7348 GB, free: 10.64 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.164e-05/0.1913, allocations: 20.3 kB / 0.7348 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.1913, allocations: 0 / 0.7348 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.918e-06/0.1913, allocations: 0 / 0.7348 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.1913, allocations: 0 / 0.7348 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001292/0.1915, allocations: 125.3 kB / 0.7349 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.27e-06/0.1915, allocations: 12.28 kB / 0.7349 GB, free: 10.45 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001049/0.1916, allocations: 19.98 kB / 0.7349 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.1916, allocations: 0 / 0.7349 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.065e-05/0.1916, allocations: 4 kB / 0.7349 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.336e-06/0.1916, allocations: 4 kB / 0.7349 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.1916, allocations: 3.938 kB / 0.735 GB, free: 10.42 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004482/0.192, allocations: 152.9 kB / 0.7351 GB, free: 10.25 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.146e-05/0.192, allocations: 8.047 kB / 0.7351 GB, free: 10.25 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.5e-05/0.1921, allocations: 3.938 kB / 0.7351 GB, free: 10.24 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.084e-05/0.1921, allocations: 19.97 kB / 0.7351 GB, free: 10.22 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.032e-05/0.1922, allocations: 0 / 0.7351 GB, free: 10.22 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.194e-05/0.1922, allocations: 7.984 kB / 0.7351 GB, free: 10.21 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.975e-05/0.1923, allocations: 91.27 kB / 0.7352 GB, free: 10.12 MB / 0.5606 GB Notification: Performance of sort global known variables: time 6e-08/0.1923, allocations: 0 / 0.7352 GB, free: 10.12 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002179/0.1925, allocations: 24 kB / 0.7352 GB, free: 10.1 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.0001632/0.1926, allocations: 99.25 kB / 0.7353 GB, free: 9.996 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0005093/0.1932, allocations: 204.9 kB / 0.7355 GB, free: 9.777 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.1932, allocations: 0 / 0.7355 GB, free: 9.777 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.000188/0.1933, allocations: 51.89 kB / 0.7356 GB, free: 9.727 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002084/0.1936, allocations: 20.05 kB / 0.7356 GB, free: 9.707 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003625/0.1939, allocations: 165.7 kB / 0.7358 GB, free: 9.52 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.702e-05/0.194, allocations: 77.22 kB / 0.7358 GB, free: 9.426 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.283e-05/0.194, allocations: 4 kB / 0.7358 GB, free: 9.422 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.786e-05/0.194, allocations: 7.438 kB / 0.7358 GB, free: 9.414 MB / 0.5606 GB Notification: Performance of SimCode: time 3.01e-07/0.194, allocations: 8 kB / 0.7359 GB, free: 9.406 MB / 0.5606 GB Notification: Performance of Templates: time 0.004569/0.1986, allocations: 1.757 MB / 0.7376 GB, free: 7.691 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 -s gbode -gbnls=internal -gberr=embedded -gbm=radauIIA3 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Switch.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.388852372067049] Failed to read output from testmodel.py, exit status != 0: 0.20672178990207613 0.22038522500000002 0.032040213000000005 Calling exit ...