Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_low.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.00138/0.00138, 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.001493/0.001493, allocations: 211.9 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.464/1.464, allocations: 230.6 MB / 256.8 MB, free: 7.812 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.9583/0.9583, allocations: 149.9 MB / 463.1 MB, free: 10.31 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.Electrical.Transmission.Functions.Validation.SelectCable_low,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_Transmission_Functions_Validation_SelectCable_low",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_low,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_Transmission_Functions_Validation_SelectCable_low",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.002309/0.002309, allocations: 63.22 kB / 0.6411 GB, free: 10.14 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1855/0.1878, allocations: 89.18 MB / 0.7281 GB, free: 1.035 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.002917/0.1907, allocations: 1.397 MB / 0.7295 GB, free: 15.62 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002622/0.1933, allocations: 1.76 MB / 0.7312 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.398e-05/0.1934, allocations: 4 kB / 0.7312 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001214/0.1946, allocations: 354.9 kB / 0.7316 GB, free: 13.51 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 6.379e-05/0.1947, allocations: 19.92 kB / 0.7316 GB, free: 13.49 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 4.488e-06/0.1947, allocations: 0 / 0.7316 GB, free: 13.49 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002538/0.1949, allocations: 131.1 kB / 0.7317 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 5.395e-05/0.195, allocations: 9.688 kB / 0.7317 GB, free: 13.35 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 8.271e-05/0.1951, allocations: 43.84 kB / 0.7318 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001406/0.1952, allocations: 59.72 kB / 0.7318 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.926e-05/0.1952, allocations: 4 kB / 0.7318 GB, free: 13.24 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000467/0.1957, allocations: 175.9 kB / 0.732 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 6.155e-05/0.1957, allocations: 39.83 kB / 0.732 GB, free: 13.03 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 8.045e-05/0.1958, allocations: 55.69 kB / 0.7321 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0005152/0.1963, allocations: 295 kB / 0.7324 GB, free: 12.69 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.1963, allocations: 0 / 0.7324 GB, free: 12.69 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.473e-06/0.1963, allocations: 0 / 0.7324 GB, free: 12.69 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.352e-06/0.1964, allocations: 4 kB / 0.7324 GB, free: 12.68 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0007823/0.1971, allocations: 417.2 kB / 0.7328 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.41e-05/0.1972, allocations: 12.03 kB / 0.7328 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.889e-05/0.1972, allocations: 110 kB / 0.7329 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001745/0.1974, allocations: 96.12 kB / 0.733 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002417/0.1977, allocations: 233.1 kB / 0.7332 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.914e-05/0.1977, allocations: 158.9 kB / 0.7334 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.206e-05/0.1978, allocations: 154.9 kB / 0.7335 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.133e-05/0.1979, allocations: 108.9 kB / 0.7336 GB, free: 11.35 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.404e-05/0.1979, allocations: 75.28 kB / 0.7337 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.054e-05/0.198, allocations: 150.6 kB / 0.7338 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.559e-05/0.1981, allocations: 150.6 kB / 0.734 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.458e-05/0.1981, allocations: 154.5 kB / 0.7341 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004097/0.1985, allocations: 484.8 kB / 0.7346 GB, free: 10.31 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001094/0.1987, allocations: 177.1 kB / 0.7347 GB, free: 10.12 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.231e-05/0.1987, allocations: 84.14 kB / 0.7348 GB, free: 10.04 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 4.352e-05/0.1987, allocations: 79.22 kB / 0.7349 GB, free: 9.961 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.6e-05/0.1988, allocations: 109.8 kB / 0.735 GB, free: 9.844 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=0): time 1.253e-06/0.1988, allocations: 0 / 0.735 GB, free: 9.844 MB / 0.5606 GB Notification: Performance of matching and sorting (n=0): time 0.0001797/0.199, allocations: 49.5 kB / 0.735 GB, free: 9.789 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.658e-05/0.1991, allocations: 134.7 kB / 0.7352 GB, free: 9.645 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003668/0.1994, allocations: 317.7 kB / 0.7355 GB, free: 9.324 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.906e-05/0.1995, allocations: 25.7 kB / 0.7355 GB, free: 9.293 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 9.248e-05/0.1995, allocations: 124.4 kB / 0.7356 GB, free: 9.168 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.384e-06/0.1995, allocations: 0 / 0.7356 GB, free: 9.168 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.808e-05/0.1996, allocations: 65.69 kB / 0.7357 GB, free: 9.098 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001571/0.1998, allocations: 330.8 kB / 0.736 GB, free: 8.766 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001009/0.1999, allocations: 63.97 kB / 0.7361 GB, free: 8.703 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001452/0.2, allocations: 117.9 kB / 0.7362 GB, free: 8.566 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002736/0.2003, allocations: 209.8 kB / 0.7364 GB, free: 8.34 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.766e-06/0.2003, allocations: 0 / 0.7364 GB, free: 8.34 MB / 0.5606 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005647/0.2009, allocations: 241.2 kB / 0.7366 GB, free: 8.098 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.898e-05/0.2009, allocations: 8 kB / 0.7366 GB, free: 8.09 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/0.2009, allocations: 0 / 0.7366 GB, free: 8.09 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.942e-05/0.2009, allocations: 4 kB / 0.7366 GB, free: 8.086 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.333e-06/0.2009, allocations: 224 / 0.7366 GB, free: 8.086 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.099e-05/0.2009, allocations: 11.98 kB / 0.7366 GB, free: 8.074 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001274/0.2011, allocations: 23.73 kB / 0.7367 GB, free: 8.051 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.382e-05/0.2011, allocations: 8 kB / 0.7367 GB, free: 8.043 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: 7 (cab[1].material,cab[2].material,cab[3].material,cab[4].material,cab[5].material,cab[6].material,cab[7].material) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 7 * 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.0002523/0.2013, allocations: 228.7 kB / 0.7369 GB, free: 7.812 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.641e-05/0.2014, allocations: 124.8 kB / 0.737 GB, free: 7.684 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.307e-05/0.2015, allocations: 109.8 kB / 0.7371 GB, free: 7.57 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.606e-05/0.2015, allocations: 180.2 kB / 0.7373 GB, free: 7.387 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.789e-05/0.2016, allocations: 184.3 kB / 0.7374 GB, free: 7.199 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.647e-05/0.2017, allocations: 184.3 kB / 0.7376 GB, free: 7.012 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002978/0.202, allocations: 424.2 kB / 0.738 GB, free: 6.547 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.751e-05/0.202, allocations: 104.9 kB / 0.7381 GB, free: 6.438 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.088e-05/0.2021, allocations: 108.9 kB / 0.7382 GB, free: 6.324 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001348/0.2022, allocations: 176.3 kB / 0.7384 GB, free: 6.145 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.365e-05/0.2023, allocations: 184.2 kB / 0.7386 GB, free: 5.957 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001404/0.2025, allocations: 184.3 kB / 0.7388 GB, free: 5.77 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.255e-05/0.2025, allocations: 180.2 kB / 0.7389 GB, free: 5.586 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002114/0.2028, allocations: 323.6 kB / 0.7392 GB, free: 5.246 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 8.254e-05/0.2028, allocations: 121.1 kB / 0.7393 GB, free: 5.121 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001018/0.2029, allocations: 184.2 kB / 0.7395 GB, free: 4.934 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001375/0.2031, allocations: 113 kB / 0.7396 GB, free: 4.816 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.974e-05/0.2032, allocations: 188.1 kB / 0.7398 GB, free: 4.625 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.958e-05/0.2032, allocations: 101 kB / 0.7399 GB, free: 4.52 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003938/0.2036, allocations: 217.2 kB / 0.7401 GB, free: 4.309 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.71e-07/0.2036, allocations: 3.938 kB / 0.7401 GB, free: 4.305 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003919/0.204, allocations: 67.92 kB / 0.7402 GB, free: 4.238 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0006876/0.2047, allocations: 0.9255 MB / 0.7411 GB, free: 3.285 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001728/0.2048, allocations: 79.89 kB / 0.7412 GB, free: 3.207 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.928e-06/0.2049, allocations: 4 kB / 0.7412 GB, free: 3.203 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 1.513e-06/0.2049, allocations: 0 / 0.7412 GB, free: 3.203 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004155/0.2053, allocations: 456.2 kB / 0.7416 GB, free: 2.75 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002646/0.2079, allocations: 2.445 MB / 0.744 GB, free: 188 kB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001288/0.208, allocations: 134.8 kB / 0.7441 GB, free: 28 kB / 0.5606 GB Notification: Performance of simCode: alias equations: time 1.517e-05/0.2081, allocations: 4 kB / 0.7441 GB, free: 24 kB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.692e-05/0.2081, allocations: 31.42 kB / 0.7442 GB, free: 16 MB / 0.5762 GB Notification: Performance of SimCode: time 7.01e-07/0.2081, allocations: 0 / 0.7442 GB, free: 16 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03392/0.242, allocations: 5.408 MB / 0.7494 GB, free: 10.75 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.17/11.41, allocations: 14.28 kB / 0.7494 GB, free: 10.74 MB / 0.5762 GB " [Timeout remaining time 648] (rm -f IBPSA_latest_IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_low.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_Transmission_Functions_Validation_SelectCable_low_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_Transmission_Functions_Validation_SelectCable_low.fmu > IBPSA_latest_IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.415229581762105] Failed to read output from testmodel.py, exit status != 0: 11.516430194023997 11.860545189 11.661386408 Calling exit ...