Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_low.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001113/0.001113, allocations: 106.8 kB / 17.54 MB, free: 4.746 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001116/0.001116, allocations: 185.9 kB / 20.71 MB, free: 1.586 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.297/1.297, allocations: 225.6 MB / 249.3 MB, free: 3.207 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9825/0.9825, allocations: 175.7 MB / 480.1 MB, free: 3.258 MB / 366.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_low,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_Transmission_Functions_Validation_SelectCable_low",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_low,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_Transmission_Functions_Validation_SelectCable_low",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001754/0.001754, allocations: 71.56 kB / 0.6677 GB, free: 10.96 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1504/0.1522, allocations: 94.53 MB / 0.76 GB, free: 0.9375 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.002457/0.1546, allocations: 1.407 MB / 0.7614 GB, free: 15.52 MB / 0.5763 GB Notification: Performance of NFInst.instExpressions: time 0.002448/0.1571, allocations: 1.958 MB / 0.7633 GB, free: 13.55 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.893e-05/0.1571, allocations: 0 / 0.7633 GB, free: 13.55 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 0.001038/0.1581, allocations: 405 kB / 0.7637 GB, free: 13.16 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 4.821e-05/0.1582, allocations: 15.91 kB / 0.7637 GB, free: 13.14 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 3.667e-06/0.1582, allocations: 0 / 0.7637 GB, free: 13.14 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.0002106/0.1584, allocations: 135 kB / 0.7639 GB, free: 13.01 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 4.391e-05/0.1584, allocations: 9.781 kB / 0.7639 GB, free: 13 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 6.262e-05/0.1585, allocations: 43.84 kB / 0.7639 GB, free: 12.96 MB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001102/0.1586, allocations: 63.7 kB / 0.764 GB, free: 12.89 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 1.22e-05/0.1586, allocations: 0 / 0.764 GB, free: 12.89 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004735/0.1591, allocations: 183.9 kB / 0.7642 GB, free: 12.71 MB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 4.888e-05/0.1591, allocations: 31.84 kB / 0.7642 GB, free: 12.68 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 7.841e-05/0.1592, allocations: 71.55 kB / 0.7642 GB, free: 12.61 MB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 0.0004639/0.1597, allocations: 294.7 kB / 0.7645 GB, free: 12.32 MB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 3.025e-06/0.1597, allocations: 4 kB / 0.7645 GB, free: 12.32 MB / 0.5763 GB Notification: Performance of FrontEnd: time 8.71e-07/0.1597, allocations: 0 / 0.7645 GB, free: 12.32 MB / 0.5763 GB Notification: Performance of Transformations before backend: time 5.581e-06/0.1597, allocations: 3.938 kB / 0.7645 GB, free: 12.32 MB / 0.5763 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.0007003/0.1604, allocations: 0.4883 MB / 0.765 GB, free: 11.78 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 3.266e-05/0.1604, allocations: 8.031 kB / 0.765 GB, free: 11.77 MB / 0.5763 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.069e-05/0.1605, allocations: 118 kB / 0.7651 GB, free: 11.65 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001539/0.1607, allocations: 92.12 kB / 0.7652 GB, free: 11.56 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002396/0.1609, allocations: 291.4 kB / 0.7655 GB, free: 11.23 MB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.428e-05/0.161, allocations: 162.9 kB / 0.7657 GB, free: 11.07 MB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.316e-05/0.161, allocations: 150.9 kB / 0.7658 GB, free: 10.93 MB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.217e-05/0.1611, allocations: 108.9 kB / 0.7659 GB, free: 10.81 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.367e-05/0.1611, allocations: 79.28 kB / 0.766 GB, free: 10.73 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.071e-05/0.1612, allocations: 158.6 kB / 0.7661 GB, free: 10.58 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.735e-05/0.1613, allocations: 150.6 kB / 0.7663 GB, free: 10.43 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.143e-05/0.1613, allocations: 154.5 kB / 0.7664 GB, free: 10.28 MB / 0.5763 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003645/0.1617, allocations: 0.5056 MB / 0.7669 GB, free: 9.723 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 8.828e-05/0.1618, allocations: 173.1 kB / 0.7671 GB, free: 9.543 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.061e-05/0.1618, allocations: 84.12 kB / 0.7672 GB, free: 9.457 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 3.507e-05/0.1619, allocations: 79.22 kB / 0.7672 GB, free: 9.379 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.301e-05/0.1619, allocations: 109.8 kB / 0.7673 GB, free: 9.262 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=0): time 9.52e-07/0.1619, allocations: 0 / 0.7673 GB, free: 9.262 MB / 0.5763 GB Notification: Performance of matching and sorting (n=0): time 0.0001643/0.1621, allocations: 49.5 kB / 0.7674 GB, free: 9.207 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.472e-05/0.1621, allocations: 130.7 kB / 0.7675 GB, free: 9.066 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003502/0.1625, allocations: 322.4 kB / 0.7678 GB, free: 8.738 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 1.591e-05/0.1625, allocations: 25.7 kB / 0.7678 GB, free: 8.707 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 7.994e-05/0.1626, allocations: 116.5 kB / 0.768 GB, free: 8.586 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 2.385e-06/0.1626, allocations: 0 / 0.768 GB, free: 8.586 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.847e-05/0.1627, allocations: 61.69 kB / 0.768 GB, free: 8.52 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 0.0001442/0.1628, allocations: 326.8 kB / 0.7683 GB, free: 8.191 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.252e-05/0.1629, allocations: 63.95 kB / 0.7684 GB, free: 8.129 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000132/0.163, allocations: 125.9 kB / 0.7685 GB, free: 7.984 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002414/0.1633, allocations: 209.8 kB / 0.7687 GB, free: 7.758 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.1633, allocations: 3.938 kB / 0.7687 GB, free: 7.754 MB / 0.5763 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004296/0.1637, allocations: 237.2 kB / 0.7689 GB, free: 7.516 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 1.406e-05/0.1637, allocations: 12.22 kB / 0.7689 GB, free: 7.504 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.1637, allocations: 0 / 0.7689 GB, free: 7.504 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.72e-05/0.1638, allocations: 11.94 kB / 0.769 GB, free: 7.492 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.122e-06/0.1638, allocations: 0 / 0.769 GB, free: 7.492 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.693e-06/0.1638, allocations: 4 kB / 0.769 GB, free: 7.488 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001122/0.1639, allocations: 27.72 kB / 0.769 GB, free: 7.461 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.28e-05/0.1639, allocations: 8 kB / 0.769 GB, free: 7.453 MB / 0.5763 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.0001818/0.1641, allocations: 225 kB / 0.7692 GB, free: 7.223 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.92e-05/0.1641, allocations: 128.8 kB / 0.7693 GB, free: 7.09 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.482e-05/0.1642, allocations: 109.9 kB / 0.7694 GB, free: 6.973 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.236e-05/0.1643, allocations: 184.2 kB / 0.7696 GB, free: 6.785 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.144e-05/0.1643, allocations: 180.2 kB / 0.7698 GB, free: 6.602 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.349e-05/0.1644, allocations: 180.3 kB / 0.77 GB, free: 6.418 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002882/0.1647, allocations: 453.1 kB / 0.7704 GB, free: 5.918 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.293e-05/0.1648, allocations: 108.9 kB / 0.7705 GB, free: 5.805 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.813e-05/0.1648, allocations: 108.9 kB / 0.7706 GB, free: 5.691 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.554e-05/0.1649, allocations: 176.3 kB / 0.7708 GB, free: 5.512 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.628e-05/0.1649, allocations: 180.3 kB / 0.7709 GB, free: 5.328 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.962e-05/0.165, allocations: 180.2 kB / 0.7711 GB, free: 5.145 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.031e-05/0.1651, allocations: 184.3 kB / 0.7713 GB, free: 4.957 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001567/0.1652, allocations: 323.6 kB / 0.7716 GB, free: 4.617 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001047/0.1653, allocations: 197.9 kB / 0.7718 GB, free: 4.398 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.643e-05/0.1654, allocations: 184.2 kB / 0.772 GB, free: 4.211 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001315/0.1656, allocations: 109 kB / 0.7721 GB, free: 4.098 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.576e-05/0.1656, allocations: 180.2 kB / 0.7722 GB, free: 3.914 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.982e-05/0.1657, allocations: 101.3 kB / 0.7723 GB, free: 3.809 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.0002572/0.1659, allocations: 217.9 kB / 0.7725 GB, free: 3.594 MB / 0.5763 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1659, allocations: 0 / 0.7725 GB, free: 3.594 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.0003342/0.1663, allocations: 63.94 kB / 0.7726 GB, free: 3.531 MB / 0.5763 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.0006389/0.1669, allocations: 0.9217 MB / 0.7735 GB, free: 2.582 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.0001831/0.1671, allocations: 95.81 kB / 0.7736 GB, free: 2.488 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.1671, allocations: 0 / 0.7736 GB, free: 2.488 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 1.694e-06/0.1671, allocations: 0 / 0.7736 GB, free: 2.488 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004505/0.1676, allocations: 462.1 kB / 0.774 GB, free: 2.035 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002547/0.1701, allocations: 2.461 MB / 0.7764 GB, free: 15.45 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003435/0.1704, allocations: 0.7353 MB / 0.7772 GB, free: 14.69 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 1.179e-05/0.1705, allocations: 0 / 0.7772 GB, free: 14.69 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.302e-05/0.1705, allocations: 39.42 kB / 0.7772 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of SimCode: time 3.41e-07/0.1705, allocations: 4 kB / 0.7772 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02681/0.1973, allocations: 4.816 MB / 0.7819 GB, free: 9.922 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.346/7.544, allocations: 7.078 kB / 0.7819 GB, free: 9.922 MB / 0.5919 GB " [Timeout remaining time 652] (rm -f IDEAS_dev_IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_low.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.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 IDEAS_dev_IDEAS_Electrical_Transmission_Functions_Validation_SelectCable_low.fmu > IDEAS_dev_IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.020916898007272]