Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001886/0.001886, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001541/0.001541, allocations: 216.9 kB / 22.25 MB, free: 4.855 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.477/1.477, allocations: 230.6 MB / 256 MB, free: 7.797 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.002636/0.002636, allocations: 287.3 kB / 312.7 MB, free: 2.625 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.334/1.334, allocations: 180.6 MB / 0.5369 GB, free: 14.5 MB / 382.1 MB " [Timeout remaining time 178] 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_low,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_Transmission_Functions_Validation_SelectCable_low",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_Transmission_Functions_Validation_SelectCable_low",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.002957/0.002957, allocations: 105.2 kB / 0.7395 GB, free: 28.42 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1563/0.1592, allocations: 95.39 MB / 0.8326 GB, free: 8.336 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.002594/0.1618, allocations: 1.415 MB / 0.834 GB, free: 6.906 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002465/0.1643, allocations: 1.765 MB / 0.8357 GB, free: 5.137 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.499e-05/0.1643, allocations: 0 / 0.8357 GB, free: 5.137 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001018/0.1653, allocations: 350.1 kB / 0.8361 GB, free: 4.793 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 4.732e-05/0.1654, allocations: 19.92 kB / 0.8361 GB, free: 4.773 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 3.597e-06/0.1654, allocations: 0 / 0.8361 GB, free: 4.773 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0002162/0.1656, allocations: 127.1 kB / 0.8362 GB, free: 4.648 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.787e-05/0.1656, allocations: 5.688 kB / 0.8362 GB, free: 4.637 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 6.874e-05/0.1657, allocations: 51.78 kB / 0.8363 GB, free: 4.586 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001267/0.1658, allocations: 59.7 kB / 0.8363 GB, free: 4.527 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.585e-05/0.1659, allocations: 4 kB / 0.8363 GB, free: 4.523 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003762/0.1662, allocations: 175.9 kB / 0.8365 GB, free: 4.352 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 5.187e-05/0.1663, allocations: 35.83 kB / 0.8365 GB, free: 4.316 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 7.023e-05/0.1664, allocations: 59.69 kB / 0.8366 GB, free: 4.258 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0004469/0.1668, allocations: 287 kB / 0.8369 GB, free: 3.977 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.1668, allocations: 3.938 kB / 0.8369 GB, free: 3.973 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.513e-06/0.1668, allocations: 0 / 0.8369 GB, free: 3.973 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.32e-06/0.1668, allocations: 3.938 kB / 0.8369 GB, free: 3.969 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.0007223/0.1675, allocations: 430.5 kB / 0.8373 GB, free: 3.52 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.882e-05/0.1676, allocations: 13.94 kB / 0.8373 GB, free: 3.508 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.961e-05/0.1676, allocations: 106 kB / 0.8374 GB, free: 3.395 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000157/0.1678, allocations: 96.12 kB / 0.8375 GB, free: 3.301 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002217/0.168, allocations: 237.1 kB / 0.8377 GB, free: 3.047 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.073e-05/0.1681, allocations: 150.9 kB / 0.8379 GB, free: 2.898 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.917e-05/0.1682, allocations: 158.9 kB / 0.838 GB, free: 2.742 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.774e-05/0.1682, allocations: 108.9 kB / 0.8381 GB, free: 2.629 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.857e-05/0.1683, allocations: 75.28 kB / 0.8382 GB, free: 2.555 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.415e-05/0.1683, allocations: 154.6 kB / 0.8383 GB, free: 2.402 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.855e-05/0.1684, allocations: 154.5 kB / 0.8385 GB, free: 2.25 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.937e-05/0.1685, allocations: 150.6 kB / 0.8386 GB, free: 2.102 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003704/0.1688, allocations: 480.9 kB / 0.8391 GB, free: 1.59 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 9.741e-05/0.1689, allocations: 169.1 kB / 0.8392 GB, free: 1.414 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.076e-05/0.169, allocations: 84.14 kB / 0.8393 GB, free: 1.328 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 4.297e-05/0.169, allocations: 87.16 kB / 0.8394 GB, free: 1.242 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.268e-05/0.1691, allocations: 105.8 kB / 0.8395 GB, free: 1.129 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=0): time 1.022e-06/0.1691, allocations: 4 kB / 0.8395 GB, free: 1.125 MB / 0.5762 GB Notification: Performance of matching and sorting (n=0): time 0.0001648/0.1692, allocations: 45.56 kB / 0.8395 GB, free: 1.074 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.518e-05/0.1693, allocations: 130.7 kB / 0.8397 GB, free: 0.9336 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003442/0.1697, allocations: 321.6 kB / 0.84 GB, free: 0.6094 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.126e-05/0.1697, allocations: 29.7 kB / 0.84 GB, free: 0.5742 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 8.491e-05/0.1698, allocations: 120.4 kB / 0.8401 GB, free: 464 kB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.264e-06/0.1698, allocations: 0 / 0.8401 GB, free: 464 kB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.082e-05/0.1698, allocations: 65.69 kB / 0.8402 GB, free: 392 kB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001566/0.17, allocations: 334.8 kB / 0.8405 GB, free: 48 kB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001093/0.1701, allocations: 67.83 kB / 0.8406 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001368/0.1702, allocations: 121.9 kB / 0.8407 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002511/0.1705, allocations: 213.8 kB / 0.8409 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.1705, allocations: 0 / 0.8409 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004361/0.1709, allocations: 233.2 kB / 0.8411 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.712e-05/0.1709, allocations: 8 kB / 0.8411 GB, free: 15.37 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.1709, allocations: 0 / 0.8411 GB, free: 15.37 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.497e-05/0.171, allocations: 7.938 kB / 0.8411 GB, free: 15.36 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.243e-06/0.171, allocations: 224 / 0.8411 GB, free: 15.36 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.556e-06/0.171, allocations: 11.98 kB / 0.8411 GB, free: 15.35 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001176/0.1711, allocations: 23.73 kB / 0.8412 GB, free: 15.32 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.093e-05/0.1711, allocations: 4 kB / 0.8412 GB, free: 15.32 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.0002348/0.1713, allocations: 229.7 kB / 0.8414 GB, free: 15.09 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.024e-05/0.1714, allocations: 124.7 kB / 0.8415 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.629e-05/0.1715, allocations: 117.8 kB / 0.8416 GB, free: 14.83 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.7e-05/0.1716, allocations: 184.2 kB / 0.8418 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.509e-05/0.1716, allocations: 180.2 kB / 0.842 GB, free: 14.46 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.723e-05/0.1717, allocations: 180.2 kB / 0.8421 GB, free: 14.28 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003041/0.172, allocations: 424.3 kB / 0.8425 GB, free: 13.81 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.097e-05/0.1721, allocations: 104.9 kB / 0.8426 GB, free: 13.7 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.036e-05/0.1721, allocations: 108.9 kB / 0.8427 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.763e-05/0.1722, allocations: 184.3 kB / 0.8429 GB, free: 13.4 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.585e-05/0.1723, allocations: 184.2 kB / 0.8431 GB, free: 13.21 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.512e-05/0.1724, allocations: 176.3 kB / 0.8433 GB, free: 13.04 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.666e-05/0.1724, allocations: 180.3 kB / 0.8434 GB, free: 12.85 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001711/0.1726, allocations: 319.7 kB / 0.8437 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 8.947e-05/0.1727, allocations: 132.7 kB / 0.8439 GB, free: 12.38 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001034/0.1728, allocations: 176.3 kB / 0.844 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001341/0.1729, allocations: 113 kB / 0.8441 GB, free: 12.08 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.507e-05/0.173, allocations: 184.2 kB / 0.8443 GB, free: 11.89 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.518e-05/0.1731, allocations: 101.3 kB / 0.8444 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.00023/0.1733, allocations: 213.2 kB / 0.8446 GB, free: 11.58 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.11e-07/0.1733, allocations: 0 / 0.8446 GB, free: 11.58 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003805/0.1737, allocations: 71.86 kB / 0.8447 GB, free: 11.51 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.0006982/0.1744, allocations: 0.91 MB / 0.8456 GB, free: 10.57 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0001858/0.1746, allocations: 87.89 kB / 0.8457 GB, free: 10.49 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.1746, allocations: 3.938 kB / 0.8457 GB, free: 10.48 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 1.824e-06/0.1746, allocations: 0 / 0.8457 GB, free: 10.48 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004613/0.175, allocations: 460.2 kB / 0.8461 GB, free: 10.03 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002728/0.1778, allocations: 2.443 MB / 0.8485 GB, free: 7.469 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001256/0.1779, allocations: 126.8 kB / 0.8486 GB, free: 7.328 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 1.565e-05/0.1779, allocations: 4 kB / 0.8486 GB, free: 7.324 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.657e-05/0.178, allocations: 35.42 kB / 0.8486 GB, free: 7.289 MB / 0.5919 GB Notification: Performance of SimCode: time 1.222e-06/0.178, allocations: 4 kB / 0.8487 GB, free: 7.285 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03207/0.21, allocations: 5.442 MB / 0.854 GB, free: 2.004 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.06/11.27, allocations: 3.5 kB / 0.854 GB, free: 2.004 MB / 0.5919 GB " [Timeout remaining time 649] (rm -f BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.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 BuildingSystems_BuildingSystems_Electrical_Transmission_Functions_Validation_SelectCable_low.fmu > BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.738594360649586] Failed to read output from testmodel.py, exit status != 0: 11.381724132690579 11.39810338 11.228196082 Calling exit ...