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.001798/0.001798, allocations: 111.3 kB / 17.12 MB, free: 5.926 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.002168/0.002168, allocations: 204 kB / 20.09 MB, free: 2.977 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.538/1.538, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.9776/0.9776, allocations: 150 MB / 459.5 MB, free: 5.328 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_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.002038/0.002038, allocations: 72.92 kB / 0.6361 GB, free: 30.54 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1568/0.1589, allocations: 89.13 MB / 0.7231 GB, free: 4.078 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.002599/0.1615, allocations: 1.44 MB / 0.7245 GB, free: 2.625 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.003541/0.165, allocations: 2.682 MB / 0.7272 GB, free: 15.93 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.131e-05/0.165, allocations: 0 / 0.7272 GB, free: 15.93 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001512/0.1666, allocations: 0.5792 MB / 0.7277 GB, free: 15.35 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 5.784e-05/0.1666, allocations: 23.84 kB / 0.7277 GB, free: 15.32 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 4.98e-06/0.1666, allocations: 0 / 0.7277 GB, free: 15.32 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002599/0.1669, allocations: 162.9 kB / 0.7279 GB, free: 15.16 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 7.364e-05/0.1669, allocations: 28.39 kB / 0.7279 GB, free: 15.13 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 8.256e-05/0.167, allocations: 63.73 kB / 0.728 GB, free: 15.07 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001381/0.1672, allocations: 79.58 kB / 0.7281 GB, free: 14.99 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.171e-05/0.1672, allocations: 0 / 0.7281 GB, free: 14.99 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001029/0.1682, allocations: 471.2 kB / 0.7285 GB, free: 14.53 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 6.296e-05/0.1683, allocations: 39.78 kB / 0.7286 GB, free: 14.49 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001115/0.1684, allocations: 99.36 kB / 0.7286 GB, free: 14.39 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0006977/0.1691, allocations: 442 kB / 0.7291 GB, free: 13.96 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.1691, allocations: 4 kB / 0.7291 GB, free: 13.96 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.402e-06/0.1691, allocations: 4 kB / 0.7291 GB, free: 13.95 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.613e-06/0.1691, allocations: 0 / 0.7291 GB, free: 13.95 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.0008732/0.17, allocations: 0.5583 MB / 0.7296 GB, free: 13.34 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.837e-05/0.17, allocations: 12.03 kB / 0.7296 GB, free: 13.33 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.205e-05/0.1701, allocations: 106 kB / 0.7297 GB, free: 13.22 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001985/0.1703, allocations: 104 kB / 0.7298 GB, free: 13.12 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002939/0.1706, allocations: 302.4 kB / 0.7301 GB, free: 12.78 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.67e-05/0.1707, allocations: 158.9 kB / 0.7303 GB, free: 12.62 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.974e-05/0.1707, allocations: 150.9 kB / 0.7304 GB, free: 12.48 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.331e-05/0.1708, allocations: 105.5 kB / 0.7305 GB, free: 12.37 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.733e-05/0.1709, allocations: 79.22 kB / 0.7306 GB, free: 12.29 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.87e-05/0.1709, allocations: 154.6 kB / 0.7307 GB, free: 12.14 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.049e-05/0.171, allocations: 162.4 kB / 0.7309 GB, free: 11.98 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.446e-05/0.1711, allocations: 150.6 kB / 0.731 GB, free: 11.83 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004491/0.1715, allocations: 0.5328 MB / 0.7316 GB, free: 11.25 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001007/0.1716, allocations: 169.1 kB / 0.7317 GB, free: 11.07 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.008e-05/0.1717, allocations: 84.14 kB / 0.7318 GB, free: 10.98 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.858e-05/0.1717, allocations: 75.28 kB / 0.7319 GB, free: 10.91 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.658e-05/0.1718, allocations: 113.8 kB / 0.732 GB, free: 10.79 MB / 0.545 GB Notification: Performance of pre-optimization done (n=0): time 1.002e-06/0.1718, allocations: 0 / 0.732 GB, free: 10.79 MB / 0.545 GB Notification: Performance of matching and sorting (n=0): time 0.0001869/0.172, allocations: 57.48 kB / 0.732 GB, free: 10.73 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.847e-05/0.172, allocations: 130.6 kB / 0.7322 GB, free: 10.59 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005867/0.1726, allocations: 437.3 kB / 0.7326 GB, free: 10.15 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.86e-05/0.1726, allocations: 25.7 kB / 0.7326 GB, free: 10.12 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001076/0.1728, allocations: 136.6 kB / 0.7327 GB, free: 9.984 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.444e-06/0.1728, allocations: 0 / 0.7327 GB, free: 9.984 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001034/0.1729, allocations: 93.66 kB / 0.7328 GB, free: 9.887 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001622/0.173, allocations: 334.8 kB / 0.7331 GB, free: 9.551 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001367/0.1732, allocations: 104.4 kB / 0.7332 GB, free: 9.449 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001891/0.1733, allocations: 165.3 kB / 0.7334 GB, free: 9.27 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003403/0.1737, allocations: 301.6 kB / 0.7337 GB, free: 8.953 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.949e-06/0.1737, allocations: 4 kB / 0.7337 GB, free: 8.949 MB / 0.545 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0005723/0.1743, allocations: 325 kB / 0.734 GB, free: 8.625 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 3.587e-05/0.1743, allocations: 16.09 kB / 0.734 GB, free: 8.609 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.376e-06/0.1743, allocations: 7.984 kB / 0.734 GB, free: 8.602 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.607e-05/0.1743, allocations: 4 kB / 0.734 GB, free: 8.598 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.212e-06/0.1743, allocations: 0 / 0.734 GB, free: 8.598 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.243e-06/0.1743, allocations: 4 kB / 0.734 GB, free: 8.594 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001534/0.1745, allocations: 51.5 kB / 0.7341 GB, free: 8.543 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.325e-05/0.1745, allocations: 8 kB / 0.7341 GB, free: 8.535 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.0002787/0.1748, allocations: 248.4 kB / 0.7343 GB, free: 8.285 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.085e-05/0.1749, allocations: 132.7 kB / 0.7345 GB, free: 8.148 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.513e-05/0.1749, allocations: 110.9 kB / 0.7346 GB, free: 8.027 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.694e-05/0.175, allocations: 184.2 kB / 0.7347 GB, free: 7.84 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.294e-05/0.1751, allocations: 176.3 kB / 0.7349 GB, free: 7.66 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.123e-05/0.1752, allocations: 184.2 kB / 0.7351 GB, free: 7.473 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003735/0.1756, allocations: 473.2 kB / 0.7355 GB, free: 6.953 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.948e-05/0.1756, allocations: 104.9 kB / 0.7356 GB, free: 6.844 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.061e-05/0.1757, allocations: 109 kB / 0.7357 GB, free: 6.73 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.349e-05/0.1758, allocations: 184.2 kB / 0.7359 GB, free: 6.543 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.81e-05/0.1759, allocations: 184.2 kB / 0.7361 GB, free: 6.355 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.412e-05/0.176, allocations: 176.3 kB / 0.7363 GB, free: 6.176 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.282e-05/0.176, allocations: 188.4 kB / 0.7364 GB, free: 5.984 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002048/0.1763, allocations: 323.7 kB / 0.7367 GB, free: 5.645 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001472/0.1764, allocations: 205.8 kB / 0.7369 GB, free: 5.418 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001206/0.1765, allocations: 180.2 kB / 0.7371 GB, free: 5.234 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001516/0.1767, allocations: 112.9 kB / 0.7372 GB, free: 5.117 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.853e-05/0.1768, allocations: 188.2 kB / 0.7374 GB, free: 4.926 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.656e-05/0.1768, allocations: 101 kB / 0.7375 GB, free: 4.82 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0003096/0.1771, allocations: 275.1 kB / 0.7378 GB, free: 4.555 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.1771, allocations: 0 / 0.7378 GB, free: 4.555 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004438/0.1776, allocations: 87.88 kB / 0.7378 GB, free: 4.469 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.0008784/0.1784, allocations: 0.9644 MB / 0.7388 GB, free: 3.477 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002322/0.1787, allocations: 115.9 kB / 0.7389 GB, free: 3.363 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/0.1787, allocations: 4 kB / 0.7389 GB, free: 3.359 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 3.867e-06/0.1787, allocations: 3.938 kB / 0.7389 GB, free: 3.355 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005414/0.1792, allocations: 470.5 kB / 0.7393 GB, free: 2.898 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003199/0.1824, allocations: 2.936 MB / 0.7422 GB, free: 15.85 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004497/0.1829, allocations: 0.7745 MB / 0.743 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 1.903e-05/0.1829, allocations: 7.984 kB / 0.743 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.684e-05/0.183, allocations: 55.36 kB / 0.743 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of SimCode: time 5.41e-07/0.183, allocations: 0 / 0.743 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03298/0.216, allocations: 6.466 MB / 0.7493 GB, free: 8.668 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.73/8.946, allocations: 16.25 kB / 0.7494 GB, free: 8.652 MB / 0.5606 GB " [Timeout remaining time 651] (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: 12.883864188101143] Failed to read output from testmodel.py, exit status != 0: 9.016550119034946 9.033098196 8.861153019 Calling exit ...