Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.001341/0.001341, allocations: 119.2 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.001484/0.001484, allocations: 219.7 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.461/1.461, allocations: 230.6 MB / 256.8 MB, free: 7.988 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.9581/0.9581, allocations: 150 MB / 463.2 MB, free: 10.52 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_med,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_Transmission_Functions_Validation_SelectCable_med",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_med,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_Transmission_Functions_Validation_SelectCable_med",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.002118/0.002118, allocations: 69.52 kB / 0.6413 GB, free: 10.45 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.163/0.1652, allocations: 89.17 MB / 0.7283 GB, free: 1.336 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.0026/0.1678, allocations: 1.438 MB / 0.7297 GB, free: 15.89 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003501/0.1713, allocations: 2.713 MB / 0.7324 GB, free: 13.17 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.2e-05/0.1713, allocations: 0 / 0.7324 GB, free: 13.17 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001572/0.1729, allocations: 0.5971 MB / 0.733 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.38e-05/0.1729, allocations: 19.91 kB / 0.733 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 4.148e-06/0.1729, allocations: 0 / 0.733 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002593/0.1732, allocations: 162.9 kB / 0.7331 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.903e-05/0.1732, allocations: 8.594 kB / 0.7332 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 9.371e-05/0.1733, allocations: 67.7 kB / 0.7332 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001476/0.1735, allocations: 75.58 kB / 0.7333 GB, free: 12.24 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.315e-05/0.1735, allocations: 4 kB / 0.7333 GB, free: 12.24 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001103/0.1746, allocations: 471.3 kB / 0.7337 GB, free: 11.78 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 6.288e-05/0.1746, allocations: 43.75 kB / 0.7338 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001039/0.1747, allocations: 91.44 kB / 0.7339 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0006808/0.1754, allocations: 446 kB / 0.7343 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.1754, allocations: 0 / 0.7343 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.663e-06/0.1754, allocations: 0 / 0.7343 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.142e-06/0.1754, allocations: 0 / 0.7343 GB, free: 11.21 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.0008203/0.1763, allocations: 496.7 kB / 0.7348 GB, free: 10.69 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.829e-05/0.1763, allocations: 8.031 kB / 0.7348 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.575e-05/0.1764, allocations: 106 kB / 0.7349 GB, free: 10.57 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001881/0.1766, allocations: 104 kB / 0.735 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002663/0.1768, allocations: 252.5 kB / 0.7352 GB, free: 10.19 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.583e-05/0.1769, allocations: 158.9 kB / 0.7354 GB, free: 10.04 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.931e-05/0.177, allocations: 158.9 kB / 0.7355 GB, free: 9.879 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.523e-05/0.177, allocations: 101.5 kB / 0.7356 GB, free: 9.773 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.359e-05/0.1771, allocations: 79.22 kB / 0.7357 GB, free: 9.695 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.059e-05/0.1772, allocations: 154.6 kB / 0.7358 GB, free: 9.543 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.834e-05/0.1772, allocations: 150.6 kB / 0.736 GB, free: 9.395 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.523e-05/0.1773, allocations: 158.6 kB / 0.7361 GB, free: 9.238 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004546/0.1778, allocations: 0.5085 MB / 0.7366 GB, free: 8.688 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 9.992e-05/0.1779, allocations: 165.1 kB / 0.7368 GB, free: 8.516 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.204e-05/0.1779, allocations: 80.14 kB / 0.7369 GB, free: 8.434 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 4.338e-05/0.1779, allocations: 79.28 kB / 0.7369 GB, free: 8.355 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.467e-05/0.178, allocations: 109.8 kB / 0.7371 GB, free: 8.238 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=0): time 1.002e-06/0.178, allocations: 0 / 0.7371 GB, free: 8.238 MB / 0.5606 GB Notification: Performance of matching and sorting (n=0): time 0.0002007/0.1782, allocations: 65.38 kB / 0.7371 GB, free: 8.168 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.914e-05/0.1783, allocations: 126.7 kB / 0.7372 GB, free: 8.031 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005028/0.1788, allocations: 433.3 kB / 0.7376 GB, free: 7.598 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.933e-05/0.1788, allocations: 25.7 kB / 0.7377 GB, free: 7.566 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001159/0.1789, allocations: 140.5 kB / 0.7378 GB, free: 7.422 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.056e-06/0.1789, allocations: 0 / 0.7378 GB, free: 7.422 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001122/0.1791, allocations: 93.66 kB / 0.7379 GB, free: 7.324 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001529/0.1792, allocations: 334.8 kB / 0.7382 GB, free: 6.988 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001313/0.1793, allocations: 100.6 kB / 0.7383 GB, free: 6.891 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001784/0.1795, allocations: 165.9 kB / 0.7385 GB, free: 6.711 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003492/0.1799, allocations: 309.6 kB / 0.7388 GB, free: 6.387 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.1799, allocations: 0 / 0.7388 GB, free: 6.387 MB / 0.5606 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0005459/0.1804, allocations: 333 kB / 0.7391 GB, free: 6.055 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.814e-05/0.1804, allocations: 11.94 kB / 0.7391 GB, free: 6.043 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.1804, allocations: 0 / 0.7391 GB, free: 6.043 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.682e-05/0.1805, allocations: 4 kB / 0.7391 GB, free: 6.039 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.333e-06/0.1805, allocations: 0 / 0.7391 GB, free: 6.039 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.277e-06/0.1805, allocations: 12.2 kB / 0.7391 GB, free: 6.027 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001607/0.1806, allocations: 47.52 kB / 0.7392 GB, free: 5.98 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.648e-06/0.1806, allocations: 4 kB / 0.7392 GB, free: 5.977 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.000257/0.1809, allocations: 239 kB / 0.7394 GB, free: 5.734 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.009e-05/0.181, allocations: 136.7 kB / 0.7395 GB, free: 5.594 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.692e-05/0.1811, allocations: 114.9 kB / 0.7396 GB, free: 5.473 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.24e-05/0.1811, allocations: 184.2 kB / 0.7398 GB, free: 5.285 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.411e-05/0.1812, allocations: 176.3 kB / 0.74 GB, free: 5.105 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.831e-05/0.1813, allocations: 184.2 kB / 0.7401 GB, free: 4.918 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003295/0.1816, allocations: 448.2 kB / 0.7406 GB, free: 4.43 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.331e-05/0.1817, allocations: 105.2 kB / 0.7407 GB, free: 4.32 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.125e-05/0.1817, allocations: 112.9 kB / 0.7408 GB, free: 4.203 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.542e-05/0.1818, allocations: 192.2 kB / 0.741 GB, free: 4.008 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.321e-05/0.1819, allocations: 176.3 kB / 0.7411 GB, free: 3.828 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.468e-05/0.182, allocations: 184.2 kB / 0.7413 GB, free: 3.641 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.523e-05/0.182, allocations: 176.3 kB / 0.7415 GB, free: 3.461 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001925/0.1822, allocations: 327.6 kB / 0.7418 GB, free: 3.117 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 9.954e-05/0.1823, allocations: 124.8 kB / 0.7419 GB, free: 2.988 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001183/0.1825, allocations: 188.1 kB / 0.7421 GB, free: 2.797 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001397/0.1826, allocations: 105 kB / 0.7422 GB, free: 2.688 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.234e-05/0.1827, allocations: 184.2 kB / 0.7424 GB, free: 2.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.921e-05/0.1827, allocations: 109 kB / 0.7425 GB, free: 2.387 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003177/0.1831, allocations: 279.1 kB / 0.7427 GB, free: 2.117 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.1831, allocations: 0 / 0.7427 GB, free: 2.117 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000422/0.1835, allocations: 79.94 kB / 0.7428 GB, free: 2.039 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.0007497/0.1842, allocations: 0.9605 MB / 0.7437 GB, free: 1.051 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002171/0.1844, allocations: 123.8 kB / 0.7439 GB, free: 0.9297 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.1844, allocations: 4 kB / 0.7439 GB, free: 0.9258 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 1.433e-06/0.1845, allocations: 0 / 0.7439 GB, free: 0.9258 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004328/0.1849, allocations: 461.1 kB / 0.7443 GB, free: 484 kB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003121/0.188, allocations: 2.95 MB / 0.7472 GB, free: 13.4 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004347/0.1884, allocations: 0.7743 MB / 0.7479 GB, free: 12.6 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 1.891e-05/0.1885, allocations: 7.984 kB / 0.748 GB, free: 12.59 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.848e-05/0.1885, allocations: 51.42 kB / 0.748 GB, free: 12.54 MB / 0.5762 GB Notification: Performance of SimCode: time 4.71e-07/0.1885, allocations: 0 / 0.748 GB, free: 12.54 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0352/0.2237, allocations: 6.547 MB / 0.7544 GB, free: 6.148 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.32/11.54, allocations: 0 / 0.7544 GB, free: 6.148 MB / 0.5762 GB " [Timeout remaining time 648] (rm -f IBPSA_latest_IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_med.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.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 IBPSA_latest_IBPSA_Electrical_Transmission_Functions_Validation_SelectCable_med.fmu > IBPSA_latest_IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.77365155899679] Failed to read output from testmodel.py, exit status != 0: 11.652965257999313 12.047835392 11.86936643 Calling exit ...