Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.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.001441/0.001441, allocations: 119.2 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.002263/0.002263, allocations: 225.6 kB / 23.01 MB, free: 5.043 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.546/1.546, 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.032/1.032, allocations: 150 MB / 463.1 MB, free: 10.5 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.Integers.Validation.Switch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Switch") translateModel(IBPSA.Controls.OBC.CDL.Integers.Validation.Switch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.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.002131/0.002131, allocations: 70.2 kB / 0.6417 GB, free: 9.879 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2201/0.2222, allocations: 89.17 MB / 0.7288 GB, free: 0.7695 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Integers.Validation.Switch): time 0.002269/0.2245, allocations: 0.8169 MB / 0.7296 GB, free: 15.95 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001792/0.2263, allocations: 1.322 MB / 0.7309 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.429e-05/0.2264, allocations: 0 / 0.7309 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 4.379e-05/0.2264, allocations: 7.875 kB / 0.7309 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 9.297e-05/0.2265, allocations: 27.78 kB / 0.7309 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008258/0.2273, allocations: 320.3 kB / 0.7313 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0003641/0.2277, allocations: 291.5 kB / 0.7315 GB, free: 13.99 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001318/0.2278, allocations: 37.61 kB / 0.7316 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001457/0.228, allocations: 119.7 kB / 0.7317 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002005/0.2282, allocations: 119.6 kB / 0.7318 GB, free: 13.72 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 5.466e-05/0.2282, allocations: 24 kB / 0.7318 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 9.474e-05/0.2283, allocations: 39.98 kB / 0.7319 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 3.386e-05/0.2284, allocations: 23.92 kB / 0.7319 GB, free: 13.63 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.00013/0.2285, allocations: 111.6 kB / 0.732 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003226/0.2288, allocations: 255.2 kB / 0.7322 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.2288, allocations: 3.938 kB / 0.7322 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.723e-06/0.2288, allocations: 0 / 0.7322 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.583e-06/0.2288, allocations: 0 / 0.7322 GB, free: 13.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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0007129/0.2295, allocations: 466.8 kB / 0.7327 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.798e-05/0.2296, allocations: 12.03 kB / 0.7327 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.315e-05/0.2297, allocations: 20.84 kB / 0.7327 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001364/0.2298, allocations: 123.5 kB / 0.7328 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.231e-05/0.2298, allocations: 20.11 kB / 0.7328 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.47e-05/0.2299, allocations: 20 kB / 0.7329 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001822/0.2301, allocations: 92.12 kB / 0.733 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.318e-06/0.2301, allocations: 0 / 0.733 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.735e-05/0.2301, allocations: 8 kB / 0.733 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.131e-06/0.2301, allocations: 0 / 0.733 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001155/0.2302, allocations: 55.97 kB / 0.733 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007399/0.231, allocations: 459.4 kB / 0.7335 GB, free: 11.9 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002445/0.2312, allocations: 62.56 kB / 0.7335 GB, free: 11.83 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.503e-05/0.2313, allocations: 28.97 kB / 0.7335 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.257e-05/0.2313, allocations: 0 / 0.7335 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002304/0.2315, allocations: 121.8 kB / 0.7337 GB, free: 11.67 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=14): time 1.102e-06/0.2315, allocations: 0 / 0.7337 GB, free: 11.67 MB / 0.5606 GB Notification: Performance of matching and sorting (n=14): time 0.0003716/0.2319, allocations: 177.5 kB / 0.7338 GB, free: 11.49 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.955e-05/0.2319, allocations: 55.34 kB / 0.7339 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001644/0.2321, allocations: 167.4 kB / 0.734 GB, free: 11.26 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.244e-05/0.2321, allocations: 33.7 kB / 0.7341 GB, free: 11.22 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 9.668e-05/0.2322, allocations: 108 kB / 0.7342 GB, free: 11.11 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.819e-05/0.2323, allocations: 43.83 kB / 0.7342 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001266/0.2324, allocations: 73.61 kB / 0.7343 GB, free: 10.99 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001589/0.2326, allocations: 322.8 kB / 0.7346 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001973/0.2328, allocations: 95.94 kB / 0.7347 GB, free: 10.57 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002298/0.233, allocations: 142 kB / 0.7348 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003192/0.2333, allocations: 247 kB / 0.7351 GB, free: 10.13 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.2333, allocations: 0 / 0.7351 GB, free: 10.13 MB / 0.5606 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.000637/0.2339, allocations: 416.3 kB / 0.7355 GB, free: 9.699 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 8.579e-05/0.234, allocations: 105.1 kB / 0.7356 GB, free: 9.578 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.234, allocations: 4 kB / 0.7356 GB, free: 9.574 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.465e-05/0.234, allocations: 0 / 0.7356 GB, free: 9.574 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.306e-05/0.2341, allocations: 15.94 kB / 0.7356 GB, free: 9.559 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.038e-05/0.2341, allocations: 7.922 kB / 0.7356 GB, free: 9.551 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004369/0.2346, allocations: 91.98 kB / 0.7357 GB, free: 9.461 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.249e-05/0.2346, allocations: 19.98 kB / 0.7357 GB, free: 9.441 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 17 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booToInt1.y,booToInt.y,booPul3.y,$PRE.booPul3.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.y,integerSwitch.y,integerSwitch.u3,integerSwitch.u1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 3 * 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.000136/0.2347, allocations: 133.8 kB / 0.7358 GB, free: 9.301 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.529e-05/0.2348, allocations: 23.78 kB / 0.7358 GB, free: 9.277 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.656e-05/0.2348, allocations: 12.78 kB / 0.7358 GB, free: 9.262 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.225e-06/0.2348, allocations: 4 kB / 0.7359 GB, free: 9.258 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.99e-06/0.2348, allocations: 4 kB / 0.7359 GB, free: 9.254 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.406e-06/0.2348, allocations: 3.984 kB / 0.7359 GB, free: 9.25 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002329/0.235, allocations: 188.6 kB / 0.736 GB, free: 9.023 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.91e-07/0.235, allocations: 0 / 0.736 GB, free: 9.023 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.616e-05/0.2351, allocations: 15.88 kB / 0.7361 GB, free: 9.008 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.566e-06/0.2351, allocations: 3.984 kB / 0.7361 GB, free: 9.004 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.503e-05/0.2351, allocations: 11.98 kB / 0.7361 GB, free: 8.992 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.2351, allocations: 0 / 0.7361 GB, free: 8.992 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.2351, allocations: 0 / 0.7361 GB, free: 8.992 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002463/0.2354, allocations: 161 kB / 0.7362 GB, free: 8.816 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 2.158e-05/0.2354, allocations: 15.84 kB / 0.7362 GB, free: 8.801 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.842e-05/0.2354, allocations: 0 / 0.7362 GB, free: 8.801 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.424e-05/0.2354, allocations: 8 kB / 0.7362 GB, free: 8.793 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.876e-05/0.2355, allocations: 11.97 kB / 0.7363 GB, free: 8.781 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.256e-05/0.2355, allocations: 8 kB / 0.7363 GB, free: 8.773 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 8.655e-05/0.2356, allocations: 111.2 kB / 0.7364 GB, free: 8.664 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.2356, allocations: 0 / 0.7364 GB, free: 8.664 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002902/0.2359, allocations: 51.94 kB / 0.7364 GB, free: 8.613 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: 14 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,integerSwitch.u1,integerSwitch.u3,integerSwitch.y,booPul1.y,booPul2.y,booPul3.y,booToInt.y,booToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0001633/0.236, allocations: 113.4 kB / 0.7365 GB, free: 8.496 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0005183/0.2365, allocations: 346.1 kB / 0.7369 GB, free: 8.121 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.2365, allocations: 0 / 0.7369 GB, free: 8.121 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 7.662e-05/0.2366, allocations: 39.92 kB / 0.7369 GB, free: 8.082 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002811/0.2369, allocations: 30.89 kB / 0.7369 GB, free: 8.055 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005725/0.2375, allocations: 251.4 kB / 0.7372 GB, free: 7.781 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003897/0.2379, allocations: 0.7161 MB / 0.7379 GB, free: 7.039 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.855e-05/0.2379, allocations: 8.656 kB / 0.7379 GB, free: 7.031 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.319e-05/0.2379, allocations: 19.44 kB / 0.7379 GB, free: 7.012 MB / 0.5606 GB Notification: Performance of SimCode: time 2.91e-07/0.2379, allocations: 0 / 0.7379 GB, free: 7.012 MB / 0.5606 GB Notification: Performance of Templates: time 0.006835/0.2448, allocations: 2.837 MB / 0.7407 GB, free: 4.207 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Switch.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Switch.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Switch.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Switch.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Switch.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Switch -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Switch.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.1120019112713635] Failed to read output from testmodel.py, exit status != 0: 0.2544585629366338 0.26864807799999996 0.036660081000000004 Calling exit ...