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.001365/0.001365, 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.001608/0.001608, allocations: 214.6 kB / 22.25 MB, free: 5.078 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.435/1.435, allocations: 230.6 MB / 256 MB, free: 8.012 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.002468/0.002468, allocations: 285.2 kB / 312.7 MB, free: 2.809 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.184/1.184, allocations: 180.6 MB / 0.5369 GB, free: 12.93 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_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.002802/0.002802, allocations: 100.6 kB / 0.7396 GB, free: 28.66 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1545/0.1573, allocations: 95.38 MB / 0.8327 GB, free: 8.684 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.002655/0.16, allocations: 1.445 MB / 0.8341 GB, free: 7.223 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002408/0.1624, allocations: 1.968 MB / 0.836 GB, free: 5.25 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.698e-05/0.1624, allocations: 0 / 0.836 GB, free: 5.25 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.000943/0.1633, allocations: 396.4 kB / 0.8364 GB, free: 4.863 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 4.521e-05/0.1634, allocations: 19.91 kB / 0.8364 GB, free: 4.844 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 4.008e-06/0.1634, allocations: 0 / 0.8364 GB, free: 4.844 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0002137/0.1636, allocations: 123.1 kB / 0.8366 GB, free: 4.723 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.886e-05/0.1637, allocations: 9.625 kB / 0.8366 GB, free: 4.707 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 5.917e-05/0.1637, allocations: 47.8 kB / 0.8366 GB, free: 4.66 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001212/0.1638, allocations: 63.7 kB / 0.8367 GB, free: 4.598 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.558e-05/0.1639, allocations: 4 kB / 0.8367 GB, free: 4.594 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004316/0.1643, allocations: 183.9 kB / 0.8369 GB, free: 4.414 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 4.82e-05/0.1643, allocations: 35.83 kB / 0.8369 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 7.746e-05/0.1644, allocations: 71.61 kB / 0.837 GB, free: 4.309 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0004189/0.1648, allocations: 291 kB / 0.8372 GB, free: 4.023 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.1648, allocations: 0 / 0.8372 GB, free: 4.023 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.443e-06/0.1648, allocations: 0 / 0.8372 GB, free: 4.023 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.36e-06/0.1648, allocations: 0 / 0.8372 GB, free: 4.023 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.0006627/0.1655, allocations: 418.3 kB / 0.8376 GB, free: 3.586 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.775e-05/0.1655, allocations: 17.94 kB / 0.8377 GB, free: 3.57 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.504e-05/0.1656, allocations: 110 kB / 0.8378 GB, free: 3.453 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001546/0.1657, allocations: 96.11 kB / 0.8378 GB, free: 3.359 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002037/0.166, allocations: 233.1 kB / 0.8381 GB, free: 3.109 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.956e-05/0.166, allocations: 150.9 kB / 0.8382 GB, free: 2.961 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.941e-05/0.1661, allocations: 158.9 kB / 0.8384 GB, free: 2.805 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.782e-05/0.1661, allocations: 116.9 kB / 0.8385 GB, free: 2.684 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.047e-05/0.1662, allocations: 75.28 kB / 0.8385 GB, free: 2.609 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.895e-05/0.1662, allocations: 154.5 kB / 0.8387 GB, free: 2.457 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.806e-05/0.1663, allocations: 150.6 kB / 0.8388 GB, free: 2.309 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.964e-05/0.1664, allocations: 158.5 kB / 0.839 GB, free: 2.152 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003421/0.1667, allocations: 484.9 kB / 0.8395 GB, free: 1.637 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 8.448e-05/0.1668, allocations: 165.1 kB / 0.8396 GB, free: 1.465 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.855e-05/0.1668, allocations: 84.14 kB / 0.8397 GB, free: 1.379 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 3.808e-05/0.1669, allocations: 83.2 kB / 0.8398 GB, free: 1.297 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.885e-05/0.1669, allocations: 113.8 kB / 0.8399 GB, free: 1.176 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=0): time 8.61e-07/0.1669, allocations: 0 / 0.8399 GB, free: 1.176 MB / 0.5762 GB Notification: Performance of matching and sorting (n=0): time 0.0001621/0.1671, allocations: 49.56 kB / 0.8399 GB, free: 1.121 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.387e-05/0.1671, allocations: 126.7 kB / 0.84 GB, free: 0.9844 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003554/0.1675, allocations: 321.6 kB / 0.8404 GB, free: 0.6602 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.163e-05/0.1675, allocations: 33.7 kB / 0.8404 GB, free: 0.6211 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 7.406e-05/0.1676, allocations: 112.5 kB / 0.8405 GB, free: 0.5078 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.094e-06/0.1676, allocations: 0 / 0.8405 GB, free: 0.5078 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.876e-05/0.1677, allocations: 69.67 kB / 0.8406 GB, free: 444 kB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001357/0.1678, allocations: 330.8 kB / 0.8409 GB, free: 104 kB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.401e-05/0.1679, allocations: 67.73 kB / 0.8409 GB, free: 36 kB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000138/0.168, allocations: 117.9 kB / 0.8411 GB, free: 15.9 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002405/0.1683, allocations: 209.9 kB / 0.8413 GB, free: 15.67 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.1683, allocations: 0 / 0.8413 GB, free: 15.67 MB / 0.5919 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004556/0.1687, allocations: 241.2 kB / 0.8415 GB, free: 15.43 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.701e-05/0.1687, allocations: 7.938 kB / 0.8415 GB, free: 15.42 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.346e-06/0.1687, allocations: 4 kB / 0.8415 GB, free: 15.42 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.338e-05/0.1688, allocations: 0 / 0.8415 GB, free: 15.42 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.166e-06/0.1688, allocations: 4 kB / 0.8415 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.031e-06/0.1688, allocations: 0 / 0.8415 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001116/0.1689, allocations: 27.73 kB / 0.8415 GB, free: 15.39 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.568e-06/0.1689, allocations: 4.219 kB / 0.8415 GB, free: 15.38 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.0002024/0.1691, allocations: 229.7 kB / 0.8417 GB, free: 15.15 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.996e-05/0.1692, allocations: 128.8 kB / 0.8419 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.266e-05/0.1692, allocations: 113.8 kB / 0.842 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.305e-05/0.1693, allocations: 180.2 kB / 0.8421 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.496e-05/0.1694, allocations: 180.3 kB / 0.8423 GB, free: 14.53 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.447e-05/0.1695, allocations: 184.2 kB / 0.8425 GB, free: 14.34 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002956/0.1697, allocations: 424.2 kB / 0.8429 GB, free: 13.88 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.346e-05/0.1698, allocations: 108.9 kB / 0.843 GB, free: 13.76 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.647e-05/0.1698, allocations: 104.9 kB / 0.8431 GB, free: 13.65 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.001e-05/0.1699, allocations: 188.3 kB / 0.8433 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.675e-05/0.17, allocations: 184.2 kB / 0.8435 GB, free: 13.27 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.153e-05/0.1701, allocations: 176.3 kB / 0.8436 GB, free: 13.09 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.43e-05/0.1702, allocations: 176.3 kB / 0.8438 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001946/0.1704, allocations: 327.7 kB / 0.8441 GB, free: 12.57 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001094/0.1705, allocations: 128.7 kB / 0.8442 GB, free: 12.44 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001436/0.1706, allocations: 176.3 kB / 0.8444 GB, free: 12.26 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002156/0.1708, allocations: 109 kB / 0.8445 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001251/0.171, allocations: 188.2 kB / 0.8447 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.651e-05/0.171, allocations: 101.3 kB / 0.8448 GB, free: 11.85 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002136/0.1712, allocations: 217.2 kB / 0.845 GB, free: 11.64 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9.1e-08/0.1712, allocations: 0 / 0.845 GB, free: 11.64 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003214/0.1716, allocations: 71.88 kB / 0.8451 GB, free: 11.57 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.0006232/0.1722, allocations: 0.9178 MB / 0.846 GB, free: 10.62 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0001831/0.1724, allocations: 83.89 kB / 0.846 GB, free: 10.54 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.1724, allocations: 0 / 0.846 GB, free: 10.54 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 2.505e-06/0.1724, allocations: 0 / 0.846 GB, free: 10.54 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006088/0.173, allocations: 466.7 kB / 0.8465 GB, free: 10.08 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002638/0.1756, allocations: 2.433 MB / 0.8489 GB, free: 7.531 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003542/0.176, allocations: 0.747 MB / 0.8496 GB, free: 6.758 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 1.411e-05/0.176, allocations: 4 kB / 0.8496 GB, free: 6.754 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.673e-05/0.1761, allocations: 35.42 kB / 0.8496 GB, free: 6.719 MB / 0.5919 GB Notification: Performance of SimCode: time 3.7e-07/0.1761, allocations: 0 / 0.8496 GB, free: 6.719 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03067/0.2067, allocations: 4.964 MB / 0.8545 GB, free: 1.902 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.26/10.46, allocations: 14.91 kB / 0.8545 GB, free: 1.891 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: 14.581216809998296] Failed to read output from testmodel.py, exit status != 0: 10.566381333999743 10.588940926 10.419981256 Calling exit ...