Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_med.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.001209/0.001209, allocations: 104.5 kB / 16.45 MB, free: 6.449 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.001439/0.001439, allocations: 212.9 kB / 19.43 MB, free: 3.637 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.399/1.399, allocations: 230.6 MB / 252.8 MB, free: 8.953 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002472/0.002472, allocations: 287.3 kB / 309.1 MB, free: 4.051 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.184/1.184, allocations: 180.9 MB / 0.5333 GB, free: 13.81 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_med,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_Transmission_Functions_Validation_SelectCable_med",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_med,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_Transmission_Functions_Validation_SelectCable_med",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 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: BuildingSystems 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.00277/0.00277, allocations: 103.2 kB / 0.7342 GB, free: 28.14 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1701/0.1729, allocations: 95.34 MB / 0.8273 GB, free: 9.867 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.002486/0.1754, allocations: 1.442 MB / 0.8287 GB, free: 8.41 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.003339/0.1787, allocations: 2.689 MB / 0.8314 GB, free: 5.715 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.015e-05/0.1788, allocations: 0 / 0.8314 GB, free: 5.715 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001382/0.1802, allocations: 0.586 MB / 0.8319 GB, free: 5.129 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 4.271e-05/0.1802, allocations: 15.86 kB / 0.832 GB, free: 5.113 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 3.787e-06/0.1802, allocations: 0 / 0.832 GB, free: 5.113 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0002595/0.1805, allocations: 158.9 kB / 0.8321 GB, free: 4.957 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 5.823e-05/0.1805, allocations: 24.41 kB / 0.8321 GB, free: 4.934 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 7.914e-05/0.1806, allocations: 71.66 kB / 0.8322 GB, free: 4.863 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001332/0.1807, allocations: 83.56 kB / 0.8323 GB, free: 4.781 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.234e-05/0.1807, allocations: 0 / 0.8323 GB, free: 4.781 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009721/0.1817, allocations: 463.3 kB / 0.8327 GB, free: 4.328 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 5.84e-05/0.1818, allocations: 39.77 kB / 0.8328 GB, free: 4.289 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001043/0.1819, allocations: 95.42 kB / 0.8329 GB, free: 4.195 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0006227/0.1825, allocations: 446 kB / 0.8333 GB, free: 3.758 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.1825, allocations: 0 / 0.8333 GB, free: 3.758 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.333e-06/0.1825, allocations: 0 / 0.8333 GB, free: 3.758 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.107e-05/0.1825, allocations: 3.938 kB / 0.8333 GB, free: 3.754 MB / 0.5762 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.0007869/0.1833, allocations: 0.5526 MB / 0.8338 GB, free: 3.148 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.786e-05/0.1833, allocations: 8.031 kB / 0.8338 GB, free: 3.141 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.805e-05/0.1834, allocations: 106 kB / 0.8339 GB, free: 3.027 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001721/0.1836, allocations: 108 kB / 0.834 GB, free: 2.922 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002758/0.1838, allocations: 310.3 kB / 0.8343 GB, free: 2.582 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.163e-05/0.1839, allocations: 150.9 kB / 0.8345 GB, free: 2.434 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.273e-05/0.184, allocations: 158.9 kB / 0.8346 GB, free: 2.277 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.471e-05/0.1841, allocations: 113.4 kB / 0.8347 GB, free: 2.16 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.834e-05/0.1841, allocations: 79.22 kB / 0.8348 GB, free: 2.082 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.685e-05/0.1842, allocations: 154.6 kB / 0.835 GB, free: 1.93 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.573e-05/0.1842, allocations: 150.6 kB / 0.8351 GB, free: 1.781 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.479e-05/0.1843, allocations: 154.6 kB / 0.8352 GB, free: 1.629 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004058/0.1847, allocations: 0.5328 MB / 0.8358 GB, free: 1.047 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001042/0.1848, allocations: 173.1 kB / 0.8359 GB, free: 0.8672 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.927e-05/0.1849, allocations: 84.14 kB / 0.836 GB, free: 0.7812 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 3.835e-05/0.1849, allocations: 75.28 kB / 0.8361 GB, free: 0.707 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.302e-05/0.185, allocations: 105.8 kB / 0.8362 GB, free: 0.5938 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=0): time 9.22e-07/0.185, allocations: 0 / 0.8362 GB, free: 0.5938 MB / 0.5762 GB Notification: Performance of matching and sorting (n=0): time 0.0001785/0.1851, allocations: 61.45 kB / 0.8362 GB, free: 0.5273 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.734e-05/0.1852, allocations: 134.6 kB / 0.8364 GB, free: 392 kB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00048/0.1857, allocations: 437.3 kB / 0.8368 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.748e-05/0.1857, allocations: 25.7 kB / 0.8368 GB, free: 15.92 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 9.351e-05/0.1858, allocations: 128.6 kB / 0.8369 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.055e-06/0.1858, allocations: 0 / 0.8369 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.771e-05/0.1859, allocations: 93.67 kB / 0.837 GB, free: 15.69 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001526/0.186, allocations: 334.8 kB / 0.8373 GB, free: 15.36 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001284/0.1862, allocations: 100.5 kB / 0.8374 GB, free: 15.26 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001706/0.1863, allocations: 169.3 kB / 0.8376 GB, free: 15.07 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003248/0.1867, allocations: 309.6 kB / 0.8379 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.1867, allocations: 0 / 0.8379 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0005105/0.1872, allocations: 333.1 kB / 0.8382 GB, free: 14.41 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.077e-05/0.1872, allocations: 15.92 kB / 0.8382 GB, free: 14.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/0.1872, allocations: 3.938 kB / 0.8382 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.73e-05/0.1872, allocations: 4 kB / 0.8382 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.206e-06/0.1872, allocations: 3.938 kB / 0.8382 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.492e-06/0.1872, allocations: 4 kB / 0.8382 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001367/0.1874, allocations: 39.56 kB / 0.8383 GB, free: 14.34 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.455e-05/0.1874, allocations: 8 kB / 0.8383 GB, free: 14.34 MB / 0.5919 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.000279/0.1877, allocations: 241.3 kB / 0.8385 GB, free: 14.09 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.981e-05/0.1878, allocations: 132.7 kB / 0.8386 GB, free: 13.95 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.049e-05/0.1878, allocations: 118.7 kB / 0.8388 GB, free: 13.82 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.724e-05/0.1879, allocations: 176.3 kB / 0.8389 GB, free: 13.64 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.815e-05/0.188, allocations: 184.2 kB / 0.8391 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.38e-05/0.1881, allocations: 176.3 kB / 0.8393 GB, free: 13.27 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003765/0.1885, allocations: 485.1 kB / 0.8397 GB, free: 12.74 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.442e-05/0.1885, allocations: 105 kB / 0.8398 GB, free: 12.63 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.234e-05/0.1886, allocations: 101 kB / 0.8399 GB, free: 12.53 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.248e-05/0.1886, allocations: 192.2 kB / 0.8401 GB, free: 12.33 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.75e-05/0.1887, allocations: 180.3 kB / 0.8403 GB, free: 12.15 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.038e-05/0.1888, allocations: 184.2 kB / 0.8405 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.676e-05/0.1889, allocations: 180.5 kB / 0.8406 GB, free: 11.78 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001812/0.1891, allocations: 331.6 kB / 0.8409 GB, free: 11.43 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001361/0.1892, allocations: 205.9 kB / 0.8411 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001178/0.1893, allocations: 184.1 kB / 0.8413 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001387/0.1895, allocations: 109 kB / 0.8414 GB, free: 10.9 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.7e-05/0.1895, allocations: 180.3 kB / 0.8416 GB, free: 10.72 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.236e-05/0.1896, allocations: 108.9 kB / 0.8417 GB, free: 10.61 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.000304/0.1899, allocations: 275.1 kB / 0.842 GB, free: 10.34 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7e-08/0.1899, allocations: 0 / 0.842 GB, free: 10.34 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004275/0.1903, allocations: 83.92 kB / 0.842 GB, free: 10.26 MB / 0.5919 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.0007139/0.191, allocations: 0.9611 MB / 0.843 GB, free: 9.27 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0002108/0.1912, allocations: 123.8 kB / 0.8431 GB, free: 9.148 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.1912, allocations: 0 / 0.8431 GB, free: 9.148 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 1.513e-06/0.1912, allocations: 448 / 0.8431 GB, free: 9.148 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003951/0.1916, allocations: 469.1 kB / 0.8435 GB, free: 8.684 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002896/0.1945, allocations: 2.943 MB / 0.8464 GB, free: 5.629 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003839/0.1949, allocations: 0.7743 MB / 0.8472 GB, free: 4.828 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 1.084e-05/0.1949, allocations: 8 kB / 0.8472 GB, free: 4.82 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.433e-05/0.195, allocations: 59.41 kB / 0.8472 GB, free: 4.762 MB / 0.5919 GB Notification: Performance of SimCode: time 3e-07/0.195, allocations: 0 / 0.8472 GB, free: 4.762 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02874/0.2238, allocations: 6.479 MB / 0.8536 GB, free: 14.44 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.402/8.626, allocations: 6.406 kB / 0.8536 GB, free: 14.44 MB / 0.6075 GB " [Timeout remaining time 651] (rm -f BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_med.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_med_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildingSystems_BuildingSystems_Electrical_Transmission_Functions_Validation_SelectCable_med.fmu > BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.721327503677458] Failed to read output from testmodel.py, exit status != 0: 8.696054535917938 8.716970303 8.530692292 Calling exit ...