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.001717/0.001717, allocations: 118 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.00218/0.00218, allocations: 221.1 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.502/1.502, allocations: 230.6 MB / 256.8 MB, free: 7.953 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.9552/0.9552, allocations: 150 MB / 463.2 MB, free: 10.46 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.002163/0.002163, allocations: 66.61 kB / 0.6413 GB, free: 10.34 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1871/0.1892, allocations: 89.17 MB / 0.7284 GB, free: 1.234 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Integers.Validation.Switch): time 0.00226/0.1915, allocations: 0.8191 MB / 0.7292 GB, free: 428 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0019/0.1934, allocations: 1.33 MB / 0.7305 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.604e-05/0.1935, allocations: 0 / 0.7305 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 4.704e-05/0.1935, allocations: 7.875 kB / 0.7305 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001056/0.1936, allocations: 23.8 kB / 0.7305 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009155/0.1945, allocations: 329.4 kB / 0.7308 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0004335/0.195, allocations: 291.5 kB / 0.7311 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001223/0.1951, allocations: 29.62 kB / 0.7311 GB, free: 14.42 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002124/0.1953, allocations: 123.7 kB / 0.7312 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000227/0.1955, allocations: 107.7 kB / 0.7313 GB, free: 14.19 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 6.846e-05/0.1956, allocations: 28 kB / 0.7314 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000101/0.1957, allocations: 39.98 kB / 0.7314 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 3.452e-05/0.1957, allocations: 23.92 kB / 0.7314 GB, free: 14.1 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001591/0.1959, allocations: 107.6 kB / 0.7315 GB, free: 14 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003515/0.1963, allocations: 271.4 kB / 0.7318 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.1963, allocations: 0 / 0.7318 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.283e-06/0.1963, allocations: 0 / 0.7318 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.837e-06/0.1963, allocations: 0 / 0.7318 GB, free: 13.73 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.0007482/0.197, allocations: 458.8 kB / 0.7322 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.826e-05/0.1971, allocations: 8.031 kB / 0.7322 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.542e-05/0.1971, allocations: 46.67 kB / 0.7323 GB, free: 13.17 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.447e-05/0.1972, allocations: 20.84 kB / 0.7323 GB, free: 13.15 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001381/0.1973, allocations: 127.7 kB / 0.7324 GB, free: 13 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.375e-05/0.1973, allocations: 19.94 kB / 0.7324 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.022e-05/0.1974, allocations: 23.98 kB / 0.7325 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001779/0.1976, allocations: 92.02 kB / 0.7325 GB, free: 12.87 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/0.1976, allocations: 0 / 0.7325 GB, free: 12.87 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.305e-05/0.1976, allocations: 7.922 kB / 0.7325 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.204e-06/0.1976, allocations: 4 kB / 0.7326 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001111/0.1977, allocations: 47.97 kB / 0.7326 GB, free: 12.81 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007433/0.1985, allocations: 463.4 kB / 0.733 GB, free: 12.31 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002297/0.1987, allocations: 66.69 kB / 0.7331 GB, free: 12.24 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.403e-05/0.1987, allocations: 24.84 kB / 0.7331 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.462e-05/0.1988, allocations: 4 kB / 0.7331 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002312/0.199, allocations: 119.3 kB / 0.7332 GB, free: 12.08 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=14): time 1.473e-06/0.199, allocations: 4 kB / 0.7332 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of matching and sorting (n=14): time 0.000368/0.1994, allocations: 177.5 kB / 0.7334 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.979e-05/0.1994, allocations: 55.41 kB / 0.7335 GB, free: 11.83 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001599/0.1996, allocations: 161.5 kB / 0.7336 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.347e-05/0.1996, allocations: 33.7 kB / 0.7337 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001077/0.1997, allocations: 120 kB / 0.7338 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.286e-05/0.1998, allocations: 27.84 kB / 0.7338 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000136/0.1999, allocations: 69.67 kB / 0.7339 GB, free: 11.4 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001482/0.2, allocations: 326.8 kB / 0.7342 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002074/0.2002, allocations: 103.9 kB / 0.7343 GB, free: 10.97 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002246/0.2005, allocations: 138 kB / 0.7344 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003252/0.2008, allocations: 257.4 kB / 0.7347 GB, free: 10.53 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.2008, allocations: 0 / 0.7347 GB, free: 10.53 MB / 0.5606 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0006581/0.2015, allocations: 410.3 kB / 0.735 GB, free: 10.1 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 9.477e-05/0.2016, allocations: 101.1 kB / 0.7351 GB, free: 9.984 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.2016, allocations: 4.188 kB / 0.7351 GB, free: 9.98 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.781e-05/0.2016, allocations: 4 kB / 0.7351 GB, free: 9.977 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.799e-05/0.2016, allocations: 11.98 kB / 0.7352 GB, free: 9.965 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.839e-06/0.2016, allocations: 4 kB / 0.7352 GB, free: 9.961 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004409/0.2021, allocations: 83.8 kB / 0.7352 GB, free: 9.879 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.203e-05/0.2021, allocations: 23.92 kB / 0.7353 GB, free: 9.855 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.0001503/0.2023, allocations: 141.8 kB / 0.7354 GB, free: 9.707 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.857e-05/0.2023, allocations: 19.84 kB / 0.7354 GB, free: 9.688 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.828e-05/0.2023, allocations: 12.78 kB / 0.7354 GB, free: 9.672 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.2023, allocations: 0 / 0.7354 GB, free: 9.672 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.2024, allocations: 0 / 0.7354 GB, free: 9.672 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.2024, allocations: 0 / 0.7354 GB, free: 9.672 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000201/0.2026, allocations: 192.6 kB / 0.7356 GB, free: 9.441 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.2026, allocations: 3.938 kB / 0.7356 GB, free: 9.438 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.934e-05/0.2026, allocations: 23.88 kB / 0.7356 GB, free: 9.414 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.999e-06/0.2026, allocations: 4 kB / 0.7356 GB, free: 9.41 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.367e-06/0.2026, allocations: 0 / 0.7356 GB, free: 9.41 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.566e-06/0.2026, allocations: 3.984 kB / 0.7357 GB, free: 9.406 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.2026, allocations: 0 / 0.7357 GB, free: 9.406 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002426/0.2029, allocations: 154.8 kB / 0.7358 GB, free: 9.238 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 2.643e-05/0.2029, allocations: 19.83 kB / 0.7358 GB, free: 9.219 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.272e-05/0.2029, allocations: 8 kB / 0.7358 GB, free: 9.211 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.997e-05/0.2029, allocations: 4 kB / 0.7358 GB, free: 9.207 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.344e-05/0.203, allocations: 11.98 kB / 0.7358 GB, free: 9.195 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.275e-05/0.203, allocations: 7.984 kB / 0.7358 GB, free: 9.188 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 9.415e-05/0.2031, allocations: 111.3 kB / 0.736 GB, free: 9.078 MB / 0.5606 GB Notification: Performance of sort global known variables: time 6.1e-08/0.2031, allocations: 0 / 0.736 GB, free: 9.078 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.00028/0.2034, allocations: 51.98 kB / 0.736 GB, free: 9.027 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.0006632/0.204, allocations: 0.7107 MB / 0.7367 GB, free: 8.289 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0005405/0.2046, allocations: 352.4 kB / 0.737 GB, free: 7.91 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.2046, allocations: 0 / 0.737 GB, free: 7.91 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 7.931e-05/0.2047, allocations: 35.98 kB / 0.7371 GB, free: 7.875 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002732/0.2049, allocations: 32.36 kB / 0.7371 GB, free: 7.844 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003052/0.208, allocations: 2.244 MB / 0.7393 GB, free: 5.457 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003587/0.2083, allocations: 0.7122 MB / 0.74 GB, free: 4.719 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 4.871e-05/0.2084, allocations: 16.64 kB / 0.74 GB, free: 4.703 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.897e-05/0.2085, allocations: 43.42 kB / 0.74 GB, free: 4.66 MB / 0.5606 GB Notification: Performance of SimCode: time 3.7e-07/0.2085, allocations: 0 / 0.74 GB, free: 4.66 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03094/0.2394, allocations: 4.384 MB / 0.7443 GB, free: 460 kB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.65/10.89, allocations: 11.97 kB / 0.7443 GB, free: 448 kB / 0.5606 GB " [Timeout remaining time 649] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_OBC_CDL_Integers_Validation_Switch_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=50 --tolerance=1e-06 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: 14.6705368750263] Failed to read output from testmodel.py, exit status != 0: 10.996474178973585 11.022493722 10.821562617 Calling exit ...