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.001304/0.001304, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001391/0.001391, allocations: 196.5 kB / 16.53 MB, free: 6.664 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.422/1.422, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002534/0.002534, allocations: 282.8 kB / 290.7 MB, free: 2 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.085/1.085, allocations: 178.6 MB / 0.5073 GB, free: 4.602 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.004205/0.004205, allocations: 97.34 kB / 0.6065 GB, free: 24.72 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1629/0.1671, allocations: 89.14 MB / 0.6936 GB, free: 4.23 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.002638/0.1698, allocations: 1.4 MB / 0.695 GB, free: 2.824 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00244/0.1723, allocations: 1.934 MB / 0.6968 GB, free: 0.8945 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.737e-05/0.1723, allocations: 0 / 0.6968 GB, free: 0.8945 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001007/0.1733, allocations: 388.4 kB / 0.6972 GB, free: 0.5156 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.37e-05/0.1734, allocations: 23.91 kB / 0.6972 GB, free: 0.4922 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.438e-06/0.1734, allocations: 0 / 0.6972 GB, free: 0.4922 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002256/0.1736, allocations: 127.1 kB / 0.6974 GB, free: 376 kB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.286e-05/0.1737, allocations: 17.5 kB / 0.6974 GB, free: 356 kB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.812e-05/0.1738, allocations: 47.84 kB / 0.6974 GB, free: 308 kB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001173/0.1739, allocations: 59.72 kB / 0.6975 GB, free: 248 kB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.657e-05/0.1739, allocations: 8 kB / 0.6975 GB, free: 240 kB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004961/0.1744, allocations: 179.9 kB / 0.6977 GB, free: 60 kB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 5.498e-05/0.1745, allocations: 31.84 kB / 0.6977 GB, free: 28 kB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001075/0.1746, allocations: 67.73 kB / 0.6978 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004612/0.1751, allocations: 279.1 kB / 0.698 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.1751, allocations: 7.938 kB / 0.698 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.222e-06/0.1751, allocations: 0 / 0.698 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.36e-06/0.1751, allocations: 0 / 0.698 GB, free: 15.68 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.0007783/0.1759, allocations: 0.4908 MB / 0.6985 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.51e-05/0.1759, allocations: 8.031 kB / 0.6985 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.315e-05/0.176, allocations: 106 kB / 0.6986 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001631/0.1762, allocations: 96.03 kB / 0.6987 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002532/0.1764, allocations: 299.2 kB / 0.699 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.942e-05/0.1765, allocations: 150.9 kB / 0.6991 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.087e-05/0.1766, allocations: 162.9 kB / 0.6993 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.545e-05/0.1767, allocations: 108.9 kB / 0.6994 GB, free: 14.17 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.392e-05/0.1767, allocations: 75.28 kB / 0.6995 GB, free: 14.1 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.408e-05/0.1768, allocations: 150.6 kB / 0.6996 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.998e-05/0.1768, allocations: 150.6 kB / 0.6998 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.754e-05/0.1769, allocations: 162.5 kB / 0.6999 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003808/0.1773, allocations: 0.4978 MB / 0.7004 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 9.159e-05/0.1774, allocations: 169.1 kB / 0.7006 GB, free: 12.92 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.74e-05/0.1774, allocations: 80.14 kB / 0.7006 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.598e-05/0.1775, allocations: 79.22 kB / 0.7007 GB, free: 12.76 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.139e-05/0.1776, allocations: 113.8 kB / 0.7008 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=0): time 9.12e-07/0.1776, allocations: 0 / 0.7008 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0): time 0.0001762/0.1777, allocations: 57.44 kB / 0.7009 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.8e-05/0.1778, allocations: 126.7 kB / 0.701 GB, free: 12.44 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003372/0.1782, allocations: 314.3 kB / 0.7013 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.514e-05/0.1782, allocations: 25.7 kB / 0.7013 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 8.222e-05/0.1783, allocations: 120.4 kB / 0.7014 GB, free: 11.97 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.235e-06/0.1783, allocations: 4 kB / 0.7014 GB, free: 11.97 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.254e-05/0.1784, allocations: 61.69 kB / 0.7015 GB, free: 11.9 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001489/0.1785, allocations: 334.8 kB / 0.7018 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.719e-05/0.1786, allocations: 59.95 kB / 0.7019 GB, free: 11.51 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001346/0.1787, allocations: 121.9 kB / 0.702 GB, free: 11.37 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002484/0.179, allocations: 213.9 kB / 0.7022 GB, free: 11.14 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.179, allocations: 4 kB / 0.7022 GB, free: 11.13 MB / 0.4981 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004737/0.1795, allocations: 233.2 kB / 0.7024 GB, free: 10.9 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/0.1795, allocations: 4 kB / 0.7024 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.099e-05/0.1795, allocations: 4 kB / 0.7024 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.428e-05/0.1796, allocations: 3.938 kB / 0.7024 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.188e-06/0.1796, allocations: 7.984 kB / 0.7024 GB, free: 10.88 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.1796, allocations: 4.219 kB / 0.7024 GB, free: 10.88 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001196/0.1797, allocations: 31.53 kB / 0.7025 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.005e-05/0.1797, allocations: 4 kB / 0.7025 GB, free: 10.84 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.0002369/0.18, allocations: 222.8 kB / 0.7027 GB, free: 10.61 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.316e-05/0.18, allocations: 124.7 kB / 0.7028 GB, free: 10.48 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.698e-05/0.1801, allocations: 113.9 kB / 0.7029 GB, free: 10.36 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.698e-05/0.1802, allocations: 184.2 kB / 0.7031 GB, free: 10.18 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.275e-05/0.1803, allocations: 184.1 kB / 0.7033 GB, free: 9.988 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.772e-05/0.1804, allocations: 180.3 kB / 0.7034 GB, free: 9.805 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003109/0.1807, allocations: 453.1 kB / 0.7039 GB, free: 9.305 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.017e-05/0.1807, allocations: 108.9 kB / 0.704 GB, free: 9.191 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.545e-05/0.1808, allocations: 104.9 kB / 0.7041 GB, free: 9.082 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.657e-05/0.1809, allocations: 184.3 kB / 0.7042 GB, free: 8.895 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.182e-05/0.181, allocations: 184.3 kB / 0.7044 GB, free: 8.707 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.498e-05/0.1811, allocations: 180.2 kB / 0.7046 GB, free: 8.523 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.034e-05/0.1811, allocations: 180.2 kB / 0.7048 GB, free: 8.34 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001655/0.1813, allocations: 319.6 kB / 0.7051 GB, free: 8.004 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001176/0.1814, allocations: 205.7 kB / 0.7053 GB, free: 7.777 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001063/0.1815, allocations: 184.2 kB / 0.7054 GB, free: 7.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001328/0.1817, allocations: 101 kB / 0.7055 GB, free: 7.484 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.193e-05/0.1818, allocations: 184.5 kB / 0.7057 GB, free: 7.297 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.775e-05/0.1818, allocations: 109 kB / 0.7058 GB, free: 7.184 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002108/0.182, allocations: 213.9 kB / 0.706 GB, free: 6.98 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.182, allocations: 3.938 kB / 0.706 GB, free: 6.977 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003545/0.1824, allocations: 63.98 kB / 0.7061 GB, free: 6.914 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.0006637/0.1831, allocations: 0.9222 MB / 0.707 GB, free: 5.965 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001804/0.1833, allocations: 100.3 kB / 0.7071 GB, free: 5.867 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.1833, allocations: 8.062 kB / 0.7071 GB, free: 5.859 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.462e-06/0.1833, allocations: 0 / 0.7071 GB, free: 5.859 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004089/0.1837, allocations: 457 kB / 0.7075 GB, free: 5.41 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002506/0.1862, allocations: 2.429 MB / 0.7099 GB, free: 2.859 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003513/0.1866, allocations: 0.7392 MB / 0.7106 GB, free: 2.094 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.69e-05/0.1866, allocations: 4 kB / 0.7106 GB, free: 2.09 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.484e-05/0.1867, allocations: 35.36 kB / 0.7107 GB, free: 2.055 MB / 0.4981 GB Notification: Performance of SimCode: time 2.21e-07/0.1867, allocations: 0 / 0.7107 GB, free: 2.055 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02576/0.2124, allocations: 4.836 MB / 0.7154 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.698/7.91, allocations: 448 / 0.7154 GB, free: 13.36 MB / 0.5137 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)