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: translateModel(BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low") translateModel(BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000843/0.000843, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.0008776/0.0008775, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.333/1.333, allocations: 223.3 MB / 240 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001808/0.001808, allocations: 271.2 kB / 291.4 MB, free: 1.969 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9585/0.9585, allocations: 169.5 MB / 0.5 GB, free: 14.23 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004983/0.0004984, allocations: 16.25 kB / 0.598 GB, free: 28.28 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.191/0.1915, allocations: 88.55 MB / 0.6845 GB, free: 15.46 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.001606/0.1931, allocations: 1.108 MB / 0.6856 GB, free: 14.34 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002006/0.1951, allocations: 1.756 MB / 0.6873 GB, free: 12.59 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.628e-05/0.1952, allocations: 0 / 0.6873 GB, free: 12.59 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008244/0.196, allocations: 337.5 kB / 0.6876 GB, free: 12.27 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.448e-05/0.1961, allocations: 23.91 kB / 0.6876 GB, free: 12.24 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.446e-06/0.1961, allocations: 1.562 kB / 0.6876 GB, free: 12.24 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002103/0.1963, allocations: 123.2 kB / 0.6877 GB, free: 12.12 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.356e-05/0.1964, allocations: 25.42 kB / 0.6878 GB, free: 12.1 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.385e-05/0.1964, allocations: 35.81 kB / 0.6878 GB, free: 12.06 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001139/0.1966, allocations: 68.89 kB / 0.6879 GB, free: 12 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.363e-05/0.1966, allocations: 0 / 0.6879 GB, free: 12 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004106/0.197, allocations: 176.5 kB / 0.688 GB, free: 11.82 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.702e-05/0.1971, allocations: 32.77 kB / 0.6881 GB, free: 11.79 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 5.308e-05/0.1971, allocations: 57.58 kB / 0.6881 GB, free: 11.73 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000244/0.1974, allocations: 207.5 kB / 0.6883 GB, free: 11.53 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.1974, allocations: 0.7188 kB / 0.6883 GB, free: 11.53 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.1974, allocations: 0.625 kB / 0.6883 GB, free: 11.53 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.37e-06/0.1974, allocations: 0 / 0.6883 GB, free: 11.53 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.000653/0.1981, allocations: 486.4 kB / 0.6888 GB, free: 11.01 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.964e-05/0.1981, allocations: 8.031 kB / 0.6888 GB, free: 11 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001492/0.1983, allocations: 95.09 kB / 0.6889 GB, free: 10.91 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002163/0.1985, allocations: 297.9 kB / 0.6892 GB, free: 10.58 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.525e-05/0.1985, allocations: 154.5 kB / 0.6893 GB, free: 10.43 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.849e-05/0.1986, allocations: 158.6 kB / 0.6895 GB, free: 10.27 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.595e-05/0.1987, allocations: 101 kB / 0.6896 GB, free: 10.16 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.344e-05/0.1987, allocations: 75.28 kB / 0.6896 GB, free: 10.09 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.376e-05/0.1988, allocations: 154.6 kB / 0.6898 GB, free: 9.938 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.702e-05/0.1988, allocations: 150.6 kB / 0.6899 GB, free: 9.789 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.667e-05/0.1989, allocations: 154.5 kB / 0.6901 GB, free: 9.637 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000318/0.1992, allocations: 0.5094 MB / 0.6906 GB, free: 9.078 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.747e-05/0.1993, allocations: 169.1 kB / 0.6907 GB, free: 8.902 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.997e-05/0.1993, allocations: 84.14 kB / 0.6908 GB, free: 8.816 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.215e-05/0.1993, allocations: 75.28 kB / 0.6909 GB, free: 8.742 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.77e-05/0.1994, allocations: 109.8 kB / 0.691 GB, free: 8.625 MB / 494.1 MB Notification: Performance of pre-optimization done (n=0): time 9.02e-07/0.1994, allocations: 0 / 0.691 GB, free: 8.625 MB / 494.1 MB Notification: Performance of matching and sorting (n=0): time 0.0001647/0.1995, allocations: 61.34 kB / 0.691 GB, free: 8.559 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.829e-05/0.1996, allocations: 134.6 kB / 0.6912 GB, free: 8.414 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000297/0.1999, allocations: 310.4 kB / 0.6915 GB, free: 8.102 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.232e-05/0.1999, allocations: 25.7 kB / 0.6915 GB, free: 8.07 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.42e-05/0.2, allocations: 116.4 kB / 0.6916 GB, free: 7.953 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.124e-06/0.2, allocations: 4 kB / 0.6916 GB, free: 7.949 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.767e-06/0.2, allocations: 0 / 0.6916 GB, free: 7.949 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001073/0.2001, allocations: 334.8 kB / 0.6919 GB, free: 7.613 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.822e-05/0.2002, allocations: 59.97 kB / 0.692 GB, free: 7.555 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001119/0.2003, allocations: 121.9 kB / 0.6921 GB, free: 7.414 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001069/0.2005, allocations: 83.95 kB / 0.6922 GB, free: 7.332 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.2005, allocations: 0 / 0.6922 GB, free: 7.332 MB / 494.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0003798/0.2008, allocations: 229.3 kB / 0.6924 GB, free: 7.102 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/0.2009, allocations: 4 kB / 0.6924 GB, free: 7.098 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.2009, allocations: 8.219 kB / 0.6924 GB, free: 7.09 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.045e-05/0.2009, allocations: 0 / 0.6924 GB, free: 7.09 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.739e-06/0.2009, allocations: 7.938 kB / 0.6924 GB, free: 7.082 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.2009, allocations: 0 / 0.6924 GB, free: 7.082 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001055/0.201, allocations: 31.53 kB / 0.6924 GB, free: 7.051 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.496e-06/0.201, allocations: 4 kB / 0.6925 GB, free: 7.047 MB / 494.1 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001733/0.2012, allocations: 226 kB / 0.6927 GB, free: 6.816 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.543e-05/0.2013, allocations: 120.7 kB / 0.6928 GB, free: 6.691 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.556e-05/0.2013, allocations: 121.8 kB / 0.6929 GB, free: 6.562 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.996e-05/0.2014, allocations: 176.3 kB / 0.6931 GB, free: 6.383 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.755e-05/0.2015, allocations: 180.2 kB / 0.6932 GB, free: 6.199 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.985e-05/0.2015, allocations: 176.3 kB / 0.6934 GB, free: 6.02 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002356/0.2018, allocations: 465.1 kB / 0.6939 GB, free: 5.508 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.037e-05/0.2018, allocations: 105 kB / 0.694 GB, free: 5.398 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.255e-05/0.2018, allocations: 105 kB / 0.6941 GB, free: 5.289 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.935e-05/0.2019, allocations: 184.2 kB / 0.6942 GB, free: 5.102 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.142e-05/0.2019, allocations: 188.2 kB / 0.6944 GB, free: 4.91 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.438e-05/0.202, allocations: 180.2 kB / 0.6946 GB, free: 4.727 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.929e-05/0.2021, allocations: 176.3 kB / 0.6947 GB, free: 4.547 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001242/0.2022, allocations: 331.4 kB / 0.6951 GB, free: 4.199 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.911e-05/0.2023, allocations: 193.9 kB / 0.6952 GB, free: 3.984 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.625e-05/0.2024, allocations: 180.2 kB / 0.6954 GB, free: 3.801 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001043/0.2025, allocations: 105 kB / 0.6955 GB, free: 3.691 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.882e-05/0.2025, allocations: 184.3 kB / 0.6957 GB, free: 3.504 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.187e-05/0.2026, allocations: 108.9 kB / 0.6958 GB, free: 3.391 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001767/0.2028, allocations: 209.9 kB / 0.696 GB, free: 3.191 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2028, allocations: 0 / 0.696 GB, free: 3.191 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003212/0.2031, allocations: 63.98 kB / 0.6961 GB, free: 3.129 MB / 494.1 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002919/0.2034, allocations: 282.2 kB / 0.6963 GB, free: 2.844 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001604/0.2036, allocations: 99.89 kB / 0.6964 GB, free: 2.746 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.2036, allocations: 448 / 0.6964 GB, free: 2.746 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.553e-06/0.2036, allocations: 0 / 0.6964 GB, free: 2.746 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003781/0.204, allocations: 0.5353 MB / 0.6969 GB, free: 2.203 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004716/0.2045, allocations: 414 kB / 0.6973 GB, free: 1.77 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002703/0.2047, allocations: 0.7433 MB / 0.6981 GB, free: 1 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 1.307e-05/0.2048, allocations: 4 kB / 0.6981 GB, free: 0.9961 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.605e-05/0.2048, allocations: 7.438 kB / 0.6981 GB, free: 0.9883 MB / 494.1 MB Notification: Performance of SimCode: time 2.41e-07/0.2048, allocations: 0 / 0.6981 GB, free: 0.9883 MB / 494.1 MB Notification: Performance of Templates: time 0.004857/0.2096, allocations: 2.195 MB / 0.7002 GB, free: 14.81 MB / 0.4981 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low.makefile (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 & ./BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe 2>&1)