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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001288/0.001288, allocations: 109.5 kB / 16.41 MB, free: 6.449 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001236/0.001236, allocations: 189.2 kB / 17.34 MB, free: 5.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.405/1.405, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8411/0.8411, allocations: 126.7 MB / 417.9 MB, free: 12.28 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002/0.002, allocations: 62.84 kB / 0.5735 GB, free: 27.14 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.152/0.154, allocations: 78.87 MB / 0.6505 GB, free: 3.648 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.003025/0.1571, allocations: 1.397 MB / 0.6519 GB, free: 2.242 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003789/0.1609, allocations: 2.666 MB / 0.6545 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.534e-05/0.161, allocations: 0 / 0.6545 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001997/0.163, allocations: 0.5831 MB / 0.6551 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.07e-05/0.1631, allocations: 27.84 kB / 0.6551 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 3.737e-06/0.1631, allocations: 3.938 kB / 0.6551 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002655/0.1634, allocations: 154.9 kB / 0.6553 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.534e-05/0.1635, allocations: 36.41 kB / 0.6553 GB, free: 14.76 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.588e-05/0.1636, allocations: 55.73 kB / 0.6553 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001558/0.1637, allocations: 79.58 kB / 0.6554 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.796e-05/0.1638, allocations: 4 kB / 0.6554 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001251/0.165, allocations: 471.2 kB / 0.6559 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 6.97e-05/0.1651, allocations: 35.84 kB / 0.6559 GB, free: 14.13 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001306/0.1652, allocations: 103.4 kB / 0.656 GB, free: 14.03 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0008598/0.1661, allocations: 438 kB / 0.6564 GB, free: 13.6 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.1661, allocations: 0 / 0.6564 GB, free: 13.6 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.202e-06/0.1661, allocations: 0 / 0.6564 GB, free: 13.6 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.228e-05/0.1661, allocations: 0 / 0.6564 GB, free: 13.6 MB / 0.4981 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.00088/0.167, allocations: 0.562 MB / 0.657 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.145e-05/0.1671, allocations: 12.03 kB / 0.657 GB, free: 12.97 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.854e-05/0.1671, allocations: 110 kB / 0.6571 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001935/0.1673, allocations: 108 kB / 0.6572 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002775/0.1676, allocations: 298.4 kB / 0.6575 GB, free: 12.42 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.744e-05/0.1677, allocations: 158.9 kB / 0.6576 GB, free: 12.26 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.538e-05/0.1678, allocations: 150.9 kB / 0.6578 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.237e-05/0.1679, allocations: 109.5 kB / 0.6579 GB, free: 12 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.705e-05/0.1679, allocations: 87.16 kB / 0.658 GB, free: 11.91 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.875e-05/0.168, allocations: 150.6 kB / 0.6581 GB, free: 11.77 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.516e-05/0.1681, allocations: 150.6 kB / 0.6582 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.313e-05/0.1682, allocations: 150.6 kB / 0.6584 GB, free: 11.47 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004955/0.1687, allocations: 0.5329 MB / 0.6589 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 9.547e-05/0.1688, allocations: 169.1 kB / 0.6591 GB, free: 10.71 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.672e-05/0.1688, allocations: 84.08 kB / 0.6591 GB, free: 10.62 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.3e-05/0.1689, allocations: 75.28 kB / 0.6592 GB, free: 10.55 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.252e-05/0.1689, allocations: 109.8 kB / 0.6593 GB, free: 10.43 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=0): time 2.906e-06/0.1689, allocations: 3.984 kB / 0.6593 GB, free: 10.43 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0): time 0.0001857/0.1691, allocations: 69.44 kB / 0.6594 GB, free: 10.36 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.631e-05/0.1692, allocations: 126.7 kB / 0.6595 GB, free: 10.22 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004714/0.1697, allocations: 437.2 kB / 0.6599 GB, free: 9.781 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.79e-05/0.1697, allocations: 25.7 kB / 0.66 GB, free: 9.75 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001017/0.1698, allocations: 132.6 kB / 0.6601 GB, free: 9.617 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.845e-06/0.1698, allocations: 0 / 0.6601 GB, free: 9.617 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.694e-05/0.1699, allocations: 89.67 kB / 0.6602 GB, free: 9.523 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000173/0.1701, allocations: 346.8 kB / 0.6605 GB, free: 9.176 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001186/0.1702, allocations: 96.45 kB / 0.6606 GB, free: 9.082 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001777/0.1704, allocations: 169.3 kB / 0.6608 GB, free: 8.898 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003365/0.1708, allocations: 297.7 kB / 0.661 GB, free: 8.586 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.1708, allocations: 7.938 kB / 0.661 GB, free: 8.578 MB / 0.4981 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0005192/0.1713, allocations: 329 kB / 0.6614 GB, free: 8.25 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.731e-05/0.1713, allocations: 7.938 kB / 0.6614 GB, free: 8.242 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.039e-05/0.1713, allocations: 8.078 kB / 0.6614 GB, free: 8.234 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.225e-05/0.1713, allocations: 0 / 0.6614 GB, free: 8.234 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.122e-06/0.1714, allocations: 4 kB / 0.6614 GB, free: 8.23 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.516e-06/0.1714, allocations: 7.922 kB / 0.6614 GB, free: 8.223 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001536/0.1715, allocations: 51.45 kB / 0.6614 GB, free: 8.172 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.828e-06/0.1715, allocations: 4 kB / 0.6614 GB, free: 8.168 MB / 0.4981 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.0002534/0.1718, allocations: 249.3 kB / 0.6617 GB, free: 7.914 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.141e-05/0.1719, allocations: 128.7 kB / 0.6618 GB, free: 7.781 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.204e-05/0.172, allocations: 114.9 kB / 0.6619 GB, free: 7.66 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.893e-05/0.1721, allocations: 176.3 kB / 0.6621 GB, free: 7.48 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.132e-05/0.1721, allocations: 180.2 kB / 0.6622 GB, free: 7.297 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.985e-05/0.1722, allocations: 188.2 kB / 0.6624 GB, free: 7.105 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003298/0.1726, allocations: 469.2 kB / 0.6629 GB, free: 6.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-05/0.1726, allocations: 108.9 kB / 0.663 GB, free: 6.477 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.959e-05/0.1727, allocations: 105 kB / 0.6631 GB, free: 6.367 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.432e-05/0.1728, allocations: 192.1 kB / 0.6633 GB, free: 6.172 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.352e-05/0.1729, allocations: 176.3 kB / 0.6634 GB, free: 5.992 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.267e-05/0.1729, allocations: 188.5 kB / 0.6636 GB, free: 5.801 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.93e-05/0.173, allocations: 180.2 kB / 0.6638 GB, free: 5.617 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001814/0.1732, allocations: 323.7 kB / 0.6641 GB, free: 5.277 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001234/0.1733, allocations: 205.9 kB / 0.6643 GB, free: 5.051 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001069/0.1735, allocations: 188.2 kB / 0.6645 GB, free: 4.859 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000144/0.1736, allocations: 104.9 kB / 0.6646 GB, free: 4.75 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.703e-05/0.1737, allocations: 184.2 kB / 0.6647 GB, free: 4.562 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.02e-05/0.1737, allocations: 104.9 kB / 0.6648 GB, free: 4.453 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002851/0.174, allocations: 279.1 kB / 0.6651 GB, free: 4.184 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.174, allocations: 0 / 0.6651 GB, free: 4.184 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003835/0.1744, allocations: 79.94 kB / 0.6652 GB, free: 4.105 MB / 0.4981 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.0007115/0.1752, allocations: 0.9659 MB / 0.6661 GB, free: 3.117 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002334/0.1754, allocations: 167.8 kB / 0.6663 GB, free: 2.953 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.1754, allocations: 4 kB / 0.6663 GB, free: 2.949 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.342e-06/0.1754, allocations: 448 / 0.6663 GB, free: 2.949 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004491/0.1759, allocations: 461.1 kB / 0.6667 GB, free: 2.492 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003053/0.1789, allocations: 2.948 MB / 0.6696 GB, free: 15.42 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004084/0.1794, allocations: 0.7743 MB / 0.6704 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 1.371e-05/0.1794, allocations: 4 kB / 0.6704 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.109e-05/0.1795, allocations: 55.41 kB / 0.6704 GB, free: 14.56 MB / 0.5137 GB Notification: Performance of SimCode: time 3.81e-07/0.1795, allocations: 0 / 0.6704 GB, free: 14.56 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02786/0.2073, allocations: 6.451 MB / 0.6767 GB, free: 8.25 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.272/8.479, allocations: 6.25 kB / 0.6767 GB, free: 8.246 MB / 0.5137 GB (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)