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.001338/0.001338, allocations: 117.9 kB / 19.7 MB, free: 2.188 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.001427/0.001427, allocations: 219.2 kB / 23 MB, free: 5.004 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.457/1.457, allocations: 230.6 MB / 256.8 MB, free: 7.98 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.9843/0.9843, allocations: 150 MB / 463.2 MB, free: 10.49 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.002003/0.002003, allocations: 74.95 kB / 0.6413 GB, free: 10.39 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1738/0.1758, allocations: 89.17 MB / 0.7283 GB, free: 1.297 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.002731/0.1785, allocations: 1.427 MB / 0.7297 GB, free: 15.86 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.00262/0.1811, allocations: 1.966 MB / 0.7317 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.565e-05/0.1812, allocations: 0 / 0.7317 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0009897/0.1821, allocations: 389.9 kB / 0.732 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.298e-05/0.1822, allocations: 27.84 kB / 0.7321 GB, free: 13.47 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 3.957e-06/0.1822, allocations: 0 / 0.7321 GB, free: 13.47 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002487/0.1824, allocations: 127.1 kB / 0.7322 GB, free: 13.35 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.902e-05/0.1825, allocations: 5.688 kB / 0.7322 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 6.307e-05/0.1826, allocations: 43.86 kB / 0.7322 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001303/0.1827, allocations: 67.64 kB / 0.7323 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.468e-05/0.1827, allocations: 8 kB / 0.7323 GB, free: 13.22 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004878/0.1832, allocations: 179.9 kB / 0.7325 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 5.129e-05/0.1832, allocations: 35.83 kB / 0.7325 GB, free: 13.01 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 8.522e-05/0.1833, allocations: 67.61 kB / 0.7326 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0004713/0.1838, allocations: 287 kB / 0.7328 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.501e-06/0.1838, allocations: 3.984 kB / 0.7328 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.212e-06/0.1838, allocations: 0 / 0.7328 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.881e-06/0.1838, allocations: 0 / 0.7328 GB, free: 12.66 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.0007418/0.1846, allocations: 425.2 kB / 0.7332 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.714e-05/0.1846, allocations: 12.03 kB / 0.7333 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.285e-05/0.1847, allocations: 106 kB / 0.7334 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001686/0.1848, allocations: 96.08 kB / 0.7334 GB, free: 12 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002455/0.1851, allocations: 233.1 kB / 0.7337 GB, free: 11.74 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.012e-05/0.1852, allocations: 158.9 kB / 0.7338 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.55e-05/0.1852, allocations: 158.9 kB / 0.734 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.39e-05/0.1853, allocations: 108.9 kB / 0.7341 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.45e-05/0.1853, allocations: 75.28 kB / 0.7342 GB, free: 11.24 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.094e-05/0.1854, allocations: 150.6 kB / 0.7343 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.821e-05/0.1855, allocations: 154.6 kB / 0.7344 GB, free: 10.94 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.473e-05/0.1855, allocations: 150.6 kB / 0.7346 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003932/0.1859, allocations: 496.7 kB / 0.7351 GB, free: 10.27 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 9.429e-05/0.186, allocations: 173.1 kB / 0.7352 GB, free: 10.09 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.589e-05/0.1861, allocations: 80.14 kB / 0.7353 GB, free: 10 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.371e-05/0.1861, allocations: 79.22 kB / 0.7354 GB, free: 9.926 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.998e-05/0.1862, allocations: 109.8 kB / 0.7355 GB, free: 9.809 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=0): time 9.52e-07/0.1862, allocations: 0 / 0.7355 GB, free: 9.809 MB / 0.5606 GB Notification: Performance of matching and sorting (n=0): time 0.0001768/0.1863, allocations: 49.59 kB / 0.7355 GB, free: 9.754 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.695e-05/0.1864, allocations: 130.6 kB / 0.7357 GB, free: 9.613 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003698/0.1868, allocations: 329.6 kB / 0.736 GB, free: 9.281 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.693e-05/0.1868, allocations: 25.7 kB / 0.736 GB, free: 9.25 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 8.115e-05/0.1869, allocations: 116.5 kB / 0.7361 GB, free: 9.133 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.954e-06/0.1869, allocations: 4 kB / 0.7361 GB, free: 9.129 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.907e-05/0.187, allocations: 57.69 kB / 0.7362 GB, free: 9.066 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001543/0.1871, allocations: 334.8 kB / 0.7365 GB, free: 8.73 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.828e-05/0.1872, allocations: 63.95 kB / 0.7365 GB, free: 8.668 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001395/0.1873, allocations: 114 kB / 0.7366 GB, free: 8.535 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002556/0.1876, allocations: 213.8 kB / 0.7369 GB, free: 8.305 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.1876, allocations: 0 / 0.7369 GB, free: 8.305 MB / 0.5606 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.000432/0.188, allocations: 237.3 kB / 0.7371 GB, free: 8.066 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.314e-05/0.188, allocations: 4 kB / 0.7371 GB, free: 8.062 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.188, allocations: 4 kB / 0.7371 GB, free: 8.059 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.667e-05/0.1881, allocations: 3.984 kB / 0.7371 GB, free: 8.055 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.313e-06/0.1881, allocations: 4 kB / 0.7371 GB, free: 8.051 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.478e-06/0.1881, allocations: 8.156 kB / 0.7371 GB, free: 8.043 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001098/0.1882, allocations: 27.73 kB / 0.7371 GB, free: 8.016 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.728e-06/0.1882, allocations: 4 kB / 0.7371 GB, free: 8.012 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.0002248/0.1884, allocations: 227 kB / 0.7373 GB, free: 7.781 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.028e-05/0.1885, allocations: 120.8 kB / 0.7375 GB, free: 7.656 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.031e-05/0.1886, allocations: 113.7 kB / 0.7376 GB, free: 7.539 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.243e-05/0.1887, allocations: 188.2 kB / 0.7378 GB, free: 7.348 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.776e-05/0.1887, allocations: 188.2 kB / 0.7379 GB, free: 7.156 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.234e-05/0.1888, allocations: 176.3 kB / 0.7381 GB, free: 6.977 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000304/0.1891, allocations: 424.2 kB / 0.7385 GB, free: 6.512 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.514e-05/0.1892, allocations: 108.9 kB / 0.7386 GB, free: 6.398 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.512e-05/0.1892, allocations: 101 kB / 0.7387 GB, free: 6.293 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.227e-05/0.1893, allocations: 188.2 kB / 0.7389 GB, free: 6.102 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.292e-05/0.1894, allocations: 180.2 kB / 0.7391 GB, free: 5.918 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.032e-05/0.1895, allocations: 180.2 kB / 0.7392 GB, free: 5.734 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.088e-05/0.1895, allocations: 180.2 kB / 0.7394 GB, free: 5.551 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00018/0.1897, allocations: 327.6 kB / 0.7397 GB, free: 5.207 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 7.935e-05/0.1898, allocations: 121.1 kB / 0.7398 GB, free: 5.082 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001048/0.1899, allocations: 184.3 kB / 0.74 GB, free: 4.895 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001385/0.19, allocations: 116.9 kB / 0.7401 GB, free: 4.773 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.414e-05/0.1901, allocations: 176.3 kB / 0.7403 GB, free: 4.594 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.373e-05/0.1902, allocations: 112.9 kB / 0.7404 GB, free: 4.477 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002135/0.1904, allocations: 217.2 kB / 0.7406 GB, free: 4.266 MB / 0.5606 GB Notification: Performance of sort global known variables: time 6e-08/0.1904, allocations: 0 / 0.7406 GB, free: 4.266 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003551/0.1907, allocations: 71.86 kB / 0.7407 GB, free: 4.195 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.0006491/0.1914, allocations: 0.9197 MB / 0.7416 GB, free: 3.25 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001665/0.1916, allocations: 79.89 kB / 0.7416 GB, free: 3.172 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.1916, allocations: 0 / 0.7416 GB, free: 3.172 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 3.566e-06/0.1916, allocations: 3.938 kB / 0.7416 GB, free: 3.168 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004223/0.192, allocations: 464.6 kB / 0.7421 GB, free: 2.707 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002559/0.1945, allocations: 2.444 MB / 0.7445 GB, free: 148 kB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003762/0.1949, allocations: 0.7392 MB / 0.7452 GB, free: 15.38 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 1.495e-05/0.1949, allocations: 7.984 kB / 0.7452 GB, free: 15.37 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.139e-05/0.195, allocations: 35.42 kB / 0.7452 GB, free: 15.34 MB / 0.5762 GB Notification: Performance of SimCode: time 2.9e-07/0.195, allocations: 0 / 0.7452 GB, free: 15.34 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03053/0.2255, allocations: 4.944 MB / 0.7501 GB, free: 10.54 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.15/11.37, allocations: 8.625 kB / 0.7501 GB, free: 10.54 MB / 0.5762 GB " [Timeout remaining time 649] (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.485225426000397] Failed to read output from testmodel.py, exit status != 0: 11.479375255999912 11.836247695 11.649448973 Calling exit ...