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) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 90] 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: translateModel(IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_med,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_med") translateModel(IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_med,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_med") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00123/0.00123, allocations: 111 kB / 17.33 MB, free: 5.043 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.001149/0.001149, allocations: 201.9 kB / 18.33 MB, free: 4.055 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.366/1.366, allocations: 225.6 MB / 244.8 MB, free: 13.61 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8397/0.8397, allocations: 128.4 MB / 426.1 MB, free: 7.262 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002022/0.002022, allocations: 67.92 kB / 0.5911 GB, free: 21.46 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.185/0.187, allocations: 83.25 MB / 0.6724 GB, free: 3.934 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.002605/0.1896, allocations: 1.421 MB / 0.6738 GB, free: 2.504 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.00336/0.193, allocations: 2.69 MB / 0.6765 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.054e-05/0.193, allocations: 0 / 0.6765 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001473/0.1945, allocations: 0.5876 MB / 0.677 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 4.899e-05/0.1946, allocations: 19.91 kB / 0.6771 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 3.347e-06/0.1946, allocations: 0 / 0.6771 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0002464/0.1948, allocations: 162.9 kB / 0.6772 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 5.977e-05/0.1949, allocations: 24.41 kB / 0.6772 GB, free: 15.01 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 8.335e-05/0.195, allocations: 59.73 kB / 0.6773 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001391/0.1951, allocations: 79.58 kB / 0.6774 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.064e-05/0.1951, allocations: 3.938 kB / 0.6774 GB, free: 14.87 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009618/0.1961, allocations: 471.2 kB / 0.6778 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 4.696e-05/0.1961, allocations: 35.78 kB / 0.6779 GB, free: 14.38 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 9.593e-05/0.1962, allocations: 103.4 kB / 0.6779 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0006116/0.1968, allocations: 441.9 kB / 0.6784 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.1968, allocations: 4 kB / 0.6784 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.162e-06/0.1968, allocations: 0 / 0.6784 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.31e-06/0.1968, allocations: 0 / 0.6784 GB, free: 13.84 MB / 0.5137 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.0008615/0.1977, allocations: 0.5565 MB / 0.6789 GB, free: 13.23 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.347e-05/0.1977, allocations: 8.031 kB / 0.6789 GB, free: 13.22 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001576/0.1979, allocations: 104 kB / 0.679 GB, free: 13.12 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002574/0.1982, allocations: 306.3 kB / 0.6793 GB, free: 12.78 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.594e-05/0.1982, allocations: 150.9 kB / 0.6795 GB, free: 12.63 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.275e-05/0.1983, allocations: 162.9 kB / 0.6796 GB, free: 12.47 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.605e-05/0.1984, allocations: 101.5 kB / 0.6797 GB, free: 12.36 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.809e-05/0.1984, allocations: 75.47 kB / 0.6798 GB, free: 12.29 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.497e-05/0.1985, allocations: 158.5 kB / 0.6799 GB, free: 12.13 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.216e-05/0.1985, allocations: 150.6 kB / 0.6801 GB, free: 11.98 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.571e-05/0.1986, allocations: 154.6 kB / 0.6802 GB, free: 11.83 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004235/0.199, allocations: 0.5367 MB / 0.6808 GB, free: 11.25 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 9.553e-05/0.1991, allocations: 173.1 kB / 0.6809 GB, free: 11.07 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.763e-05/0.1991, allocations: 80.14 kB / 0.681 GB, free: 10.98 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 3.351e-05/0.1992, allocations: 75.28 kB / 0.6811 GB, free: 10.91 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.979e-05/0.1992, allocations: 113.8 kB / 0.6812 GB, free: 10.79 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=0): time 7.42e-07/0.1992, allocations: 0 / 0.6812 GB, free: 10.79 MB / 0.5137 GB Notification: Performance of matching and sorting (n=0): time 0.0001779/0.1994, allocations: 61.39 kB / 0.6812 GB, free: 10.72 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.08e-05/0.1995, allocations: 126.7 kB / 0.6814 GB, free: 10.59 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004596/0.1999, allocations: 437.3 kB / 0.6818 GB, free: 10.15 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.619e-05/0.2, allocations: 25.7 kB / 0.6818 GB, free: 10.12 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 9.34e-05/0.2001, allocations: 128.6 kB / 0.6819 GB, free: 9.988 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.565e-06/0.2001, allocations: 0 / 0.6819 GB, free: 9.988 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.851e-05/0.2002, allocations: 105.6 kB / 0.682 GB, free: 9.879 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000152/0.2003, allocations: 334.8 kB / 0.6823 GB, free: 9.543 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001244/0.2004, allocations: 100.5 kB / 0.6824 GB, free: 9.445 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001715/0.2006, allocations: 161.3 kB / 0.6826 GB, free: 9.27 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003354/0.2009, allocations: 309.6 kB / 0.6829 GB, free: 8.945 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.2009, allocations: 0 / 0.6829 GB, free: 8.945 MB / 0.5137 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0005298/0.2015, allocations: 333 kB / 0.6832 GB, free: 8.613 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.493e-05/0.2015, allocations: 8 kB / 0.6832 GB, free: 8.605 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/0.2015, allocations: 3.938 kB / 0.6832 GB, free: 8.602 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.685e-05/0.2015, allocations: 7.984 kB / 0.6832 GB, free: 8.594 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.393e-06/0.2015, allocations: 0 / 0.6832 GB, free: 8.594 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.414e-06/0.2015, allocations: 4 kB / 0.6832 GB, free: 8.59 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001486/0.2017, allocations: 51.73 kB / 0.6833 GB, free: 8.539 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.838e-06/0.2017, allocations: 4 kB / 0.6833 GB, free: 8.535 MB / 0.5137 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.0002606/0.2019, allocations: 237.1 kB / 0.6835 GB, free: 8.293 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.24e-05/0.202, allocations: 128.7 kB / 0.6836 GB, free: 8.16 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.416e-05/0.2021, allocations: 118.9 kB / 0.6837 GB, free: 8.035 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.856e-05/0.2022, allocations: 184.2 kB / 0.6839 GB, free: 7.848 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.843e-05/0.2023, allocations: 180.3 kB / 0.6841 GB, free: 7.664 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.624e-05/0.2023, allocations: 176.3 kB / 0.6843 GB, free: 7.484 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003183/0.2027, allocations: 477.1 kB / 0.6847 GB, free: 6.961 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.802e-05/0.2027, allocations: 105 kB / 0.6848 GB, free: 6.852 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.438e-05/0.2028, allocations: 112.9 kB / 0.6849 GB, free: 6.734 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.688e-05/0.2028, allocations: 188.3 kB / 0.6851 GB, free: 6.543 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.97e-05/0.2029, allocations: 184.2 kB / 0.6853 GB, free: 6.355 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.926e-05/0.203, allocations: 180.2 kB / 0.6854 GB, free: 6.172 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.673e-05/0.2031, allocations: 176.5 kB / 0.6856 GB, free: 5.992 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001735/0.2032, allocations: 335.6 kB / 0.6859 GB, free: 5.641 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001208/0.2033, allocations: 201.9 kB / 0.6861 GB, free: 5.418 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001012/0.2034, allocations: 188.1 kB / 0.6863 GB, free: 5.227 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001392/0.2036, allocations: 101 kB / 0.6864 GB, free: 5.121 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.208e-05/0.2037, allocations: 188.1 kB / 0.6866 GB, free: 4.93 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.19e-05/0.2037, allocations: 105 kB / 0.6867 GB, free: 4.82 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0002756/0.204, allocations: 279.1 kB / 0.6869 GB, free: 4.551 MB / 0.5137 GB Notification: Performance of sort global known variables: time 8.1e-08/0.204, allocations: 0 / 0.6869 GB, free: 4.551 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003935/0.2044, allocations: 83.92 kB / 0.687 GB, free: 4.469 MB / 0.5137 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.0003823/0.2048, allocations: 313.5 kB / 0.6873 GB, free: 4.156 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002084/0.205, allocations: 119.8 kB / 0.6874 GB, free: 4.039 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.205, allocations: 0 / 0.6874 GB, free: 4.039 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 1.623e-06/0.205, allocations: 4 kB / 0.6874 GB, free: 4.035 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004619/0.2054, allocations: 465.6 kB / 0.6879 GB, free: 3.578 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006778/0.2061, allocations: 0.5014 MB / 0.6884 GB, free: 3.051 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004481/0.2066, allocations: 0.7743 MB / 0.6891 GB, free: 2.25 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 1.235e-05/0.2066, allocations: 3.984 kB / 0.6891 GB, free: 2.246 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.452e-05/0.2066, allocations: 15.38 kB / 0.6892 GB, free: 2.23 MB / 0.5137 GB Notification: Performance of SimCode: time 2.71e-07/0.2066, allocations: 0 / 0.6892 GB, free: 2.23 MB / 0.5137 GB Notification: Performance of Templates: time 0.007087/0.2137, allocations: 3.082 MB / 0.6922 GB, free: 15.14 MB / 0.5294 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_med.makefile [Timeout 660] (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 & ./IBPSA_latest_IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_med -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe 2>&1) [Timeout 480]