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.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00455/0.00455, allocations: 97.62 kB / 15.73 MB, free: 6.004 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.001018/0.001018, allocations: 195 kB / 16.67 MB, free: 5.934 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.298/1.298, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002094/0.002094, allocations: 278.5 kB / 290.8 MB, free: 1.898 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9463/0.9463, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001845/0.001845, allocations: 103.8 kB / 0.681 GB, free: 4 kB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1543/0.1562, allocations: 86.97 MB / 0.7659 GB, free: 8.957 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.002437/0.1587, allocations: 1.394 MB / 0.7672 GB, free: 7.551 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002372/0.161, allocations: 1.935 MB / 0.7691 GB, free: 5.609 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.778e-05/0.1611, allocations: 0 / 0.7691 GB, free: 5.609 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001206/0.1623, allocations: 385.9 kB / 0.7695 GB, free: 5.23 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.695e-05/0.1624, allocations: 19.84 kB / 0.7695 GB, free: 5.211 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 4.318e-06/0.1624, allocations: 0 / 0.7695 GB, free: 5.211 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002247/0.1626, allocations: 123.2 kB / 0.7696 GB, free: 5.09 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 5.992e-05/0.1627, allocations: 21.5 kB / 0.7697 GB, free: 5.066 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 7.092e-05/0.1628, allocations: 47.78 kB / 0.7697 GB, free: 5.02 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001179/0.1629, allocations: 59.7 kB / 0.7698 GB, free: 4.961 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.849e-05/0.1629, allocations: 4 kB / 0.7698 GB, free: 4.957 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005773/0.1635, allocations: 195.8 kB / 0.77 GB, free: 4.766 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 5.1e-05/0.1636, allocations: 27.84 kB / 0.77 GB, free: 4.738 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 8.646e-05/0.1637, allocations: 71.61 kB / 0.7701 GB, free: 4.668 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0005069/0.1642, allocations: 287 kB / 0.7703 GB, free: 4.387 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.1642, allocations: 4 kB / 0.7703 GB, free: 4.383 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.253e-06/0.1642, allocations: 0 / 0.7703 GB, free: 4.383 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.811e-06/0.1642, allocations: 0 / 0.7703 GB, free: 4.383 MB / 0.5606 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.0006795/0.1649, allocations: 0.4905 MB / 0.7708 GB, free: 3.844 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.557e-05/0.1649, allocations: 8.031 kB / 0.7708 GB, free: 3.836 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.049e-05/0.165, allocations: 110 kB / 0.7709 GB, free: 3.719 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001653/0.1652, allocations: 100.1 kB / 0.771 GB, free: 3.621 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000216/0.1654, allocations: 287.4 kB / 0.7713 GB, free: 3.301 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.911e-05/0.1655, allocations: 150.9 kB / 0.7714 GB, free: 3.152 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.999e-05/0.1655, allocations: 154.9 kB / 0.7716 GB, free: 3 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.595e-05/0.1656, allocations: 116.8 kB / 0.7717 GB, free: 2.879 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.34e-05/0.1656, allocations: 75.28 kB / 0.7718 GB, free: 2.805 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.771e-05/0.1657, allocations: 154.6 kB / 0.7719 GB, free: 2.652 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.93e-05/0.1657, allocations: 150.6 kB / 0.7721 GB, free: 2.504 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.437e-05/0.1658, allocations: 158.5 kB / 0.7722 GB, free: 2.348 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003487/0.1661, allocations: 0.5056 MB / 0.7727 GB, free: 1.793 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 7.559e-05/0.1662, allocations: 173.1 kB / 0.7729 GB, free: 1.613 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.421e-05/0.1663, allocations: 80.14 kB / 0.7729 GB, free: 1.531 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.566e-05/0.1663, allocations: 79.22 kB / 0.773 GB, free: 1.453 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.211e-05/0.1663, allocations: 109.8 kB / 0.7731 GB, free: 1.336 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=0): time 8.92e-07/0.1664, allocations: 0 / 0.7731 GB, free: 1.336 MB / 0.5606 GB Notification: Performance of matching and sorting (n=0): time 0.0001838/0.1665, allocations: 49.66 kB / 0.7732 GB, free: 1.281 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.131e-05/0.1666, allocations: 130.7 kB / 0.7733 GB, free: 1.141 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003255/0.1669, allocations: 326.3 kB / 0.7736 GB, free: 0.8164 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.474e-05/0.167, allocations: 25.7 kB / 0.7736 GB, free: 0.7852 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.957e-05/0.167, allocations: 120.5 kB / 0.7737 GB, free: 0.6641 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.346e-06/0.167, allocations: 0 / 0.7737 GB, free: 0.6641 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.033e-05/0.1671, allocations: 65.69 kB / 0.7738 GB, free: 0.5938 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001029/0.1672, allocations: 330.8 kB / 0.7741 GB, free: 268 kB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.006e-05/0.1673, allocations: 59.95 kB / 0.7742 GB, free: 208 kB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001198/0.1674, allocations: 121.9 kB / 0.7743 GB, free: 64 kB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.297/0.4644, allocations: 204.5 kB / 0.7745 GB, free: 15.08 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.52e-06/0.4644, allocations: 1.844 kB / 0.7745 GB, free: 15.08 MB / 0.5606 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005205/0.465, allocations: 237.7 kB / 0.7747 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.917e-05/0.465, allocations: 5.531 kB / 0.7747 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.857e-06/0.465, allocations: 3.25 kB / 0.7747 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.875e-05/0.465, allocations: 3.312 kB / 0.7747 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.945e-06/0.4651, allocations: 2.938 kB / 0.7747 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.805e-06/0.4651, allocations: 7.344 kB / 0.7747 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001439/0.4652, allocations: 25.89 kB / 0.7748 GB, free: 15.03 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.346e-05/0.4652, allocations: 4.906 kB / 0.7748 GB, free: 15.03 MB / 0.5606 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.0001912/0.4654, allocations: 229.9 kB / 0.775 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.45e-05/0.4655, allocations: 120.8 kB / 0.7751 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.391e-05/0.4655, allocations: 116.2 kB / 0.7752 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.121e-05/0.4656, allocations: 177.4 kB / 0.7754 GB, free: 14.44 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.293e-05/0.4656, allocations: 181.4 kB / 0.7756 GB, free: 14.26 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.354e-05/0.4656, allocations: 184.3 kB / 0.7757 GB, free: 14.08 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001945/0.4658, allocations: 456.3 kB / 0.7762 GB, free: 13.63 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-05/0.4658, allocations: 105.8 kB / 0.7763 GB, free: 13.53 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.291e-05/0.4659, allocations: 102.5 kB / 0.7764 GB, free: 13.42 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.047e-05/0.4659, allocations: 182.8 kB / 0.7765 GB, free: 13.24 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.331e-05/0.4659, allocations: 186.2 kB / 0.7767 GB, free: 13.06 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.27e-05/0.4659, allocations: 182.7 kB / 0.7769 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.985e-05/0.466, allocations: 180.1 kB / 0.7771 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.876e-05/0.4661, allocations: 334 kB / 0.7774 GB, free: 12.37 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.62e-05/0.4661, allocations: 195.5 kB / 0.7776 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.215e-05/0.4662, allocations: 186.2 kB / 0.7777 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000106/0.4663, allocations: 102.9 kB / 0.7778 GB, free: 11.87 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.05e-05/0.4663, allocations: 186.8 kB / 0.778 GB, free: 11.69 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.341e-05/0.4663, allocations: 106.4 kB / 0.7781 GB, free: 11.58 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.000225/0.4666, allocations: 213.3 kB / 0.7783 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.3e-07/0.4666, allocations: 0 / 0.7783 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003694/0.4669, allocations: 71.86 kB / 0.7784 GB, free: 11.5 MB / 0.5606 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.0004205/0.4674, allocations: 0.9116 MB / 0.7793 GB, free: 10.69 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001759/0.4676, allocations: 104 kB / 0.7794 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.4676, allocations: 3.375 kB / 0.7794 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 2.325e-06/0.4676, allocations: 1.094 kB / 0.7794 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003031/0.4679, allocations: 465.2 kB / 0.7798 GB, free: 10.23 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002148/0.47, allocations: 2.441 MB / 0.7822 GB, free: 8.746 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001724/0.4702, allocations: 0.7444 MB / 0.7829 GB, free: 8.051 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 2.006e-05/0.4703, allocations: 3.078 kB / 0.7829 GB, free: 8.051 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.298e-05/0.4703, allocations: 39.72 kB / 0.783 GB, free: 8.043 MB / 0.5606 GB Notification: Performance of SimCode: time 2.2e-07/0.4703, allocations: 0 / 0.783 GB, free: 8.043 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02179/0.4921, allocations: 4.862 MB / 0.7877 GB, free: 7.461 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.527/8.02, allocations: 15.19 kB / 0.7878 GB, free: 7.449 MB / 0.5606 GB (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)