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.00139/0.00139, allocations: 119 kB / 19.69 MB, free: 2.199 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.001803/0.001803, allocations: 224.5 kB / 23.01 MB, free: 5.047 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.557/1.557, allocations: 230.6 MB / 256.8 MB, free: 7.996 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.009/1.009, allocations: 150 MB / 463.1 MB, free: 10.57 MB / 366.1 MB " [Timeout remaining time 178] 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.002145/0.002145, allocations: 68.31 kB / 0.6418 GB, free: 9.969 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2169/0.219, allocations: 89.18 MB / 0.7289 GB, free: 0.8594 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.Switch): time 0.00225/0.2213, allocations: 0.778 MB / 0.7296 GB, free: 84 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001741/0.223, allocations: 1.194 MB / 0.7308 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.087e-05/0.2231, allocations: 0 / 0.7308 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.291e-05/0.2231, allocations: 3.938 kB / 0.7308 GB, free: 14.87 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 8.64e-05/0.2232, allocations: 19.86 kB / 0.7308 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005041/0.2237, allocations: 127.7 kB / 0.7309 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002053/0.2239, allocations: 127.8 kB / 0.7311 GB, free: 14.6 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 9.36e-05/0.224, allocations: 8 kB / 0.7311 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001186/0.2241, allocations: 63.83 kB / 0.7311 GB, free: 14.53 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001182/0.2242, allocations: 51.81 kB / 0.7312 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.602e-05/0.2243, allocations: 12 kB / 0.7312 GB, free: 14.47 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 7.188e-05/0.2243, allocations: 23.98 kB / 0.7312 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 3.438e-05/0.2244, allocations: 23.91 kB / 0.7312 GB, free: 14.42 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 7.031e-05/0.2244, allocations: 39.86 kB / 0.7313 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001914/0.2246, allocations: 115.6 kB / 0.7314 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.2246, allocations: 4 kB / 0.7314 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.293e-06/0.2246, allocations: 0 / 0.7314 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.402e-06/0.2246, allocations: 0 / 0.7314 GB, free: 14.27 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.0007661/0.2254, allocations: 359.7 kB / 0.7317 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.892e-05/0.2254, allocations: 8.031 kB / 0.7317 GB, free: 13.87 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.623e-05/0.2255, allocations: 4.938 kB / 0.7317 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001251/0.2256, allocations: 124.9 kB / 0.7319 GB, free: 13.72 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.586e-05/0.2256, allocations: 4.375 kB / 0.7319 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.675e-05/0.2257, allocations: 8.375 kB / 0.7319 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002643/0.2259, allocations: 78.2 kB / 0.7319 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/0.2259, allocations: 192 / 0.7319 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.575e-05/0.2259, allocations: 7.922 kB / 0.732 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.518e-06/0.226, allocations: 4 kB / 0.732 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002928/0.2262, allocations: 67.92 kB / 0.732 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005193/0.2268, allocations: 307.7 kB / 0.7323 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001867/0.227, allocations: 54.53 kB / 0.7324 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001496/0.2271, allocations: 40.92 kB / 0.7324 GB, free: 13.1 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.274e-05/0.2271, allocations: 0 / 0.7324 GB, free: 13.1 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003065/0.2274, allocations: 103.2 kB / 0.7325 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=6): time 1.082e-06/0.2274, allocations: 0 / 0.7325 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of matching and sorting (n=6): time 0.0006141/0.228, allocations: 165.5 kB / 0.7327 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.419e-05/0.2281, allocations: 55.39 kB / 0.7327 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001134/0.2282, allocations: 126.1 kB / 0.7328 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.002e-05/0.2282, allocations: 29.7 kB / 0.7329 GB, free: 12.58 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 7.927e-05/0.2283, allocations: 96.08 kB / 0.733 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.189e-05/0.2283, allocations: 15.97 kB / 0.733 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.161e-05/0.2284, allocations: 29.7 kB / 0.733 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001493/0.2286, allocations: 326.8 kB / 0.7333 GB, free: 12.1 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000204/0.2288, allocations: 59.95 kB / 0.7334 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002078/0.229, allocations: 82.52 kB / 0.7334 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003559/0.2293, allocations: 144.1 kB / 0.7336 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.2293, allocations: 0 / 0.7336 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005211/0.2299, allocations: 219.2 kB / 0.7338 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.602e-05/0.2299, allocations: 37.69 kB / 0.7338 GB, free: 11.53 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/0.2299, allocations: 0 / 0.7338 GB, free: 11.53 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.388e-05/0.2299, allocations: 64 / 0.7338 GB, free: 11.53 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001345/0.2301, allocations: 23.92 kB / 0.7338 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.002e-06/0.2301, allocations: 0 / 0.7338 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000218/0.2303, allocations: 47.88 kB / 0.7339 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.084e-05/0.2303, allocations: 4.312 kB / 0.7339 GB, free: 11.45 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.000116/0.2304, allocations: 121.8 kB / 0.734 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.509e-05/0.2304, allocations: 7.953 kB / 0.734 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.46e-05/0.2305, allocations: 16.36 kB / 0.734 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.2305, allocations: 0 / 0.734 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.528e-06/0.2305, allocations: 7.984 kB / 0.734 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.2305, allocations: 0 / 0.734 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001637/0.2306, allocations: 160.6 kB / 0.7342 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.2306, allocations: 0 / 0.7342 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.661e-05/0.2307, allocations: 11.98 kB / 0.7342 GB, free: 11.08 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.522e-06/0.2307, allocations: 7.984 kB / 0.7342 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.077e-06/0.2308, allocations: 0 / 0.7342 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.2308, allocations: 4 kB / 0.7342 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.2308, allocations: 0 / 0.7342 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004084/0.2312, allocations: 152.9 kB / 0.7344 GB, free: 10.9 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.438e-05/0.2312, allocations: 11.89 kB / 0.7344 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.824e-05/0.2312, allocations: 4 kB / 0.7344 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.273e-05/0.2313, allocations: 16.08 kB / 0.7344 GB, free: 10.87 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.741e-05/0.2313, allocations: 7.922 kB / 0.7344 GB, free: 10.86 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.005e-06/0.2313, allocations: 4 kB / 0.7344 GB, free: 10.86 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 6.197e-05/0.2314, allocations: 96.27 kB / 0.7345 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.2314, allocations: 0 / 0.7345 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002177/0.2316, allocations: 20 kB / 0.7345 GB, free: 10.75 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.0001917/0.2318, allocations: 103.2 kB / 0.7346 GB, free: 10.64 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0005477/0.2324, allocations: 183.2 kB / 0.7348 GB, free: 10.45 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.2324, allocations: 0 / 0.7348 GB, free: 10.45 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001683/0.2325, allocations: 35.97 kB / 0.7348 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002191/0.2327, allocations: 24.05 kB / 0.7349 GB, free: 10.39 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004442/0.2332, allocations: 170 kB / 0.735 GB, free: 10.19 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003335/0.2335, allocations: 0.6885 MB / 0.7357 GB, free: 9.477 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.378e-05/0.2336, allocations: 4 kB / 0.7357 GB, free: 9.473 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.418e-05/0.2336, allocations: 11.44 kB / 0.7357 GB, free: 9.461 MB / 0.5606 GB Notification: Performance of SimCode: time 3e-07/0.2336, allocations: 4 kB / 0.7357 GB, free: 9.457 MB / 0.5606 GB Notification: Performance of Templates: time 0.004886/0.2385, allocations: 1.595 MB / 0.7373 GB, free: 7.883 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.224975349381566] Failed to read output from testmodel.py, exit status != 0: 0.24718153895810246 0.274523789 0.044452808 Calling exit ...