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.001376/0.001376, allocations: 105 kB / 20.45 MB, free: 1.5 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.001444/0.001444, allocations: 219.9 kB / 23.76 MB, free: 4.711 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.486/1.486, allocations: 230.6 MB / 257.5 MB, free: 8 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.964/0.964, allocations: 150 MB / 463.9 MB, free: 10.56 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.002314/0.002314, allocations: 73.62 kB / 0.6425 GB, free: 9.875 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1854/0.1877, allocations: 89.16 MB / 0.7296 GB, free: 0.7812 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.Switch): time 0.002208/0.1899, allocations: 0.7802 MB / 0.7304 GB, free: 0 / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001811/0.1918, allocations: 1.186 MB / 0.7315 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.094e-05/0.1918, allocations: 3.938 kB / 0.7315 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.61e-05/0.1919, allocations: 7.922 kB / 0.7316 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 8.644e-05/0.1919, allocations: 19.86 kB / 0.7316 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005485/0.1925, allocations: 135.4 kB / 0.7317 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.000227/0.1927, allocations: 119.8 kB / 0.7318 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 9.918e-05/0.1928, allocations: 19.97 kB / 0.7318 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001154/0.1929, allocations: 51.84 kB / 0.7319 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001213/0.1931, allocations: 55.81 kB / 0.7319 GB, free: 14.4 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.826e-05/0.1931, allocations: 8 kB / 0.7319 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 8.319e-05/0.1932, allocations: 31.97 kB / 0.732 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.195e-05/0.1932, allocations: 11.94 kB / 0.732 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 7.472e-05/0.1933, allocations: 47.84 kB / 0.732 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002083/0.1935, allocations: 115.6 kB / 0.7321 GB, free: 14.19 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.1935, allocations: 0 / 0.7321 GB, free: 14.19 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.463e-06/0.1935, allocations: 0 / 0.7321 GB, free: 14.19 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.202e-06/0.1935, allocations: 0 / 0.7321 GB, free: 14.19 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.0006705/0.1942, allocations: 355.7 kB / 0.7325 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.964e-05/0.1942, allocations: 12.03 kB / 0.7325 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.112e-05/0.1942, allocations: 4.938 kB / 0.7325 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000117/0.1944, allocations: 126.4 kB / 0.7326 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.911e-05/0.1944, allocations: 4.375 kB / 0.7326 GB, free: 13.63 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.978e-05/0.1944, allocations: 12.38 kB / 0.7326 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002814/0.1947, allocations: 74.2 kB / 0.7327 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.338e-06/0.1947, allocations: 192 / 0.7327 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.402e-05/0.1947, allocations: 3.938 kB / 0.7327 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.12e-06/0.1947, allocations: 3.938 kB / 0.7327 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002802/0.195, allocations: 75.92 kB / 0.7328 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004791/0.1955, allocations: 307.6 kB / 0.7331 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000189/0.1957, allocations: 46.55 kB / 0.7331 GB, free: 13.06 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001451/0.1958, allocations: 44.91 kB / 0.7332 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.441e-05/0.1958, allocations: 8 kB / 0.7332 GB, free: 13.01 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003012/0.1961, allocations: 91.34 kB / 0.7333 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=6): time 1.232e-06/0.1961, allocations: 0 / 0.7333 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of matching and sorting (n=6): time 0.0005992/0.1967, allocations: 165.5 kB / 0.7334 GB, free: 12.74 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.695e-05/0.1968, allocations: 55.41 kB / 0.7335 GB, free: 12.67 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001203/0.1969, allocations: 127.4 kB / 0.7336 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.117e-05/0.1969, allocations: 29.7 kB / 0.7336 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.952e-05/0.197, allocations: 96.16 kB / 0.7337 GB, free: 12.4 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.459e-05/0.197, allocations: 19.91 kB / 0.7337 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.105e-05/0.1971, allocations: 33.69 kB / 0.7338 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001414/0.1972, allocations: 322.8 kB / 0.7341 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002115/0.1975, allocations: 59.94 kB / 0.7341 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002285/0.1977, allocations: 82.52 kB / 0.7342 GB, free: 11.87 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003623/0.198, allocations: 140.1 kB / 0.7343 GB, free: 11.72 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.198, allocations: 0 / 0.7343 GB, free: 11.72 MB / 0.5606 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005503/0.1986, allocations: 215.2 kB / 0.7345 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.508e-05/0.1986, allocations: 37.7 kB / 0.7346 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.1986, allocations: 4 kB / 0.7346 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.711e-05/0.1987, allocations: 3.984 kB / 0.7346 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001339/0.1988, allocations: 19.97 kB / 0.7346 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.5e-06/0.1988, allocations: 3.938 kB / 0.7346 GB, free: 11.42 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002221/0.199, allocations: 43.95 kB / 0.7347 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.3e-05/0.1991, allocations: 8 kB / 0.7347 GB, free: 11.37 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.000112/0.1992, allocations: 121.8 kB / 0.7348 GB, free: 11.24 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.687e-05/0.1992, allocations: 7.953 kB / 0.7348 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.163e-05/0.1992, allocations: 12.38 kB / 0.7348 GB, free: 11.22 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.1992, allocations: 0 / 0.7348 GB, free: 11.22 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.1992, allocations: 320 / 0.7348 GB, free: 11.22 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.1992, allocations: 4 kB / 0.7348 GB, free: 11.22 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000164/0.1994, allocations: 160.6 kB / 0.735 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.1994, allocations: 0 / 0.735 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001071/0.1995, allocations: 19.98 kB / 0.735 GB, free: 11 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.406e-06/0.1995, allocations: 0 / 0.735 GB, free: 11 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.856e-06/0.1995, allocations: 96 / 0.735 GB, free: 11 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.1995, allocations: 7.938 kB / 0.735 GB, free: 10.99 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.1995, allocations: 0 / 0.735 GB, free: 10.99 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003837/0.1999, allocations: 156.9 kB / 0.7351 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.149e-05/0.1999, allocations: 3.953 kB / 0.7351 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.146e-05/0.1999, allocations: 11.98 kB / 0.7351 GB, free: 10.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.474e-05/0.2, allocations: 7.984 kB / 0.7352 GB, free: 10.8 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.358e-05/0.2001, allocations: 7.984 kB / 0.7352 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.562e-06/0.2001, allocations: 3.938 kB / 0.7352 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 6.437e-05/0.2001, allocations: 105.3 kB / 0.7353 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2001, allocations: 0 / 0.7353 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.00022/0.2004, allocations: 20 kB / 0.7353 GB, free: 10.66 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.0001658/0.2005, allocations: 99.23 kB / 0.7354 GB, free: 10.56 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004911/0.201, allocations: 183.2 kB / 0.7356 GB, free: 10.37 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.201, allocations: 0 / 0.7356 GB, free: 10.37 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001723/0.2012, allocations: 39.95 kB / 0.7356 GB, free: 10.33 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002165/0.2014, allocations: 19.92 kB / 0.7356 GB, free: 10.31 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004415/0.2018, allocations: 195.7 kB / 0.7358 GB, free: 10.08 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003236/0.2022, allocations: 0.6925 MB / 0.7365 GB, free: 9.363 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.072e-05/0.2022, allocations: 11.44 kB / 0.7365 GB, free: 9.352 MB / 0.5606 GB Notification: Performance of SimCode: time 4.61e-07/0.2022, allocations: 0 / 0.7365 GB, free: 9.352 MB / 0.5606 GB Notification: Performance of Templates: time 0.00336/0.2056, allocations: 1.314 MB / 0.7378 GB, free: 8.047 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: 7.99019777495414] Failed to read output from testmodel.py, exit status != 0: 0.2146273290272802 0.229070564 0.032495760000000005 Calling exit ...