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.001658/0.001658, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.002045/0.002045, allocations: 217 kB / 22.25 MB, free: 5.082 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.4/1.4, allocations: 230.6 MB / 256 MB, free: 8.035 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002424/0.002424, allocations: 282.3 kB / 312.7 MB, free: 2.844 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.196/1.196, allocations: 180.6 MB / 0.5369 GB, free: 12.89 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 master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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.00281/0.00281, allocations: 105 kB / 0.7396 GB, free: 28.61 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1566/0.1594, allocations: 95.38 MB / 0.8327 GB, free: 8.676 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.002701/0.1621, allocations: 1.454 MB / 0.8341 GB, free: 7.207 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.003534/0.1657, allocations: 2.715 MB / 0.8368 GB, free: 4.484 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.19e-05/0.1657, allocations: 0 / 0.8368 GB, free: 4.484 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001578/0.1673, allocations: 0.5896 MB / 0.8374 GB, free: 3.895 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 5.238e-05/0.1673, allocations: 19.84 kB / 0.8374 GB, free: 3.875 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 4.298e-06/0.1673, allocations: 0 / 0.8374 GB, free: 3.875 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0002665/0.1676, allocations: 158.9 kB / 0.8375 GB, free: 3.719 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 5.501e-05/0.1676, allocations: 20.58 kB / 0.8376 GB, free: 3.695 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 7.578e-05/0.1677, allocations: 55.73 kB / 0.8376 GB, free: 3.641 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001404/0.1679, allocations: 79.58 kB / 0.8377 GB, free: 3.562 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.997e-05/0.1679, allocations: 4 kB / 0.8377 GB, free: 3.559 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001033/0.1689, allocations: 475.3 kB / 0.8381 GB, free: 3.094 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 5.342e-05/0.169, allocations: 39.77 kB / 0.8382 GB, free: 3.055 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 9.7e-05/0.1691, allocations: 95.36 kB / 0.8383 GB, free: 2.961 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0006299/0.1697, allocations: 449.9 kB / 0.8387 GB, free: 2.52 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.1697, allocations: 0 / 0.8387 GB, free: 2.52 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.262e-06/0.1697, allocations: 0 / 0.8387 GB, free: 2.52 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.3e-06/0.1697, allocations: 0 / 0.8387 GB, free: 2.52 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.0007355/0.1704, allocations: 492.7 kB / 0.8392 GB, free: 2.004 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.695e-05/0.1705, allocations: 13.34 kB / 0.8392 GB, free: 1.992 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.065e-05/0.1705, allocations: 106 kB / 0.8393 GB, free: 1.879 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001621/0.1707, allocations: 104 kB / 0.8394 GB, free: 1.777 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002356/0.1709, allocations: 248.5 kB / 0.8396 GB, free: 1.508 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.715e-05/0.171, allocations: 154.9 kB / 0.8398 GB, free: 1.355 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.464e-05/0.1711, allocations: 158.9 kB / 0.8399 GB, free: 1.199 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.626e-05/0.1711, allocations: 101.5 kB / 0.84 GB, free: 1.094 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.439e-05/0.1712, allocations: 83.16 kB / 0.8401 GB, free: 1.012 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.867e-05/0.1712, allocations: 150.6 kB / 0.8402 GB, free: 0.8633 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.002e-05/0.1713, allocations: 150.6 kB / 0.8404 GB, free: 0.7148 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.858e-05/0.1713, allocations: 154.6 kB / 0.8405 GB, free: 0.5625 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003942/0.1717, allocations: 0.5046 MB / 0.841 GB, free: 16 kB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 9.686e-05/0.1718, allocations: 165.1 kB / 0.8412 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.277e-05/0.1719, allocations: 84.12 kB / 0.8413 GB, free: 15.76 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 3.709e-05/0.1719, allocations: 87.27 kB / 0.8413 GB, free: 15.67 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.606e-05/0.172, allocations: 113.8 kB / 0.8414 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=0): time 9.51e-07/0.172, allocations: 0 / 0.8414 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of matching and sorting (n=0): time 0.0001814/0.1722, allocations: 57.45 kB / 0.8415 GB, free: 15.49 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.457e-05/0.1722, allocations: 126.7 kB / 0.8416 GB, free: 15.35 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004415/0.1727, allocations: 441.2 kB / 0.842 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.486e-05/0.1727, allocations: 25.7 kB / 0.8421 GB, free: 14.88 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 8.815e-05/0.1728, allocations: 128.6 kB / 0.8422 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 2.224e-06/0.1728, allocations: 4 kB / 0.8422 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.664e-05/0.1729, allocations: 97.66 kB / 0.8423 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001487/0.173, allocations: 334.8 kB / 0.8426 GB, free: 14.31 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001198/0.1731, allocations: 100.6 kB / 0.8427 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001673/0.1733, allocations: 161.9 kB / 0.8429 GB, free: 14.04 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003208/0.1736, allocations: 321.5 kB / 0.8432 GB, free: 13.7 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.235e-06/0.1736, allocations: 0 / 0.8432 GB, free: 13.7 MB / 0.5919 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0004968/0.1741, allocations: 325.1 kB / 0.8435 GB, free: 13.38 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.686e-05/0.1741, allocations: 11.94 kB / 0.8435 GB, free: 13.36 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.1741, allocations: 0 / 0.8435 GB, free: 13.36 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.515e-05/0.1742, allocations: 4 kB / 0.8435 GB, free: 13.36 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.66e-06/0.1742, allocations: 3.984 kB / 0.8435 GB, free: 13.36 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.306e-06/0.1742, allocations: 12.16 kB / 0.8435 GB, free: 13.34 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001357/0.1743, allocations: 43.56 kB / 0.8435 GB, free: 13.3 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.104e-05/0.1743, allocations: 8 kB / 0.8436 GB, free: 13.29 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.0002497/0.1746, allocations: 237.7 kB / 0.8438 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.008e-05/0.1747, allocations: 128.7 kB / 0.8439 GB, free: 12.92 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.419e-05/0.1747, allocations: 122.6 kB / 0.844 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.781e-05/0.1748, allocations: 180.3 kB / 0.8442 GB, free: 12.61 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.094e-05/0.1749, allocations: 184.2 kB / 0.8444 GB, free: 12.42 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.638e-05/0.175, allocations: 180.3 kB / 0.8445 GB, free: 12.23 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003279/0.1753, allocations: 440.2 kB / 0.845 GB, free: 11.75 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.6e-05/0.1753, allocations: 104.9 kB / 0.8451 GB, free: 11.64 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.569e-05/0.1754, allocations: 109 kB / 0.8452 GB, free: 11.53 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.16e-05/0.1755, allocations: 192.1 kB / 0.8453 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.911e-05/0.1755, allocations: 176.3 kB / 0.8455 GB, free: 11.16 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.81e-05/0.1756, allocations: 176.3 kB / 0.8457 GB, free: 10.98 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.029e-05/0.1757, allocations: 180.4 kB / 0.8459 GB, free: 10.79 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001826/0.1759, allocations: 343.6 kB / 0.8462 GB, free: 10.43 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 9.829e-05/0.176, allocations: 128.8 kB / 0.8463 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001013/0.1761, allocations: 184.2 kB / 0.8465 GB, free: 10.11 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001365/0.1762, allocations: 104.9 kB / 0.8466 GB, free: 10 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.29e-05/0.1763, allocations: 184.3 kB / 0.8468 GB, free: 9.816 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.392e-05/0.1763, allocations: 104.9 kB / 0.8469 GB, free: 9.707 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002838/0.1766, allocations: 283 kB / 0.8471 GB, free: 9.434 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9e-08/0.1766, allocations: 0 / 0.8471 GB, free: 9.434 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004099/0.177, allocations: 83.94 kB / 0.8472 GB, free: 9.352 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.0006828/0.1777, allocations: 0.9567 MB / 0.8481 GB, free: 8.367 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0001987/0.1779, allocations: 123.8 kB / 0.8483 GB, free: 8.246 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.1779, allocations: 0 / 0.8483 GB, free: 8.246 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 3.306e-06/0.1779, allocations: 4 kB / 0.8483 GB, free: 8.242 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004165/0.1783, allocations: 466.5 kB / 0.8487 GB, free: 7.789 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002939/0.1813, allocations: 2.934 MB / 0.8516 GB, free: 4.734 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000395/0.1817, allocations: 0.7782 MB / 0.8523 GB, free: 3.93 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 1.651e-05/0.1817, allocations: 4 kB / 0.8523 GB, free: 3.926 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.263e-05/0.1818, allocations: 51.42 kB / 0.8524 GB, free: 3.875 MB / 0.5919 GB Notification: Performance of SimCode: time 4.6e-07/0.1818, allocations: 0 / 0.8524 GB, free: 3.875 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04141/0.2232, allocations: 6.578 MB / 0.8588 GB, free: 13.45 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.43/10.66, allocations: 6.484 kB / 0.8588 GB, free: 13.45 MB / 0.6075 GB " [Timeout remaining time 649] (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: 14.736023362998822] Failed to read output from testmodel.py, exit status != 0: 10.764551092001057 10.786111157 10.612454119 Calling exit ...