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.001827/0.001827, 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.002212/0.002212, allocations: 211.6 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.573/1.573, allocations: 230.6 MB / 256.8 MB, free: 7.789 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.003/1.003, allocations: 149.9 MB / 463 MB, free: 10.3 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: "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Integers.Validation.Switch,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Integers_Validation_Switch",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Integers.Validation.Switch,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Integers_Validation_Switch",fmuType="me",version="2.0",platforms={"static"}) [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.003349/0.003349, allocations: 60.41 kB / 0.6411 GB, free: 10.09 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2081/0.2114, allocations: 89.17 MB / 0.7282 GB, free: 1.008 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Integers.Validation.Switch): time 0.003184/0.2146, allocations: 0.7935 MB / 0.7289 GB, free: 224 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002581/0.2172, allocations: 1.303 MB / 0.7302 GB, free: 14.9 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001066/0.2173, allocations: 0 / 0.7302 GB, free: 14.9 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 6.529e-05/0.2174, allocations: 15.8 kB / 0.7302 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001307/0.2175, allocations: 23.78 kB / 0.7302 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001051/0.2186, allocations: 320.6 kB / 0.7306 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0004619/0.219, allocations: 295.5 kB / 0.7308 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001457/0.2192, allocations: 33.61 kB / 0.7309 GB, free: 14.24 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002216/0.2194, allocations: 111.8 kB / 0.731 GB, free: 14.13 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002389/0.2196, allocations: 107.5 kB / 0.7311 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 7.6e-05/0.2197, allocations: 28 kB / 0.7311 GB, free: 14 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001199/0.2198, allocations: 32 kB / 0.7311 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 4.004e-05/0.2199, allocations: 27.86 kB / 0.7312 GB, free: 13.94 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001592/0.22, allocations: 95.73 kB / 0.7312 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0004245/0.2205, allocations: 263.4 kB / 0.7315 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.032e-06/0.2205, allocations: 0 / 0.7315 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.294e-06/0.2205, allocations: 4 kB / 0.7315 GB, free: 13.58 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.948e-06/0.2205, allocations: 0 / 0.7315 GB, free: 13.58 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.0009424/0.2214, allocations: 462.8 kB / 0.7319 GB, free: 13.08 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.806e-05/0.2215, allocations: 8.031 kB / 0.732 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.506e-05/0.2215, allocations: 42.73 kB / 0.732 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001074/0.2217, allocations: 20.84 kB / 0.732 GB, free: 13 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001757/0.2218, allocations: 127.9 kB / 0.7321 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.58e-05/0.2219, allocations: 19.88 kB / 0.7322 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.259e-05/0.2219, allocations: 20 kB / 0.7322 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002158/0.2221, allocations: 89.61 kB / 0.7323 GB, free: 12.72 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.398e-06/0.2222, allocations: 4 kB / 0.7323 GB, free: 12.72 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.601e-05/0.2222, allocations: 7.984 kB / 0.7323 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.219e-06/0.2222, allocations: 0 / 0.7323 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001123/0.2223, allocations: 47.92 kB / 0.7323 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008005/0.2231, allocations: 407.6 kB / 0.7327 GB, free: 12.22 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002519/0.2233, allocations: 70.48 kB / 0.7328 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.484e-05/0.2234, allocations: 24.98 kB / 0.7328 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.098e-05/0.2234, allocations: 4 kB / 0.7328 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002632/0.2237, allocations: 121 kB / 0.7329 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=14): time 2.154e-06/0.2237, allocations: 4 kB / 0.7329 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of matching and sorting (n=14): time 0.0004127/0.2241, allocations: 173.5 kB / 0.7331 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.58e-05/0.2241, allocations: 55.41 kB / 0.7331 GB, free: 11.74 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001692/0.2243, allocations: 165.5 kB / 0.7333 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.406e-05/0.2244, allocations: 37.7 kB / 0.7333 GB, free: 11.53 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 9.895e-05/0.2245, allocations: 108 kB / 0.7334 GB, free: 11.42 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.39e-05/0.2245, allocations: 31.84 kB / 0.7335 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001373/0.2246, allocations: 73.67 kB / 0.7335 GB, free: 11.31 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001639/0.2248, allocations: 330.8 kB / 0.7338 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002814/0.2251, allocations: 181 kB / 0.734 GB, free: 10.78 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003121/0.2254, allocations: 246.2 kB / 0.7343 GB, free: 10.5 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003476/0.2257, allocations: 253.7 kB / 0.7345 GB, free: 10.22 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.087e-06/0.2257, allocations: 3.938 kB / 0.7345 GB, free: 10.21 MB / 0.5606 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0007775/0.2265, allocations: 0.4918 MB / 0.735 GB, free: 9.68 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 8.852e-05/0.2266, allocations: 101.1 kB / 0.7351 GB, free: 9.562 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.2266, allocations: 0 / 0.7351 GB, free: 9.562 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.097e-05/0.2266, allocations: 7.938 kB / 0.7351 GB, free: 9.555 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.926e-05/0.2267, allocations: 8 kB / 0.7351 GB, free: 9.547 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.606e-06/0.2267, allocations: 4 kB / 0.7351 GB, free: 9.543 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004738/0.2272, allocations: 87.86 kB / 0.7352 GB, free: 9.457 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.478e-05/0.2272, allocations: 19.98 kB / 0.7352 GB, free: 9.438 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.0001575/0.2274, allocations: 141.8 kB / 0.7353 GB, free: 9.289 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.832e-05/0.2274, allocations: 15.84 kB / 0.7354 GB, free: 9.273 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.744e-05/0.2274, allocations: 12.78 kB / 0.7354 GB, free: 9.258 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.583e-06/0.2274, allocations: 4 kB / 0.7354 GB, free: 9.254 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/0.2275, allocations: 0 / 0.7354 GB, free: 9.254 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.534e-06/0.2275, allocations: 3.984 kB / 0.7354 GB, free: 9.25 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00023/0.2277, allocations: 184.6 kB / 0.7355 GB, free: 9.027 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/0.2277, allocations: 7.938 kB / 0.7356 GB, free: 9.02 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.768e-05/0.2277, allocations: 8 kB / 0.7356 GB, free: 9.012 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.955e-06/0.2277, allocations: 0 / 0.7356 GB, free: 9.012 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.274e-05/0.2278, allocations: 4 kB / 0.7356 GB, free: 9.008 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.07e-05/0.2278, allocations: 4 kB / 0.7356 GB, free: 9.004 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.2278, allocations: 0 / 0.7356 GB, free: 9.004 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002499/0.228, allocations: 162.7 kB / 0.7357 GB, free: 8.828 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.245e-05/0.2281, allocations: 19.83 kB / 0.7357 GB, free: 8.809 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.74e-05/0.2281, allocations: 8 kB / 0.7358 GB, free: 8.801 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.006e-05/0.2281, allocations: 0 / 0.7358 GB, free: 8.801 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.23e-05/0.2282, allocations: 15.98 kB / 0.7358 GB, free: 8.785 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.913e-05/0.2282, allocations: 11.98 kB / 0.7358 GB, free: 8.773 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 9.29e-05/0.2283, allocations: 111.3 kB / 0.7359 GB, free: 8.664 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.2283, allocations: 0 / 0.7359 GB, free: 8.664 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002867/0.2286, allocations: 55.92 kB / 0.7359 GB, free: 8.609 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.0006127/0.2292, allocations: 0.7134 MB / 0.7366 GB, free: 7.871 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0006/0.2298, allocations: 435.1 kB / 0.7371 GB, free: 7.391 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.2298, allocations: 384 / 0.7371 GB, free: 7.391 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 9.624e-05/0.2299, allocations: 47.92 kB / 0.7371 GB, free: 7.344 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002802/0.2301, allocations: 29.8 kB / 0.7371 GB, free: 7.316 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003301/0.2334, allocations: 2.61 MB / 0.7397 GB, free: 4.488 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.267e-05/0.2335, allocations: 98.72 kB / 0.7398 GB, free: 4.375 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 4.908e-05/0.2336, allocations: 12.64 kB / 0.7398 GB, free: 4.363 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.971e-05/0.2337, allocations: 39.42 kB / 0.7398 GB, free: 4.324 MB / 0.5606 GB Notification: Performance of SimCode: time 5.41e-07/0.2337, allocations: 0 / 0.7398 GB, free: 4.324 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03524/0.2689, allocations: 5.093 MB / 0.7448 GB, free: 15.43 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.2/11.47, allocations: 2.234 kB / 0.7448 GB, free: 15.43 MB / 0.5762 GB " [Timeout remaining time 648] (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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Switch_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 IBPSA_latest_IBPSA_Controls_OBC_CDL_Integers_Validation_Switch.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Switch.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.630571958143264] Failed to read output from testmodel.py, exit status != 0: 11.584486907348037 11.60057903 11.376656491 Calling exit ...