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.00246/0.00246, allocations: 108.3 kB / 19.7 MB, free: 1.918 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.002455/0.002455, allocations: 212.5 kB / 22.99 MB, free: 4.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.493/1.493, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.014/1.014, allocations: 149.9 MB / 463 MB, free: 10.36 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.002424/0.002424, allocations: 62.75 kB / 0.6411 GB, free: 10.15 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1682/0.1706, allocations: 89.17 MB / 0.7281 GB, free: 1.059 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.003793/0.1744, allocations: 1.407 MB / 0.7295 GB, free: 15.64 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002929/0.1773, allocations: 1.76 MB / 0.7312 GB, free: 13.87 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.721e-05/0.1774, allocations: 0 / 0.7312 GB, free: 13.87 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001407/0.1788, allocations: 361.1 kB / 0.7316 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 7.18e-05/0.1789, allocations: 23.91 kB / 0.7316 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 5.19e-06/0.1789, allocations: 0 / 0.7316 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002423/0.1791, allocations: 123.1 kB / 0.7317 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 5.739e-05/0.1792, allocations: 5.688 kB / 0.7317 GB, free: 13.37 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 7.644e-05/0.1792, allocations: 39.86 kB / 0.7318 GB, free: 13.33 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001457/0.1794, allocations: 71.64 kB / 0.7318 GB, free: 13.26 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.918e-05/0.1794, allocations: 4 kB / 0.7318 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004808/0.1799, allocations: 175.9 kB / 0.732 GB, free: 13.08 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 5.423e-05/0.1799, allocations: 31.83 kB / 0.732 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 7.859e-05/0.18, allocations: 63.67 kB / 0.7321 GB, free: 12.99 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0004369/0.1805, allocations: 291 kB / 0.7324 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.848e-06/0.1805, allocations: 0 / 0.7324 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.603e-06/0.1805, allocations: 0 / 0.7324 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.952e-06/0.1805, allocations: 0 / 0.7324 GB, free: 12.7 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.0007655/0.1812, allocations: 421.2 kB / 0.7328 GB, free: 12.26 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.36e-05/0.1813, allocations: 8.031 kB / 0.7328 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.223e-05/0.1813, allocations: 114 kB / 0.7329 GB, free: 12.13 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001657/0.1815, allocations: 104 kB / 0.733 GB, free: 12.03 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000238/0.1817, allocations: 229.1 kB / 0.7332 GB, free: 11.78 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.743e-05/0.1818, allocations: 150.9 kB / 0.7333 GB, free: 11.63 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.029e-05/0.1819, allocations: 158.9 kB / 0.7335 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.058e-05/0.182, allocations: 108.9 kB / 0.7336 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.929e-05/0.182, allocations: 75.28 kB / 0.7337 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001205/0.1821, allocations: 162.5 kB / 0.7338 GB, free: 11.13 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.363e-05/0.1822, allocations: 150.6 kB / 0.734 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.667e-05/0.1823, allocations: 150.6 kB / 0.7341 GB, free: 10.83 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004209/0.1827, allocations: 480.8 kB / 0.7346 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001117/0.1828, allocations: 173.1 kB / 0.7347 GB, free: 10.14 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.366e-05/0.1829, allocations: 84.12 kB / 0.7348 GB, free: 10.05 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 4.118e-05/0.1829, allocations: 79.22 kB / 0.7349 GB, free: 9.977 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.316e-05/0.183, allocations: 105.8 kB / 0.735 GB, free: 9.863 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=0): time 9.31e-07/0.183, allocations: 0 / 0.735 GB, free: 9.863 MB / 0.5606 GB Notification: Performance of matching and sorting (n=0): time 0.0001846/0.1832, allocations: 57.48 kB / 0.7351 GB, free: 9.801 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.677e-05/0.1832, allocations: 130.7 kB / 0.7352 GB, free: 9.66 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003608/0.1836, allocations: 325.6 kB / 0.7355 GB, free: 9.332 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.073e-05/0.1836, allocations: 25.7 kB / 0.7355 GB, free: 9.301 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 8.439e-05/0.1837, allocations: 120.5 kB / 0.7356 GB, free: 9.18 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.594e-06/0.1837, allocations: 0 / 0.7356 GB, free: 9.18 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.424e-05/0.1838, allocations: 65.67 kB / 0.7357 GB, free: 9.109 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002177/0.184, allocations: 326.8 kB / 0.736 GB, free: 8.781 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.617e-05/0.1841, allocations: 67.89 kB / 0.7361 GB, free: 8.715 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001453/0.1842, allocations: 118 kB / 0.7362 GB, free: 8.578 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003051/0.1845, allocations: 209.8 kB / 0.7364 GB, free: 8.352 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.1845, allocations: 0 / 0.7364 GB, free: 8.352 MB / 0.5606 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004381/0.185, allocations: 245.2 kB / 0.7366 GB, free: 8.105 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/0.185, allocations: 9.406 kB / 0.7366 GB, free: 8.098 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.185, allocations: 0 / 0.7366 GB, free: 8.098 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.702e-05/0.185, allocations: 4 kB / 0.7366 GB, free: 8.094 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.713e-06/0.185, allocations: 0 / 0.7366 GB, free: 8.094 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.608e-06/0.185, allocations: 7.938 kB / 0.7366 GB, free: 8.086 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000114/0.1852, allocations: 23.73 kB / 0.7367 GB, free: 8.062 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.118e-05/0.1852, allocations: 4 kB / 0.7367 GB, free: 8.059 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.0002617/0.1854, allocations: 227 kB / 0.7369 GB, free: 7.828 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.009e-05/0.1855, allocations: 121 kB / 0.737 GB, free: 7.703 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.902e-05/0.1856, allocations: 121.7 kB / 0.7371 GB, free: 7.578 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.509e-05/0.1857, allocations: 180.3 kB / 0.7373 GB, free: 7.395 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.145e-05/0.1857, allocations: 184.2 kB / 0.7375 GB, free: 7.207 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.882e-05/0.1858, allocations: 176.3 kB / 0.7376 GB, free: 7.027 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003128/0.1861, allocations: 424.2 kB / 0.738 GB, free: 6.562 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.809e-05/0.1862, allocations: 108.9 kB / 0.7381 GB, free: 6.449 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.692e-05/0.1863, allocations: 105 kB / 0.7382 GB, free: 6.34 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.622e-05/0.1864, allocations: 188.2 kB / 0.7384 GB, free: 6.148 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.869e-05/0.1864, allocations: 176.3 kB / 0.7386 GB, free: 5.969 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.051e-05/0.1865, allocations: 184.2 kB / 0.7388 GB, free: 5.781 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.696e-05/0.1866, allocations: 184.3 kB / 0.7389 GB, free: 5.594 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000179/0.1868, allocations: 319.6 kB / 0.7392 GB, free: 5.258 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 8.127e-05/0.1869, allocations: 125.1 kB / 0.7394 GB, free: 5.129 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001041/0.187, allocations: 180.2 kB / 0.7395 GB, free: 4.945 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001307/0.1871, allocations: 113 kB / 0.7396 GB, free: 4.828 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.126e-05/0.1872, allocations: 176.3 kB / 0.7398 GB, free: 4.648 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.964e-05/0.1872, allocations: 112.9 kB / 0.7399 GB, free: 4.531 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002138/0.1874, allocations: 217.2 kB / 0.7401 GB, free: 4.32 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.1874, allocations: 0 / 0.7401 GB, free: 4.32 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003518/0.1878, allocations: 71.86 kB / 0.7402 GB, free: 4.25 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.0006953/0.1885, allocations: 0.9138 MB / 0.7411 GB, free: 3.309 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001812/0.1887, allocations: 83.83 kB / 0.7412 GB, free: 3.227 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.1887, allocations: 448 / 0.7412 GB, free: 3.227 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 3.276e-06/0.1887, allocations: 8 kB / 0.7412 GB, free: 3.219 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000454/0.1891, allocations: 460.2 kB / 0.7416 GB, free: 2.762 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002586/0.1917, allocations: 2.445 MB / 0.744 GB, free: 200 kB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001202/0.1918, allocations: 122.8 kB / 0.7441 GB, free: 52 kB / 0.5606 GB Notification: Performance of simCode: alias equations: time 1.603e-05/0.1919, allocations: 7.984 kB / 0.7441 GB, free: 44 kB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.354e-05/0.1919, allocations: 35.42 kB / 0.7442 GB, free: 12 kB / 0.5606 GB Notification: Performance of SimCode: time 4.81e-07/0.1919, allocations: 4 kB / 0.7442 GB, free: 8 kB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03326/0.2252, allocations: 5.407 MB / 0.7494 GB, free: 10.76 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.26/11.49, allocations: 5.344 kB / 0.7494 GB, free: 10.76 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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_low_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.901283282320946] Failed to read output from testmodel.py, exit status != 0: 11.601341424044222 11.950869057 11.766109439 Calling exit ...