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.001721/0.001721, allocations: 111.3 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.001995/0.001995, 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.528/1.528, allocations: 230.6 MB / 253.5 MB, free: 15.1 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.027/1.027, allocations: 150 MB / 459.5 MB, free: 5.254 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: "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Reals.Validation.Switch,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Switch",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Reals.Validation.Switch,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_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.001981/0.001981, allocations: 69.56 kB / 0.6362 GB, free: 30.47 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1765/0.1785, allocations: 89.13 MB / 0.7232 GB, free: 3.977 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.Switch): time 0.003133/0.1816, allocations: 0.7684 MB / 0.724 GB, free: 3.203 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.00259/0.1842, allocations: 1.192 MB / 0.7251 GB, free: 2 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.279e-05/0.1842, allocations: 0 / 0.7251 GB, free: 2 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 4.995e-05/0.1843, allocations: 7.938 kB / 0.7251 GB, free: 1.992 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001134/0.1844, allocations: 11.88 kB / 0.7251 GB, free: 1.98 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008583/0.1853, allocations: 138.3 kB / 0.7253 GB, free: 1.848 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0003191/0.1856, allocations: 131.7 kB / 0.7254 GB, free: 1.719 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000138/0.1857, allocations: 8 kB / 0.7254 GB, free: 1.711 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001499/0.1859, allocations: 55.88 kB / 0.7255 GB, free: 1.656 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001658/0.186, allocations: 51.88 kB / 0.7255 GB, free: 1.605 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 4.285e-05/0.1861, allocations: 12 kB / 0.7255 GB, free: 1.594 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001118/0.1862, allocations: 23.98 kB / 0.7255 GB, free: 1.57 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 4.041e-05/0.1862, allocations: 15.94 kB / 0.7256 GB, free: 1.555 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.000103/0.1863, allocations: 43.83 kB / 0.7256 GB, free: 1.512 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003239/0.1867, allocations: 119.9 kB / 0.7257 GB, free: 1.391 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 7.274e-06/0.1867, allocations: 7.938 kB / 0.7257 GB, free: 1.383 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.334e-06/0.1867, allocations: 0 / 0.7257 GB, free: 1.383 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.783e-06/0.1867, allocations: 0 / 0.7257 GB, free: 1.383 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.001108/0.1878, allocations: 434.5 kB / 0.7261 GB, free: 0.9023 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.541e-05/0.1878, allocations: 12.03 kB / 0.7262 GB, free: 0.8906 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.135e-05/0.1879, allocations: 34.69 kB / 0.7262 GB, free: 0.8477 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.584e-05/0.188, allocations: 8.938 kB / 0.7262 GB, free: 0.8398 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003232/0.1883, allocations: 175.1 kB / 0.7264 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.158e-05/0.1883, allocations: 8.359 kB / 0.7264 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.301e-05/0.1884, allocations: 8.375 kB / 0.7264 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004715/0.1888, allocations: 82.12 kB / 0.7265 GB, free: 0.5312 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.521e-05/0.1889, allocations: 3.938 kB / 0.7265 GB, free: 0.5273 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.871e-05/0.1889, allocations: 4 kB / 0.7265 GB, free: 0.5234 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.043e-05/0.1889, allocations: 4 kB / 0.7265 GB, free: 0.5195 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000564/0.1895, allocations: 71.91 kB / 0.7265 GB, free: 460 kB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008951/0.1904, allocations: 340.6 kB / 0.7269 GB, free: 68 kB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003217/0.1907, allocations: 50.55 kB / 0.7269 GB, free: 8 kB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003239/0.191, allocations: 44.91 kB / 0.727 GB, free: 15.96 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.807e-05/0.191, allocations: 0 / 0.727 GB, free: 15.96 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000523/0.1916, allocations: 99.28 kB / 0.727 GB, free: 15.85 MB / 0.545 GB Notification: Performance of pre-optimization done (n=6): time 2.204e-06/0.1916, allocations: 0 / 0.727 GB, free: 15.85 MB / 0.545 GB Notification: Performance of matching and sorting (n=6): time 0.001097/0.1927, allocations: 161.7 kB / 0.7272 GB, free: 15.69 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.865e-05/0.1927, allocations: 51.41 kB / 0.7273 GB, free: 15.62 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002325/0.193, allocations: 126.1 kB / 0.7274 GB, free: 15.49 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.965e-05/0.193, allocations: 29.7 kB / 0.7274 GB, free: 15.45 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001057/0.1931, allocations: 92.09 kB / 0.7275 GB, free: 15.36 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.487e-05/0.1932, allocations: 19.89 kB / 0.7275 GB, free: 15.34 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001228/0.1933, allocations: 29.7 kB / 0.7275 GB, free: 15.3 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0003124/0.1936, allocations: 322.8 kB / 0.7278 GB, free: 14.98 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000392/0.194, allocations: 64 kB / 0.7279 GB, free: 14.92 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004142/0.1944, allocations: 90.45 kB / 0.728 GB, free: 14.82 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006666/0.1951, allocations: 140.3 kB / 0.7281 GB, free: 14.67 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.1951, allocations: 0 / 0.7281 GB, free: 14.67 MB / 0.545 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0009585/0.196, allocations: 219.2 kB / 0.7283 GB, free: 14.44 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 6.256e-05/0.1961, allocations: 31.42 kB / 0.7284 GB, free: 14.41 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.947e-06/0.1961, allocations: 4 kB / 0.7284 GB, free: 14.4 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.178e-05/0.1961, allocations: 3.984 kB / 0.7284 GB, free: 14.4 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002229/0.1964, allocations: 23.98 kB / 0.7284 GB, free: 14.38 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.195e-06/0.1964, allocations: 96 / 0.7284 GB, free: 14.38 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004555/0.1968, allocations: 47.83 kB / 0.7284 GB, free: 14.33 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.157e-05/0.1969, allocations: 7.984 kB / 0.7284 GB, free: 14.32 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.0001803/0.197, allocations: 121.8 kB / 0.7286 GB, free: 14.19 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.799e-05/0.1971, allocations: 3.953 kB / 0.7286 GB, free: 14.19 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.892e-05/0.1971, allocations: 16.38 kB / 0.7286 GB, free: 14.17 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/0.1971, allocations: 0 / 0.7286 GB, free: 14.17 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.503e-06/0.1971, allocations: 0 / 0.7286 GB, free: 14.17 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.85e-06/0.1972, allocations: 3.938 kB / 0.7286 GB, free: 14.16 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003206/0.1975, allocations: 181.6 kB / 0.7288 GB, free: 13.94 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.1975, allocations: 0 / 0.7288 GB, free: 13.94 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001753/0.1976, allocations: 19.98 kB / 0.7288 GB, free: 13.92 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.857e-06/0.1977, allocations: 0 / 0.7288 GB, free: 13.92 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.838e-05/0.1977, allocations: 7.938 kB / 0.7288 GB, free: 13.91 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/0.1977, allocations: 0 / 0.7288 GB, free: 13.91 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.1977, allocations: 4 kB / 0.7288 GB, free: 13.91 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008248/0.1985, allocations: 148.9 kB / 0.7289 GB, free: 13.74 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 8.883e-05/0.1986, allocations: 85.05 kB / 0.729 GB, free: 13.64 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.274e-05/0.1986, allocations: 4 kB / 0.729 GB, free: 13.64 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001553/0.1988, allocations: 15.98 kB / 0.729 GB, free: 13.62 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.909e-05/0.1988, allocations: 7.984 kB / 0.729 GB, free: 13.61 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.543e-05/0.1989, allocations: 4.125 kB / 0.729 GB, free: 13.61 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001035/0.199, allocations: 99.27 kB / 0.7291 GB, free: 13.51 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.199, allocations: 0 / 0.7291 GB, free: 13.51 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004397/0.1994, allocations: 20 kB / 0.7292 GB, free: 13.49 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.00134/0.2007, allocations: 0.6904 MB / 0.7298 GB, free: 12.77 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.000867/0.2016, allocations: 175.2 kB / 0.73 GB, free: 12.59 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.2016, allocations: 4.125 kB / 0.73 GB, free: 12.59 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.000292/0.2019, allocations: 47.95 kB / 0.73 GB, free: 12.54 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003553/0.2023, allocations: 11.98 kB / 0.7301 GB, free: 12.53 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004292/0.2066, allocations: 1.649 MB / 0.7317 GB, free: 10.78 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005276/0.2071, allocations: 0.6942 MB / 0.7323 GB, free: 10.06 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 6.07e-05/0.2071, allocations: 4 kB / 0.7324 GB, free: 10.05 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.887e-05/0.2072, allocations: 19.44 kB / 0.7324 GB, free: 10.04 MB / 0.545 GB Notification: Performance of SimCode: time 1.062e-06/0.2072, allocations: 0 / 0.7324 GB, free: 10.04 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03296/0.2402, allocations: 2.687 MB / 0.735 GB, free: 7.469 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.129/8.369, allocations: 14.09 kB / 0.735 GB, free: 7.461 MB / 0.545 GB " [Timeout remaining time 652] (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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.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_Reals_Validation_Switch.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Switch.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.457606818061322] Failed to read output from testmodel.py, exit status != 0: 8.436580585082993 8.452500032 8.262843784 Calling exit ...