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.00184/0.00184, allocations: 110.5 kB / 17.12 MB, free: 6.008 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.002403/0.002403, allocations: 211.2 kB / 20.1 MB, free: 3.055 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.588/1.588, allocations: 230.6 MB / 253.5 MB, free: 15.1 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.062/1.062, allocations: 150 MB / 459.5 MB, free: 5.309 MB / 350.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.002123/0.002123, allocations: 67.44 kB / 0.6361 GB, free: 30.69 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1501/0.1522, allocations: 89.14 MB / 0.7231 GB, free: 4.195 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.002801/0.155, allocations: 1.409 MB / 0.7245 GB, free: 2.77 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002654/0.1576, allocations: 1.948 MB / 0.7264 GB, free: 0.8125 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.488e-05/0.1577, allocations: 0 / 0.7264 GB, free: 0.8125 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001111/0.1588, allocations: 391.8 kB / 0.7268 GB, free: 444 kB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.276e-05/0.1588, allocations: 19.91 kB / 0.7268 GB, free: 424 kB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 4.739e-06/0.1588, allocations: 3.938 kB / 0.7268 GB, free: 420 kB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002619/0.1591, allocations: 127.1 kB / 0.7269 GB, free: 292 kB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.971e-05/0.1592, allocations: 17.48 kB / 0.727 GB, free: 272 kB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 7.059e-05/0.1592, allocations: 43.84 kB / 0.727 GB, free: 228 kB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001303/0.1594, allocations: 67.7 kB / 0.7271 GB, free: 160 kB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.528e-05/0.1594, allocations: 0 / 0.7271 GB, free: 160 kB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005133/0.1599, allocations: 184 kB / 0.7272 GB, free: 15.97 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 5.679e-05/0.1599, allocations: 31.84 kB / 0.7273 GB, free: 15.94 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 8.956e-05/0.16, allocations: 75.55 kB / 0.7273 GB, free: 15.87 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0004854/0.1605, allocations: 286.9 kB / 0.7276 GB, free: 15.59 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.1605, allocations: 0 / 0.7276 GB, free: 15.59 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.463e-06/0.1605, allocations: 0 / 0.7276 GB, free: 15.59 MB / 0.545 GB Notification: Performance of Transformations before backend: time 9.137e-06/0.1605, allocations: 3.938 kB / 0.7276 GB, free: 15.59 MB / 0.545 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.0007366/0.1613, allocations: 0.4905 MB / 0.7281 GB, free: 15.05 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.81e-05/0.1613, allocations: 12.03 kB / 0.7281 GB, free: 15.04 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.757e-05/0.1614, allocations: 106 kB / 0.7282 GB, free: 14.92 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001687/0.1615, allocations: 96.11 kB / 0.7283 GB, free: 14.83 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002563/0.1618, allocations: 295.4 kB / 0.7286 GB, free: 14.5 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.493e-05/0.1619, allocations: 150.9 kB / 0.7287 GB, free: 14.36 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.58e-05/0.1619, allocations: 162.9 kB / 0.7289 GB, free: 14.2 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.392e-05/0.162, allocations: 104.9 kB / 0.729 GB, free: 14.09 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.396e-05/0.1621, allocations: 75.28 kB / 0.7291 GB, free: 14.01 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001159/0.1622, allocations: 158.5 kB / 0.7292 GB, free: 13.86 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.176e-05/0.1622, allocations: 154.5 kB / 0.7294 GB, free: 13.7 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.208e-05/0.1623, allocations: 158.6 kB / 0.7295 GB, free: 13.55 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003987/0.1627, allocations: 0.5056 MB / 0.73 GB, free: 12.99 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 9.995e-05/0.1628, allocations: 165.1 kB / 0.7302 GB, free: 12.82 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.123e-05/0.1629, allocations: 84.14 kB / 0.7302 GB, free: 12.73 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 4.308e-05/0.1629, allocations: 87.16 kB / 0.7303 GB, free: 12.65 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.454e-05/0.163, allocations: 109.8 kB / 0.7304 GB, free: 12.53 MB / 0.545 GB Notification: Performance of pre-optimization done (n=0): time 9.21e-07/0.163, allocations: 0 / 0.7304 GB, free: 12.53 MB / 0.545 GB Notification: Performance of matching and sorting (n=0): time 0.0001741/0.1631, allocations: 45.56 kB / 0.7305 GB, free: 12.48 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.098e-05/0.1632, allocations: 130.7 kB / 0.7306 GB, free: 12.34 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003453/0.1636, allocations: 322.4 kB / 0.7309 GB, free: 12.02 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.94e-05/0.1636, allocations: 25.7 kB / 0.7309 GB, free: 11.98 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.226e-05/0.1637, allocations: 124.4 kB / 0.731 GB, free: 11.86 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.204e-06/0.1637, allocations: 3.938 kB / 0.7311 GB, free: 11.86 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.613e-05/0.1637, allocations: 65.69 kB / 0.7311 GB, free: 11.79 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001605/0.1639, allocations: 322.8 kB / 0.7314 GB, free: 11.46 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.455e-05/0.164, allocations: 63.95 kB / 0.7315 GB, free: 11.4 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001421/0.1641, allocations: 118 kB / 0.7316 GB, free: 11.26 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002628/0.1644, allocations: 209.8 kB / 0.7318 GB, free: 11.04 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.1644, allocations: 0 / 0.7318 GB, free: 11.04 MB / 0.545 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004348/0.1648, allocations: 237.2 kB / 0.732 GB, free: 10.8 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.514e-05/0.1649, allocations: 8 kB / 0.732 GB, free: 10.79 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.62e-06/0.1649, allocations: 0 / 0.732 GB, free: 10.79 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.686e-05/0.1649, allocations: 7.938 kB / 0.732 GB, free: 10.78 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.313e-06/0.1649, allocations: 224 / 0.732 GB, free: 10.78 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.1649, allocations: 8 kB / 0.732 GB, free: 10.77 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001267/0.165, allocations: 35.72 kB / 0.7321 GB, free: 10.74 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.034e-05/0.165, allocations: 4 kB / 0.7321 GB, free: 10.73 MB / 0.545 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.0002398/0.1653, allocations: 225 kB / 0.7323 GB, free: 10.5 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.257e-05/0.1654, allocations: 124.8 kB / 0.7324 GB, free: 10.38 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.861e-05/0.1654, allocations: 105.9 kB / 0.7325 GB, free: 10.27 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.265e-05/0.1655, allocations: 188.2 kB / 0.7327 GB, free: 10.07 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.536e-05/0.1656, allocations: 180.3 kB / 0.7329 GB, free: 9.891 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.949e-05/0.1657, allocations: 188.2 kB / 0.733 GB, free: 9.699 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003522/0.166, allocations: 445.2 kB / 0.7335 GB, free: 9.207 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.861e-05/0.1661, allocations: 108.9 kB / 0.7336 GB, free: 9.094 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5e-05/0.1661, allocations: 112.9 kB / 0.7337 GB, free: 8.977 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.915e-05/0.1662, allocations: 176.3 kB / 0.7339 GB, free: 8.797 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.852e-05/0.1663, allocations: 180.2 kB / 0.734 GB, free: 8.613 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.264e-05/0.1664, allocations: 176.3 kB / 0.7342 GB, free: 8.434 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.965e-05/0.1665, allocations: 188.2 kB / 0.7344 GB, free: 8.242 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001937/0.1667, allocations: 319.7 kB / 0.7347 GB, free: 7.906 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001288/0.1668, allocations: 201.8 kB / 0.7349 GB, free: 7.684 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001047/0.1669, allocations: 188.2 kB / 0.735 GB, free: 7.492 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001421/0.167, allocations: 104.9 kB / 0.7351 GB, free: 7.383 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.937e-05/0.1671, allocations: 176.3 kB / 0.7353 GB, free: 7.203 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.523e-05/0.1672, allocations: 105.3 kB / 0.7354 GB, free: 7.094 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002354/0.1674, allocations: 217.9 kB / 0.7356 GB, free: 6.879 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.1674, allocations: 0 / 0.7356 GB, free: 6.879 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.00037/0.1678, allocations: 67.88 kB / 0.7357 GB, free: 6.812 MB / 0.545 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.0007455/0.1685, allocations: 0.9217 MB / 0.7366 GB, free: 5.863 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001885/0.1687, allocations: 83.89 kB / 0.7367 GB, free: 5.781 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.1687, allocations: 0 / 0.7367 GB, free: 5.781 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 3.667e-06/0.1687, allocations: 4.422 kB / 0.7367 GB, free: 5.777 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004331/0.1691, allocations: 466 kB / 0.7371 GB, free: 5.32 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002613/0.1718, allocations: 2.453 MB / 0.7395 GB, free: 2.738 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003894/0.1721, allocations: 0.7392 MB / 0.7402 GB, free: 1.973 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 1.326e-05/0.1722, allocations: 0 / 0.7402 GB, free: 1.973 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.457e-05/0.1722, allocations: 35.42 kB / 0.7403 GB, free: 1.938 MB / 0.545 GB Notification: Performance of SimCode: time 3e-07/0.1722, allocations: 0 / 0.7403 GB, free: 1.938 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02861/0.2008, allocations: 4.859 MB / 0.745 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.256/8.457, allocations: 8.188 kB / 0.745 GB, free: 13.22 MB / 0.5606 GB " [Timeout remaining time 651] (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: 12.540980529040098] Failed to read output from testmodel.py, exit status != 0: 8.527796152047813 8.55110025 8.386253868 Calling exit ...