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.001329/0.001329, allocations: 108.8 kB / 16.41 MB, free: 6.5 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.001145/0.001145, allocations: 193.2 kB / 17.34 MB, free: 5.762 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.383/1.383, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8182/0.8182, allocations: 122.9 MB / 414.1 MB, free: 15.8 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00123/0.00123, allocations: 65 kB / 0.5679 GB, free: 29.12 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1474/0.1486, allocations: 77.93 MB / 0.644 GB, free: 9.695 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.002515/0.1511, allocations: 1.41 MB / 0.6454 GB, free: 8.273 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0034/0.1546, allocations: 2.667 MB / 0.648 GB, free: 5.598 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.119e-05/0.1547, allocations: 0 / 0.648 GB, free: 5.598 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001853/0.1565, allocations: 0.5849 MB / 0.6486 GB, free: 5.012 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.666e-05/0.1566, allocations: 15.92 kB / 0.6486 GB, free: 4.996 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.07e-06/0.1566, allocations: 3.938 kB / 0.6486 GB, free: 4.992 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002701/0.1569, allocations: 162.9 kB / 0.6488 GB, free: 4.832 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.306e-05/0.157, allocations: 32.41 kB / 0.6488 GB, free: 4.797 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.395e-05/0.1571, allocations: 67.7 kB / 0.6489 GB, free: 4.73 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001419/0.1572, allocations: 75.59 kB / 0.6489 GB, free: 4.656 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.397e-05/0.1572, allocations: 0 / 0.6489 GB, free: 4.656 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001135/0.1584, allocations: 471.3 kB / 0.6494 GB, free: 4.195 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 6.037e-05/0.1584, allocations: 31.84 kB / 0.6494 GB, free: 4.164 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001003/0.1585, allocations: 103.3 kB / 0.6495 GB, free: 4.062 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006814/0.1592, allocations: 438 kB / 0.6499 GB, free: 3.633 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.1592, allocations: 3.938 kB / 0.6499 GB, free: 3.629 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.945e-06/0.1593, allocations: 7.984 kB / 0.6499 GB, free: 3.621 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.632e-06/0.1593, allocations: 0 / 0.6499 GB, free: 3.621 MB / 494.1 MB 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.0007676/0.16, allocations: 0.5564 MB / 0.6505 GB, free: 3.012 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.62e-05/0.1601, allocations: 12.62 kB / 0.6505 GB, free: 3 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.576e-05/0.1601, allocations: 106 kB / 0.6506 GB, free: 2.887 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001626/0.1603, allocations: 104 kB / 0.6507 GB, free: 2.785 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002921/0.1606, allocations: 314.3 kB / 0.651 GB, free: 2.438 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.325e-05/0.1607, allocations: 158.9 kB / 0.6512 GB, free: 2.281 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.637e-05/0.1607, allocations: 150.9 kB / 0.6513 GB, free: 2.133 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.161e-05/0.1608, allocations: 105.5 kB / 0.6514 GB, free: 2.023 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.586e-05/0.1608, allocations: 79.22 kB / 0.6515 GB, free: 1.945 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.343e-05/0.1609, allocations: 150.6 kB / 0.6516 GB, free: 1.797 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.232e-05/0.161, allocations: 154.6 kB / 0.6518 GB, free: 1.645 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000138/0.1611, allocations: 154.5 kB / 0.6519 GB, free: 1.492 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003449/0.1615, allocations: 0.5367 MB / 0.6524 GB, free: 0.9062 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.854e-05/0.1616, allocations: 165.1 kB / 0.6526 GB, free: 0.7344 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.947e-05/0.1616, allocations: 84.14 kB / 0.6527 GB, free: 0.6484 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.537e-05/0.1616, allocations: 75.28 kB / 0.6527 GB, free: 0.5742 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.995e-05/0.1617, allocations: 109.8 kB / 0.6528 GB, free: 468 kB / 494.1 MB Notification: Performance of pre-optimization done (n=0): time 9.52e-07/0.1617, allocations: 0 / 0.6528 GB, free: 468 kB / 494.1 MB Notification: Performance of matching and sorting (n=0): time 0.0001722/0.1619, allocations: 61.42 kB / 0.6529 GB, free: 400 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.334e-05/0.1619, allocations: 130.7 kB / 0.653 GB, free: 256 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005182/0.1625, allocations: 433.3 kB / 0.6534 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.428e-05/0.1625, allocations: 25.7 kB / 0.6535 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 8.571e-05/0.1626, allocations: 132.6 kB / 0.6536 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.685e-06/0.1626, allocations: 0 / 0.6536 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.309e-05/0.1627, allocations: 93.66 kB / 0.6537 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001198/0.1628, allocations: 338.8 kB / 0.654 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001086/0.1629, allocations: 96.5 kB / 0.6541 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000157/0.1631, allocations: 169.2 kB / 0.6543 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002896/0.1634, allocations: 305.6 kB / 0.6546 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/0.1634, allocations: 0 / 0.6546 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0004887/0.1639, allocations: 333 kB / 0.6549 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.64e-05/0.1639, allocations: 8.156 kB / 0.6549 GB, free: 14.28 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.206e-06/0.1639, allocations: 8 kB / 0.6549 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.286e-05/0.1639, allocations: 0 / 0.6549 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.947e-06/0.1639, allocations: 4 kB / 0.6549 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.164, allocations: 3.938 kB / 0.6549 GB, free: 14.26 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001437/0.1641, allocations: 51.5 kB / 0.6549 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.129e-05/0.1641, allocations: 4 kB / 0.6549 GB, free: 14.21 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.0002363/0.1644, allocations: 241.1 kB / 0.6552 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.411e-05/0.1644, allocations: 136.7 kB / 0.6553 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.28e-05/0.1645, allocations: 111 kB / 0.6554 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.548e-05/0.1646, allocations: 184.2 kB / 0.6556 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.722e-05/0.1646, allocations: 176.3 kB / 0.6558 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.425e-05/0.1647, allocations: 180.3 kB / 0.6559 GB, free: 13.15 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000267/0.165, allocations: 477.1 kB / 0.6564 GB, free: 12.63 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.478e-05/0.165, allocations: 109 kB / 0.6565 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.658e-05/0.165, allocations: 112.9 kB / 0.6566 GB, free: 12.4 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.793e-05/0.1651, allocations: 188.2 kB / 0.6568 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.974e-05/0.1652, allocations: 176.3 kB / 0.6569 GB, free: 12.03 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.598e-05/0.1652, allocations: 184.4 kB / 0.6571 GB, free: 11.84 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.735e-05/0.1653, allocations: 180.3 kB / 0.6573 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001436/0.1654, allocations: 331.6 kB / 0.6576 GB, free: 11.31 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.422e-05/0.1655, allocations: 201.9 kB / 0.6578 GB, free: 11.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.896e-05/0.1656, allocations: 180.2 kB / 0.658 GB, free: 10.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001289/0.1658, allocations: 109 kB / 0.6581 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.716e-05/0.1659, allocations: 188.2 kB / 0.6583 GB, free: 10.6 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.367e-05/0.1659, allocations: 101 kB / 0.6583 GB, free: 10.49 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002634/0.1662, allocations: 279.1 kB / 0.6586 GB, free: 10.22 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.6e-07/0.1662, allocations: 3.938 kB / 0.6586 GB, free: 10.22 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004043/0.1666, allocations: 79.94 kB / 0.6587 GB, free: 10.14 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.0006326/0.1672, allocations: 0.9644 MB / 0.6596 GB, free: 9.148 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000214/0.1675, allocations: 159.9 kB / 0.6598 GB, free: 8.992 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.287e-06/0.1675, allocations: 8 kB / 0.6598 GB, free: 8.984 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.363e-06/0.1675, allocations: 0 / 0.6598 GB, free: 8.984 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003834/0.1679, allocations: 461.6 kB / 0.6602 GB, free: 8.531 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002713/0.1706, allocations: 2.95 MB / 0.6631 GB, free: 5.461 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003226/0.1709, allocations: 0.7743 MB / 0.6639 GB, free: 4.66 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.599e-05/0.1709, allocations: 7.984 kB / 0.6639 GB, free: 4.652 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.782e-05/0.171, allocations: 47.42 kB / 0.6639 GB, free: 4.605 MB / 0.4981 GB Notification: Performance of SimCode: time 3.41e-07/0.171, allocations: 0 / 0.6639 GB, free: 4.605 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02255/0.1936, allocations: 6.437 MB / 0.6702 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.897/8.091, allocations: 13.92 kB / 0.6702 GB, free: 14.29 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)