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.001574/0.001574, allocations: 100.3 kB / 19.69 MB, free: 1.805 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.001614/0.001614, allocations: 208.3 kB / 22.99 MB, free: 4.605 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.496/1.496, allocations: 230.6 MB / 256.8 MB, free: 7.781 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.9397/0.9397, allocations: 149.9 MB / 463 MB, free: 10.35 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.002171/0.002171, allocations: 68.66 kB / 0.6416 GB, free: 9.555 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2344/0.2365, allocations: 89.17 MB / 0.7287 GB, free: 460 kB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.Switch): time 0.002173/0.2387, allocations: 0.7568 MB / 0.7294 GB, free: 15.69 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001677/0.2404, allocations: 1.17 MB / 0.7306 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.523e-05/0.2404, allocations: 0 / 0.7306 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 4.092e-05/0.2405, allocations: 3.938 kB / 0.7306 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 8.129e-05/0.2406, allocations: 15.86 kB / 0.7306 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005273/0.2411, allocations: 141.4 kB / 0.7307 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002352/0.2413, allocations: 127.7 kB / 0.7308 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 9.951e-05/0.2414, allocations: 7.984 kB / 0.7308 GB, free: 14.22 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001355/0.2416, allocations: 55.84 kB / 0.7309 GB, free: 14.17 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001106/0.2417, allocations: 51.86 kB / 0.7309 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.322e-05/0.2417, allocations: 12 kB / 0.731 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 7.581e-05/0.2418, allocations: 16 kB / 0.731 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 3.358e-05/0.2418, allocations: 19.92 kB / 0.731 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 7.425e-05/0.2419, allocations: 43.83 kB / 0.731 GB, free: 14.03 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002323/0.2421, allocations: 119.6 kB / 0.7311 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.249e-06/0.2421, allocations: 0 / 0.7311 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.314e-06/0.2421, allocations: 0 / 0.7311 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.272e-06/0.2421, allocations: 0 / 0.7311 GB, free: 13.91 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.0007751/0.2429, allocations: 355.7 kB / 0.7315 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.952e-05/0.243, allocations: 12.03 kB / 0.7315 GB, free: 13.51 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.64e-05/0.243, allocations: 4.938 kB / 0.7315 GB, free: 13.51 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001473/0.2432, allocations: 118.4 kB / 0.7316 GB, free: 13.37 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.829e-05/0.2432, allocations: 8.359 kB / 0.7316 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.26e-05/0.2432, allocations: 12.3 kB / 0.7316 GB, free: 13.35 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002872/0.2435, allocations: 78.2 kB / 0.7317 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.116e-05/0.2435, allocations: 192 / 0.7317 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.627e-05/0.2435, allocations: 7.938 kB / 0.7317 GB, free: 13.26 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.541e-06/0.2435, allocations: 4 kB / 0.7317 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003014/0.2438, allocations: 67.92 kB / 0.7318 GB, free: 13.19 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005524/0.2444, allocations: 264.3 kB / 0.732 GB, free: 12.9 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002087/0.2446, allocations: 54.47 kB / 0.7321 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001608/0.2448, allocations: 40.92 kB / 0.7321 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.308e-05/0.2448, allocations: 0 / 0.7321 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000329/0.2451, allocations: 99.34 kB / 0.7322 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=6): time 1.453e-06/0.2451, allocations: 0 / 0.7322 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of matching and sorting (n=6): time 0.0006441/0.2458, allocations: 165.5 kB / 0.7324 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.998e-05/0.2458, allocations: 55.41 kB / 0.7324 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001255/0.2459, allocations: 122.1 kB / 0.7325 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.362e-05/0.246, allocations: 29.7 kB / 0.7326 GB, free: 12.28 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 9.011e-05/0.2461, allocations: 96.08 kB / 0.7327 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.72e-05/0.2461, allocations: 15.91 kB / 0.7327 GB, free: 12.17 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.123e-05/0.2462, allocations: 29.7 kB / 0.7327 GB, free: 12.13 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001739/0.2463, allocations: 322.8 kB / 0.733 GB, free: 11.81 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002468/0.2466, allocations: 93.59 kB / 0.7331 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002542/0.2468, allocations: 112.2 kB / 0.7332 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003821/0.2472, allocations: 144.1 kB / 0.7333 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/0.2472, allocations: 3.938 kB / 0.7334 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005821/0.2478, allocations: 248.9 kB / 0.7336 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 5.344e-05/0.2479, allocations: 41.69 kB / 0.7336 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.2479, allocations: 0 / 0.7336 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.842e-05/0.2479, allocations: 0 / 0.7336 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001431/0.248, allocations: 16.3 kB / 0.7336 GB, free: 11.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.067e-06/0.248, allocations: 8 kB / 0.7337 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002457/0.2483, allocations: 43.89 kB / 0.7337 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.38e-05/0.2483, allocations: 7.984 kB / 0.7337 GB, free: 11.04 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.0001136/0.2484, allocations: 121.8 kB / 0.7338 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.593e-05/0.2484, allocations: 7.953 kB / 0.7338 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.081e-05/0.2485, allocations: 8.375 kB / 0.7338 GB, free: 10.9 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.2485, allocations: 0 / 0.7338 GB, free: 10.9 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.399e-06/0.2485, allocations: 0 / 0.7338 GB, free: 10.9 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.2485, allocations: 8 kB / 0.7338 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001378/0.2486, allocations: 121.3 kB / 0.734 GB, free: 10.74 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/0.2486, allocations: 7.938 kB / 0.734 GB, free: 10.73 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001004/0.2487, allocations: 15.98 kB / 0.734 GB, free: 10.72 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.2487, allocations: 0 / 0.734 GB, free: 10.72 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.464e-05/0.2487, allocations: 7.984 kB / 0.734 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.2487, allocations: 0 / 0.734 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.2487, allocations: 0 / 0.734 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004028/0.2491, allocations: 156.9 kB / 0.7341 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.353e-05/0.2492, allocations: 7.953 kB / 0.7341 GB, free: 10.53 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.867e-05/0.2492, allocations: 4 kB / 0.7341 GB, free: 10.53 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.323e-05/0.2493, allocations: 11.98 kB / 0.7342 GB, free: 10.52 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.931e-05/0.2493, allocations: 3.984 kB / 0.7342 GB, free: 10.51 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.791e-06/0.2493, allocations: 4 kB / 0.7342 GB, free: 10.51 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 6.915e-05/0.2494, allocations: 102.9 kB / 0.7343 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.01e-07/0.2494, allocations: 0 / 0.7343 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002214/0.2496, allocations: 20 kB / 0.7343 GB, free: 10.39 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.0001924/0.2498, allocations: 99.23 kB / 0.7344 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0005319/0.2503, allocations: 212.9 kB / 0.7346 GB, free: 10.06 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.2503, allocations: 0 / 0.7346 GB, free: 10.06 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001781/0.2505, allocations: 48.08 kB / 0.7346 GB, free: 10.01 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002392/0.2508, allocations: 22.34 kB / 0.7347 GB, free: 9.992 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004483/0.2512, allocations: 170 kB / 0.7348 GB, free: 9.797 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.853e-05/0.2513, allocations: 71.33 kB / 0.7349 GB, free: 9.707 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.853e-05/0.2513, allocations: 4 kB / 0.7349 GB, free: 9.703 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.295e-05/0.2514, allocations: 23.42 kB / 0.7349 GB, free: 9.68 MB / 0.5606 GB Notification: Performance of SimCode: time 2.91e-07/0.2514, allocations: 0 / 0.7349 GB, free: 9.68 MB / 0.5606 GB Notification: Performance of Templates: time 0.00518/0.2565, allocations: 1.755 MB / 0.7366 GB, free: 7.965 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: 6.007789958268404] Failed to read output from testmodel.py, exit status != 0: 0.26560543291270733 0.28127413 0.03607838 Calling exit ...