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.00145/0.00145, allocations: 109.7 kB / 17.12 MB, free: 5.926 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.001717/0.001717, allocations: 204 kB / 20.09 MB, free: 2.977 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.554/1.554, allocations: 230.6 MB / 253.5 MB, free: 15.09 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 1.028/1.028, allocations: 149.9 MB / 459.5 MB, free: 5.324 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.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.001998/0.001998, allocations: 77.67 kB / 0.6366 GB, free: 30.21 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2247/0.2267, allocations: 89.13 MB / 0.7237 GB, free: 3.492 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.Switch): time 0.002139/0.2288, allocations: 0.7704 MB / 0.7244 GB, free: 2.719 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001635/0.2305, allocations: 1.188 MB / 0.7256 GB, free: 1.52 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.051e-05/0.2305, allocations: 0 / 0.7256 GB, free: 1.52 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.472e-05/0.2306, allocations: 3.938 kB / 0.7256 GB, free: 1.516 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 8.679e-05/0.2307, allocations: 15.86 kB / 0.7256 GB, free: 1.496 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005156/0.2312, allocations: 136.8 kB / 0.7257 GB, free: 1.367 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002187/0.2314, allocations: 131.7 kB / 0.7259 GB, free: 1.238 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 9.282e-05/0.2315, allocations: 11.98 kB / 0.7259 GB, free: 1.227 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001095/0.2316, allocations: 55.83 kB / 0.7259 GB, free: 1.172 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001085/0.2317, allocations: 47.88 kB / 0.726 GB, free: 1.125 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.951e-05/0.2317, allocations: 12 kB / 0.726 GB, free: 1.113 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 7.347e-05/0.2318, allocations: 23.98 kB / 0.726 GB, free: 1.09 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 3.246e-05/0.2318, allocations: 23.91 kB / 0.726 GB, free: 1.066 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 7.058e-05/0.2319, allocations: 39.86 kB / 0.7261 GB, free: 1.027 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002096/0.2321, allocations: 123.5 kB / 0.7262 GB, free: 0.9062 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.2321, allocations: 0 / 0.7262 GB, free: 0.9062 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.773e-06/0.2321, allocations: 4 kB / 0.7262 GB, free: 0.9023 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.012e-05/0.2321, allocations: 0 / 0.7262 GB, free: 0.9023 MB / 0.5294 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.0007568/0.2329, allocations: 426.5 kB / 0.7266 GB, free: 440 kB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.207e-05/0.2329, allocations: 12.03 kB / 0.7266 GB, free: 428 kB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.289e-05/0.233, allocations: 8.938 kB / 0.7266 GB, free: 420 kB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001501/0.2331, allocations: 176.3 kB / 0.7268 GB, free: 204 kB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.68e-05/0.2332, allocations: 4.375 kB / 0.7268 GB, free: 200 kB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.616e-05/0.2332, allocations: 4.375 kB / 0.7268 GB, free: 196 kB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000289/0.2335, allocations: 82.19 kB / 0.7269 GB, free: 108 kB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.2335, allocations: 192 / 0.7269 GB, free: 108 kB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.623e-05/0.2335, allocations: 7.938 kB / 0.7269 GB, free: 100 kB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/0.2335, allocations: 4 kB / 0.7269 GB, free: 96 kB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003262/0.2338, allocations: 79.8 kB / 0.727 GB, free: 16 kB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005167/0.2343, allocations: 332.6 kB / 0.7273 GB, free: 15.64 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000228/0.2346, allocations: 46.55 kB / 0.7273 GB, free: 15.59 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001742/0.2347, allocations: 48.91 kB / 0.7274 GB, free: 15.54 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.724e-05/0.2348, allocations: 3.938 kB / 0.7274 GB, free: 15.53 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002959/0.2351, allocations: 95.34 kB / 0.7275 GB, free: 15.43 MB / 0.545 GB Notification: Performance of pre-optimization done (n=6): time 1.583e-06/0.2351, allocations: 3.938 kB / 0.7275 GB, free: 15.42 MB / 0.545 GB Notification: Performance of matching and sorting (n=6): time 0.0006514/0.2357, allocations: 161.5 kB / 0.7276 GB, free: 15.26 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.87e-05/0.2358, allocations: 55.41 kB / 0.7277 GB, free: 15.19 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001247/0.2359, allocations: 122.1 kB / 0.7278 GB, free: 15.06 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.827e-05/0.2359, allocations: 33.64 kB / 0.7278 GB, free: 15.02 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.233e-05/0.236, allocations: 92.09 kB / 0.7279 GB, free: 14.93 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.457e-05/0.236, allocations: 23.97 kB / 0.7279 GB, free: 14.9 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.513e-05/0.2361, allocations: 33.69 kB / 0.728 GB, free: 14.86 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001453/0.2362, allocations: 318.8 kB / 0.7283 GB, free: 14.54 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002311/0.2365, allocations: 63.94 kB / 0.7283 GB, free: 14.48 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002397/0.2367, allocations: 78.52 kB / 0.7284 GB, free: 14.39 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000395/0.2371, allocations: 152.2 kB / 0.7286 GB, free: 14.23 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.2371, allocations: 0 / 0.7286 GB, free: 14.23 MB / 0.545 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005782/0.2377, allocations: 215.2 kB / 0.7288 GB, free: 14.01 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 4.23e-05/0.2377, allocations: 33.7 kB / 0.7288 GB, free: 13.97 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.2377, allocations: 0 / 0.7288 GB, free: 13.97 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.824e-05/0.2378, allocations: 7.984 kB / 0.7288 GB, free: 13.96 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001476/0.2379, allocations: 15.97 kB / 0.7288 GB, free: 13.95 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.057e-06/0.2379, allocations: 4 kB / 0.7288 GB, free: 13.94 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002398/0.2382, allocations: 43.95 kB / 0.7289 GB, free: 13.9 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.529e-05/0.2382, allocations: 8 kB / 0.7289 GB, free: 13.89 MB / 0.545 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.000103/0.2383, allocations: 121.8 kB / 0.729 GB, free: 13.76 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.66e-05/0.2383, allocations: 7.953 kB / 0.729 GB, free: 13.75 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.137e-05/0.2383, allocations: 8.375 kB / 0.729 GB, free: 13.74 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.2383, allocations: 4 kB / 0.729 GB, free: 13.74 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/0.2383, allocations: 0 / 0.729 GB, free: 13.74 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.2384, allocations: 0 / 0.729 GB, free: 13.74 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001766/0.2385, allocations: 189.6 kB / 0.7292 GB, free: 13.5 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.2385, allocations: 3.938 kB / 0.7292 GB, free: 13.5 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001166/0.2386, allocations: 15.98 kB / 0.7292 GB, free: 13.48 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.2386, allocations: 4.25 kB / 0.7292 GB, free: 13.48 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.706e-06/0.2387, allocations: 0 / 0.7292 GB, free: 13.48 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.557e-06/0.2387, allocations: 4 kB / 0.7292 GB, free: 13.48 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.2387, allocations: 0 / 0.7292 GB, free: 13.48 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004237/0.2391, allocations: 156.9 kB / 0.7294 GB, free: 13.3 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.985e-05/0.2391, allocations: 85.06 kB / 0.7294 GB, free: 13.2 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.768e-05/0.2392, allocations: 3.984 kB / 0.7294 GB, free: 13.2 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.671e-05/0.2393, allocations: 11.98 kB / 0.7295 GB, free: 13.19 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.26e-05/0.2393, allocations: 8.094 kB / 0.7295 GB, free: 13.18 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.826e-06/0.2393, allocations: 7.922 kB / 0.7295 GB, free: 13.17 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.475e-05/0.2394, allocations: 101.9 kB / 0.7296 GB, free: 13.07 MB / 0.545 GB Notification: Performance of sort global known variables: time 6e-08/0.2394, allocations: 0 / 0.7296 GB, free: 13.07 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002241/0.2396, allocations: 23.94 kB / 0.7296 GB, free: 13.05 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: 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.0002059/0.2398, allocations: 103.2 kB / 0.7297 GB, free: 12.94 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005358/0.2403, allocations: 175.4 kB / 0.7299 GB, free: 12.76 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.2403, allocations: 0 / 0.7299 GB, free: 12.76 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.000192/0.2405, allocations: 51.89 kB / 0.7299 GB, free: 12.71 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002254/0.2408, allocations: 13.5 kB / 0.7299 GB, free: 12.7 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000417/0.2412, allocations: 169.8 kB / 0.7301 GB, free: 12.5 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003577/0.2415, allocations: 0.6885 MB / 0.7308 GB, free: 11.79 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.456e-05/0.2416, allocations: 7.984 kB / 0.7308 GB, free: 11.78 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.208e-05/0.2416, allocations: 11.44 kB / 0.7308 GB, free: 11.77 MB / 0.545 GB Notification: Performance of SimCode: time 3.1e-07/0.2416, allocations: 0 / 0.7308 GB, free: 11.77 MB / 0.545 GB Notification: Performance of Templates: time 0.004753/0.2464, allocations: 1.579 MB / 0.7323 GB, free: 10.21 MB / 0.545 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.2694494591560215] Failed to read output from testmodel.py, exit status != 0: 0.2536499521229416 0.26828375499999996 0.033075427000000004 Calling exit ...